(()=>{"use strict";var e,t,r={357(e,t,r){r.d(t,{A:()=>i});var o=r(609),n=r(723),a=r(790);class s extends o.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}render(){return this.state.errorInfo?(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{style:{color:"rgb(211, 79, 86)",fontWeight:"bold"},children:(0,n.__)("Something went wrong.")}),(0,a.jsxs)("details",{style:{whiteSpace:"pre-wrap"},children:[this.state.error&&this.state.error.toString(),(0,a.jsx)("br",{}),this.state.errorInfo.componentStack]})]}):this.props.children}}const i=s},575(e,t,r){r.d(t,{A:()=>a}),r(609);var o=r(723),n=r(790);const a=()=>(0,n.jsxs)("span",{children:[(0,o.__)("Loading","product-condition-manager-for-woocommerce"),"..."]})},594(e,t,r){r.d(t,{A:()=>o});const o=window.hulk_woo_pcm_settings},338(e,t,r){var o=r(795);t.H=o.createRoot,o.hydrateRoot},609(e){e.exports=window.React},795(e){e.exports=window.ReactDOM},790(e){e.exports=window.ReactJSXRuntime},427(e){e.exports=window.wp.components},87(e){e.exports=window.wp.element},723(e){e.exports=window.wp.i18n},573(e){e.exports=window.wp.primitives}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.m=r,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>e+"."+{148:"e8a48544b7d767988adf",574:"622c44eee4e88eb3c6c2",699:"3a84c7e96faba4e2bc4a",702:"afbfb506430b152ce994",929:"45793adbccecc544a049"}[e]+".js",n.miniCssF=e=>{},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="hulk-plugins-[name]:",n.l=(r,o,a,s)=>{if(e[r])e[r].push(o);else{var i,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var p=c[d];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",n.nc&&i.setAttribute("nonce",n.nc),i.setAttribute("data-webpack",t+a),i.src=r),e[r]=[o];var u=(t,o)=>{i.onerror=i.onload=null,clearTimeout(h);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),l&&document.head.appendChild(i)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={57:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise((r,n)=>o=e[t]=[r,n]);r.push(o[2]=a);var s=n.p+n.u(t),i=new Error;n.l(s,r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+s+")",i.name="ChunkLoadError",i.type=a,i.request=s,o[1](i)}},"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[s,i,l]=r,c=0;if(s.some(t=>0!==e[t])){for(o in i)n.o(i,o)&&(n.m[o]=i[o]);l&&l(n)}for(t&&t(r);c<s.length;c++)a=s[c],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis["webpackChunk_[name]"]=globalThis["webpackChunk_[name]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var a=n(609),s=n(338),i=n(594),l=n(357),c=n(575),d=n(790);const p=(0,a.lazy)(()=>n.e(148).then(n.bind(n,148))),u=(0,a.lazy)(()=>n.e(929).then(n.bind(n,929))),h=(0,a.lazy)(()=>n.e(574).then(n.bind(n,574))),m=i.A.appName,f=()=>(0,d.jsxs)(l.A,{children:["AdminSettings"===m&&(0,d.jsx)(a.Suspense,{fallback:(0,d.jsx)(c.A,{}),children:(0,d.jsx)(p,{})}),"ProductDataMetaSettings"===m&&(0,d.jsx)(a.Suspense,{fallback:(0,d.jsx)(c.A,{}),children:(0,d.jsx)(u,{})}),"ProductQuickEditMetaSettings"===m&&(0,d.jsx)(a.Suspense,{fallback:(0,d.jsx)(c.A,{}),children:(0,d.jsx)(h,{})})]}),b=document.getElementById("hulk_woo_pcm_settings");b&&(0,s.H)(b).render((0,d.jsx)(f,{}))})();