← Back
Editing: 3590.js
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[3590],{89:(n,t,e)=>{function r(n,t){const e={};for(const r in n){const o=n[r];if(t?.hasOwnProperty(r)){const n=t[r](o);null!=n&&Object.assign(e,n);continue}!0===o?e[`data-${r.toLowerCase()}`]="":o&&(e[`data-${r.toLowerCase()}`]=o.toString())}return e}e.d(t,{v:()=>r})},48690:(n,t,e)=>{e.d(t,{o:()=>p});var r=e(69579),o=e(51609),c=e(52424),u=e(50707),s=e(65789),a=e(34984),l=e(89),f=e(41343),i=e(15841),d=e(72194);function p(n,t,e={}){let p=t.render;!1!==e.enabled&&(p=function(n){if(n?.$$typeof!==y)return n;const t=o.Children.toArray(n)[0];return o.isValidElement(t)?t:n}(p));const b=function(n,t,e){const{className:r,style:o}=n,{state:p=a.t0,ref:y,props:b,stateAttributesMapping:v,enabled:h=!0}=t,m=h?(0,f.S)(r,p):void 0,g=h?(0,i.m)(o,p):void 0,k=h?(0,l.v)(p,v):a.t0,w=h&&b?function(n){return Array.isArray(n)?(0,d.lZ)(n):(0,d.v6)(void 0,n)}(b):void 0,A=h?(0,s.r)(k,w)??{}:a.t0;return"undefined"!=typeof document&&(h?Array.isArray(y)?A.ref=(0,c.U)([A.ref,(0,u.v)(e),...y]):A.ref=(0,c.a)(A.ref,(0,u.v)(e),y):(0,c.a)(null,null)),h?(void 0!==m&&(A.className=(0,d.VN)(A.className,m)),void 0!==g&&(A.style=(0,s.r)(A.style,g)),A):a.t0}(t,e,p);return!1===e.enabled?null:function(n,t,e,c){if(t){if("function"==typeof t)return t(e,c);const n=(0,d.v6)(e,t.props);return n.ref=e.ref,o.cloneElement(t,n)}if(n&&"string"==typeof n)return function(n,t){return"button"===n?(0,o.createElement)("button",{type:"button",...t,key:t.key}):"img"===n?(0,o.createElement)("img",{alt:"",...t,key:t.key}):o.createElement(n,t)}(n,e);throw new Error((0,r.A)(8))}(n,p,b,e.state??a.t0)}const y=Symbol.for("react.lazy")},72194:(n,t,e)=>{e.d(t,{PT:()=>y,VN:()=>b,lZ:()=>u,v6:()=>c});var r=e(65789);const o={};function c(n,t,e,r,o){if(!(e||r||o||n))return s(t);let c=s(n);return t&&(c=a(c,t)),e&&(c=a(c,e)),r&&(c=a(c,r)),o&&(c=a(c,o)),c}function u(n){if(0===n.length)return o;if(1===n.length)return s(n[0]);let t=s(n[0]);for(let e=1;e<n.length;e+=1)t=a(t,n[e]);return t}function s(n){return f(n)?{...i(n,o)}:function(n){const t={...n};for(const n in t){const e=t[n];l(n,e)&&(t[n]=p(e))}return t}(n)}function a(n,t){return f(t)?i(t,n):function(n,t){if(!t)return n;for(const e in t){const o=t[e];switch(e){case"style":n[e]=(0,r.r)(n.style,o);break;case"className":n[e]=b(n.className,o);break;default:l(e,o)?n[e]=d(n[e],o):n[e]=o}}return n}(n,t)}function l(n,t){const e=n.charCodeAt(0),r=n.charCodeAt(1),o=n.charCodeAt(2);return 111===e&&110===r&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}function f(n){return"function"==typeof n}function i(n,t){return f(n)?n(t):n??o}function d(n,t){return t?n?(...e)=>{const r=e[0];if(v(r)){const o=r;y(o);const c=t(...e);return o.baseUIHandlerPrevented||n?.(...e),c}const o=t(...e);return n?.(...e),o}:p(t):n}function p(n){return n?(...t)=>{const e=t[0];return v(e)&&y(e),n(...t)}:n}function y(n){return n.preventBaseUIHandler=()=>{n.baseUIHandlerPrevented=!0},n}function b(n,t){return t?n?t+" "+n:t:n}function v(n){return null!=n&&"object"==typeof n&&"nativeEvent"in n}},13590:(n,t,e)=>{e.d(t,{C:()=>o});var r=e(48690);function o(n){return(0,r.o)(n.defaultTagName??"div",n,n)}},41343:(n,t,e)=>{function r(n,t){return"function"==typeof n?n(t):n}e.d(t,{S:()=>r})},15841:(n,t,e)=>{function r(n,t){return"function"==typeof n?n(t):n}e.d(t,{m:()=>r})},34984:(n,t,e)=>{function r(){}e.d(t,{Ml:()=>o,t0:()=>c,tE:()=>r});const o=Object.freeze([]),c=Object.freeze({})},69579:(n,t,e)=>{e.d(t,{A:()=>r});const r=function(n,...t){const e=new URL("https://base-ui.com/production-error");return e.searchParams.set("code",n.toString()),t.forEach(n=>e.searchParams.append("args[]",n)),`Base UI error #${n}; visit ${e} for the full message.`}},50707:(n,t,e)=>{e.d(t,{v:()=>c});var r=e(51609),o=e(37026);function c(n){if(!r.isValidElement(n))return null;const t=n,e=t.props;return((0,o._)(19)?e?.ref:t.ref)??null}},65789:(n,t,e)=>{function r(n,t){return n&&!t?n:!n&&t?t:n||t?{...n,...t}:void 0}e.d(t,{r:()=>r})},37026:(n,t,e)=>{e.d(t,{_:()=>c});var r=e(51609);const o=parseInt(r.version,10);function c(n){return o>=n}},52424:(n,t,e)=>{e.d(t,{U:()=>c,a:()=>o});var r=e(25427);function o(n,t,e,o){const c=(0,r.j)(u).current;return function(n,t,e,r,o){return n.refs[0]!==t||n.refs[1]!==e||n.refs[2]!==r||n.refs[3]!==o}(c,n,t,e,o)&&s(c,[n,t,e,o]),c.callback}function c(n){const t=(0,r.j)(u).current;return function(n,t){return n.refs.length!==t.length||n.refs.some((n,e)=>n!==t[e])}(t,n)&&s(t,n),t.callback}function u(){return{callback:null,cleanup:null,refs:[]}}function s(n,t){n.refs=t,t.every(n=>null==n)?n.callback=null:n.callback=e=>{if(n.cleanup&&(n.cleanup(),n.cleanup=null),null!=e){const r=Array(t.length).fill(null);for(let n=0;n<t.length;n+=1){const o=t[n];if(null!=o)switch(typeof o){case"function":{const t=o(e);"function"==typeof t&&(r[n]=t);break}case"object":o.current=e}}n.cleanup=()=>{for(let n=0;n<t.length;n+=1){const e=t[n];if(null!=e)switch(typeof e){case"function":{const t=r[n];"function"==typeof t?t():e(null);break}case"object":e.current=null}}}}}}},25427:(n,t,e)=>{e.d(t,{j:()=>c});var r=e(51609);const o={};function c(n,t){const e=r.useRef(o);return e.current===o&&(e.current=n(t)),e}}}]);
Save File
Cancel