Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
wp-admin-scripts
:
settings-embed.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/*! For license information please see settings-embed.js.LICENSE.txt */ (()=>{var e,t,n,i,o={64218:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(39793),o=n(4921),s=n(76748),r=n(822),c=n(51609);function a(e){return"undefined"!=typeof window&&new URL(e,window.location.href).origin!==window.location.origin}const u=c.memo(c.forwardRef((e,t)=>{const{size:n=24,icon:u,className:l,title:M,...d}=e,g=n%18==0,j=function(e){const[t,n]=c.useState(()=>a(e)?void 0:e);return c.useEffect(()=>{a(e)?(n(void 0),fetch(e).then(e=>e.blob()).then(e=>{const t=URL.createObjectURL(e);n(t)}).catch(()=>{})):n(e)},[e]),t}(r),m=`gridicons-${u}`,L=(0,o.A)("gridicon",m,l,{"needs-offset":g&&s.iconsThatNeedOffset.includes(m),"needs-offset-x":g&&s.iconsThatNeedOffsetX.includes(m),"needs-offset-y":g&&s.iconsThatNeedOffsetY.includes(m)});return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:L,height:n,width:n,ref:t,...d,children:[M&&(0,i.jsx)("title",{children:M}),j&&(0,i.jsx)("use",{xlinkHref:`${j}#${m}`})]})}));u.displayName="Gridicon";const l=u},85703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(51609),o=n(70226);function s(e,t){let n,o,r=[];for(let i=0;i<e.length;i++){const s=e[i];if("string"!==s.type){if(void 0===t[s.value])throw new Error(`Invalid interpolation, missing component node: \`${s.value}\``);if("object"!=typeof t[s.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${s.value}\``);if("componentClose"===s.type)throw new Error(`Missing opening component token: \`${s.value}\``);if("componentOpen"===s.type){n=t[s.value],o=i;break}r.push(t[s.value])}else r.push(s.value)}if(n){const c=function(e,t){const n=t[e];let i=0;for(let o=e+1;o<t.length;o++){const e=t[o];if(e.value===n.value){if("componentOpen"===e.type){i++;continue}if("componentClose"===e.type){if(0===i)return o;i--}}}throw new Error("Missing closing component token `"+n.value+"`")}(o,e),a=s(e.slice(o+1,c),t),u=(0,i.cloneElement)(n,{},a);if(r.push(u),c<e.length-1){const n=s(e.slice(c+1),t);r=r.concat(n)}}return r=r.filter(Boolean),0===r.length?null:1===r.length?r[0]:(0,i.createElement)(i.Fragment,null,...r)}function r(e){const{mixedString:t,components:n,throwErrors:i}=e;if(!n)return t;if("object"!=typeof n){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const r=(0,o.A)(t);try{return s(r,n)}catch(e){if(i)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},70226:(e,t,n)=>{"use strict";function i(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function o(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(i)}n.d(t,{A:()=>o})},11789:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(86087),o=(0,i.forwardRef)(({icon:e,size:t=24,...n},o)=>(0,i.cloneElement)(e,{width:t,height:t,...n,ref:o}))},54331:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(39793),o=n(5573),s=(0,i.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(o.Path,{d:"M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM12.75 8V13H11.25V8H12.75ZM12.75 14.5V16H11.25V14.5H12.75Z"})})},29471:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(39793),o=n(5573),s=(0,i.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(o.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})})},63992:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(39793);const o=({className:e="",percent:t=0,color:n="#674399",bgcolor:o="var(--wp-admin-theme-color)"})=>{const s={backgroundColor:o},r={backgroundColor:n,width:`${t}%`,display:0===t?"none":"inherit"};return(0,i.jsx)("div",{className:`woocommerce-onboarding-progress-bar ${e}`,children:(0,i.jsx)("div",{className:"woocommerce-onboarding-progress-bar__container",style:s,children:(0,i.jsx)("div",{className:"woocommerce-onboarding-progress-bar__filler",style:r})})})}},14791:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var i=n(4921),o=n(86087),s=n(63992),r=n(39793);const c=({children:e,className:t})=>(0,r.jsx)("div",{className:(0,i.A)("woocommerce-onboarding-loader",t),children:e});c.Layout=({children:e,className:t})=>(0,r.jsx)("div",{className:(0,i.A)("woocommerce-onboarding-loader-wrapper",t),children:(0,r.jsx)("div",{className:(0,i.A)("woocommerce-onboarding-loader-container",t),children:e})}),c.Illustration=({children:e})=>(0,r.jsx)(r.Fragment,{children:e}),c.Title=({children:e,className:t})=>(0,r.jsx)("h1",{className:(0,i.A)("woocommerce-onboarding-loader__title",t),children:e}),c.ProgressBar=({progress:e,className:t})=>(0,r.jsx)(s.A,{className:(0,i.A)("progress-bar",t),percent:e??0,color:"var(--wp-admin-theme-color)",bgcolor:"#E0E0E0"}),c.Subtext=({children:e,className:t})=>(0,r.jsx)("p",{className:(0,i.A)("woocommerce-onboarding-loader__paragraph",t),children:e}),c.Sequence=({interval:e,shouldLoop:t=!0,children:n,onChange:i=()=>{}})=>{const[s,c]=(0,o.useState)(0),a=o.Children.count(n);(0,o.useEffect)(()=>{const n=setInterval(()=>{c(e=>{const o=e+1;if(t){const e=o%a;return i(e),e}return o<a?(i(o),o):(clearInterval(n),e)})},e);return()=>clearInterval(n)},[e,n,t,a]);const u=o.Children.toArray(n)[s];return(0,r.jsx)(r.Fragment,{children:u})}},75765:(e,t,n)=>{"use strict";n.d(t,{L:()=>z});var i=n(51609),o=n(56427),s=n(68854),r=n(75933),c=n(54728),a=n(3868),u=n(58339),l=n(89098),M=n(13150),d=n(55342),g=n(88e3),j=n(24702),m=n(72762),L=n(25102),N=n(98607),y=n(29366),I=n(8180),p=n(92510),h=n(30978),w=n(16243),D=n(64090),x=n(76469),S=n(5413),A=n(39793);const f=[{name:"visa",src:s},{name:"mastercard",src:r},{name:"amex",src:c,background:"#006FCF"},{name:"discover",src:a},{name:"woopay",src:L,background:"#873EFF"},{name:"applepay",src:u},{name:"googlepay",src:l},{name:"afterpay",src:N,background:"#B2FCE4"},{name:"affirm",src:y},{name:"klarna",src:I,background:"#FFA8CD"},{name:"cartebancaire",src:d,background:"linear-gradient(30deg, #2E2E79 0%, #2581C4 25%, #E6D6DB 50%, #E3756A 75%, #C90C0F 100%)"},{name:"unionpay",src:g},{name:"diners",src:j},{name:"eftpos",src:m,background:"rgba(31, 0, 56, 1)"},{name:"jcb",src:M,background:"rgba(14, 76, 150, 1)"},{name:"bancontact",src:h},{name:"becs",src:D},{name:"eps",src:w},{name:"ideal",src:p},{name:"przelewy24",src:x},{name:"grabpay",src:S}],T=e=>(0,A.jsx)("img",{src:e.src,alt:"",width:e.background?40:38,height:e.background?26:24,className:e.background?"has-background":void 0,style:e.background?{background:e.background}:void 0,loading:"lazy"},e.name),z=({isWooPayEligible:e=!1,maxElements:t=10,tabletWidthBreakpoint:n=768,maxElementsTablet:s=7,mobileWidthBreakpoint:r=480,maxElementsMobile:c=5,totalPaymentMethods:a=21})=>{const[u,l]=(0,i.useState)(t),[M,d]=(0,i.useState)(!1),g=(0,i.useRef)(null),j=e=>{const t=e.target.closest(".woocommerce-woopayments-payment-methods-logos-count");g.current&&t!==g.current||d(e=>!e)},m=e=>{"Escape"===e.key&&M?(e.stopPropagation(),d(!1),g.current?.focus()):"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),j(e))};(0,i.useEffect)(()=>{if(!M)return;const e=e=>{"Escape"===e.key&&(e.stopPropagation(),d(!1),g.current?.focus())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[M]);const L=e?a:a-1,N=t=>e?t:t+1;(0,i.useEffect)(()=>{const e=()=>{window.innerWidth<=r?l(c):window.innerWidth<=n?l(s):l(t)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[t,c,s,n,r]);const y=f.slice(0,N(u)).filter(t=>e||"woopay"!==t.name),I=f.slice(N(u)).filter(t=>e||"woopay"!==t.name);return(0,A.jsxs)("div",{className:"woocommerce-woopayments-payment-methods-logos",children:[y.map(T),u<L&&(0,A.jsxs)("div",{className:"woocommerce-woopayments-payment-methods-logos-count",role:"button",tabIndex:0,ref:g,onClick:j,onKeyDown:m,children:["+ ",L-u,M&&(0,A.jsx)(o.Popover,{className:"woocommerce-woopayments-payment-methods-logos-popover",placement:"top-start",offset:4,variant:"unstyled",focusOnMount:!0,noArrow:!0,shift:!0,onFocusOutside:()=>{d(!1)},onKeyDown:m,children:(0,A.jsx)("div",{className:"woocommerce-woopayments-payment-methods-logos",children:I.map(T)})})]})]})}},11105:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>j.a,WCPayBanner:()=>g,WCPayBannerBody:()=>d,WCPayBannerFooter:()=>l,WooPaymentsMethodsLogos:()=>u.L});var i=n(39793);const o=()=>(0,i.jsxs)("svg",{width:"294",height:"275",viewBox:"0 0 294 275",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_255_63852)",children:[(0,i.jsx)("path",{d:"M0.5 10C0.5 4.47716 4.97715 0 10.5 0H725.5C731.023 0 735.5 4.47715 735.5 10V332H0.5V10Z",fill:"#F6F7F7"}),(0,i.jsx)("circle",{cx:"17.5",cy:"14",r:"5",fill:"#D94F4F"}),(0,i.jsx)("circle",{cx:"35.5",cy:"14",r:"5",fill:"#F0B849"}),(0,i.jsx)("circle",{cx:"53.5",cy:"14",r:"5",fill:"#4AB866"}),(0,i.jsx)("rect",{x:"3.5",y:"28",width:"287",height:"304",fill:"white"}),(0,i.jsx)("line",{x1:"27.5",y1:"95.5",x2:"270.5",y2:"95.5",stroke:"#DCDCDE"}),(0,i.jsx)("line",{x1:"49.5",y1:"157.5",x2:"253.5",y2:"157.5",stroke:"#DCDCDE"}),(0,i.jsx)("line",{x1:"49.5",y1:"198.5",x2:"253.5",y2:"198.5",stroke:"#DCDCDE"}),(0,i.jsx)("rect",{x:"28",y:"116.5",width:"242",height:"127",rx:"9.5",stroke:"#DCDCDE"}),(0,i.jsx)("path",{d:"M50.3984 135.954V143H52.8154C54.9102 143 56.1406 141.696 56.1406 139.475C56.1406 137.258 54.9053 135.954 52.8154 135.954H50.3984ZM51.2773 136.745H52.7568C54.3193 136.745 55.2422 137.761 55.2422 139.484C55.2422 141.203 54.3291 142.209 52.7568 142.209H51.2773V136.745ZM61.043 141.638C60.8232 142.102 60.3643 142.351 59.6855 142.351C58.792 142.351 58.2109 141.691 58.167 140.651V140.612H61.9512V140.29C61.9512 138.654 61.0869 137.644 59.666 137.644C58.2207 137.644 57.293 138.718 57.293 140.373C57.293 142.038 58.2061 143.093 59.666 143.093C60.8184 143.093 61.6387 142.536 61.8828 141.638H61.043ZM59.6562 138.386C60.4912 138.386 61.0479 139.001 61.0674 139.934H58.167C58.2305 139.001 58.8164 138.386 59.6562 138.386ZM65.833 137.644C65.1152 137.644 64.4854 138.01 64.1484 138.615H64.0703V137.736H63.2695V144.758H64.1094V142.209H64.1875C64.4756 142.766 65.0811 143.093 65.833 143.093C67.1709 143.093 68.0449 142.014 68.0449 140.368C68.0449 138.713 67.1758 137.644 65.833 137.644ZM65.6328 142.336C64.6855 142.336 64.085 141.574 64.085 140.368C64.085 139.157 64.6855 138.4 65.6377 138.4C66.5996 138.4 67.1758 139.138 67.1758 140.368C67.1758 141.599 66.5996 142.336 65.6328 142.336ZM71.5264 143.093C73.0254 143.093 73.9531 142.058 73.9531 140.368C73.9531 138.674 73.0254 137.644 71.5264 137.644C70.0273 137.644 69.0996 138.674 69.0996 140.368C69.0996 142.058 70.0273 143.093 71.5264 143.093ZM71.5264 142.336C70.5303 142.336 69.9688 141.613 69.9688 140.368C69.9688 139.118 70.5303 138.4 71.5264 138.4C72.5225 138.4 73.084 139.118 73.084 140.368C73.084 141.613 72.5225 142.336 71.5264 142.336ZM75.1494 139.177C75.1494 139.938 75.5986 140.363 76.585 140.603L77.4883 140.822C78.0498 140.959 78.3232 141.203 78.3232 141.564C78.3232 142.048 77.8154 142.385 77.1074 142.385C76.4336 142.385 76.0137 142.102 75.8721 141.657H75.0078C75.1006 142.531 75.9062 143.093 77.0781 143.093C78.2744 143.093 79.1875 142.443 79.1875 141.501C79.1875 140.744 78.709 140.314 77.7178 140.075L76.9072 139.88C76.2871 139.729 75.9941 139.504 75.9941 139.143C75.9941 138.674 76.4824 138.356 77.1074 138.356C77.7422 138.356 78.1523 138.635 78.2646 139.055H79.0947C78.9824 138.19 78.2158 137.644 77.1123 137.644C75.9941 137.644 75.1494 138.303 75.1494 139.177ZM80.9453 136.721C81.2676 136.721 81.5312 136.457 81.5312 136.135C81.5312 135.812 81.2676 135.549 80.9453 135.549C80.623 135.549 80.3594 135.812 80.3594 136.135C80.3594 136.457 80.623 136.721 80.9453 136.721ZM80.5254 143H81.3652V137.736H80.5254V143ZM83.3184 136.374V137.736H82.4688V138.439H83.3184V141.633C83.3184 142.639 83.7529 143.039 84.8369 143.039C85.0029 143.039 85.1641 143.02 85.3301 142.99V142.282C85.1738 142.297 85.0908 142.302 84.9395 142.302C84.3926 142.302 84.1582 142.038 84.1582 141.418V138.439H85.3301V137.736H84.1582V136.374H83.3184Z",fill:"#2C3338"}),(0,i.jsx)("path",{d:"M126.459 143.708H127.045V142.863C128.197 142.775 129.154 142.136 129.154 140.959C129.154 139.934 128.451 139.416 127.196 139.113L127.045 139.079V136.857C127.704 136.94 128.173 137.326 128.236 137.985H129.086C129.052 136.906 128.173 136.193 127.045 136.091V135.246H126.459V136.096C125.302 136.198 124.477 136.892 124.477 137.941C124.477 138.903 125.131 139.445 126.347 139.738L126.459 139.768V142.097C125.614 142.004 125.238 141.54 125.15 140.93H124.301C124.335 142.067 125.297 142.756 126.459 142.858V143.708ZM125.326 137.883C125.326 137.409 125.717 136.96 126.459 136.862V138.938C125.619 138.732 125.326 138.361 125.326 137.883ZM127.074 139.914C128.041 140.148 128.305 140.49 128.305 141.027C128.305 141.589 127.953 142.033 127.045 142.102V139.909L127.074 139.914ZM132.25 139.753H133.124C134.115 139.753 134.726 140.261 134.726 141.076C134.726 141.867 134.066 142.399 133.139 142.399C132.23 142.399 131.596 141.926 131.518 141.184H130.668C130.731 142.38 131.718 143.166 133.148 143.166C134.55 143.166 135.629 142.282 135.629 141.101C135.629 140.119 135.023 139.499 134.11 139.353V139.274C134.833 139.064 135.36 138.503 135.365 137.653C135.37 136.667 134.569 135.788 133.178 135.788C131.752 135.788 130.878 136.633 130.79 137.78H131.645C131.718 136.989 132.27 136.555 133.119 136.555C133.969 136.555 134.472 137.092 134.472 137.751C134.472 138.483 133.896 139.001 133.085 139.001H132.25V139.753ZM139.384 143.166C140.824 143.166 141.806 142.17 141.806 140.72C141.806 139.323 140.829 138.396 139.647 138.396C138.944 138.396 138.422 138.61 138.08 139.035H138.002L138.222 136.74H141.444V135.954H137.533L137.128 139.982H137.953C138.231 139.46 138.759 139.152 139.428 139.152C140.316 139.152 140.927 139.792 140.927 140.744C140.927 141.73 140.316 142.395 139.394 142.395C138.563 142.395 137.958 141.892 137.88 141.14H137.016C137.094 142.346 138.051 143.166 139.384 143.166ZM143.188 137.941H144.037C144.037 137.106 144.599 136.555 145.443 136.555C146.273 136.555 146.776 137.111 146.776 137.858C146.776 138.479 146.513 138.845 145.614 139.816L143.231 142.395V143H147.792V142.209H144.452V142.131L146.054 140.476C147.323 139.162 147.675 138.576 147.675 137.766C147.675 136.623 146.732 135.788 145.502 135.788C144.154 135.788 143.188 136.687 143.188 137.941ZM149.828 143.049C150.18 143.049 150.463 142.761 150.463 142.414C150.463 142.062 150.18 141.779 149.828 141.779C149.481 141.779 149.193 142.062 149.193 142.414C149.193 142.761 149.481 143.049 149.828 143.049ZM153.959 143.161C155.683 143.161 156.669 141.774 156.669 139.353C156.669 136.955 155.536 135.788 154.018 135.788C152.572 135.788 151.547 136.799 151.547 138.215C151.547 139.582 152.519 140.573 153.861 140.573C154.701 140.573 155.39 140.173 155.736 139.489H155.814C155.766 141.364 155.116 142.38 153.969 142.38C153.275 142.38 152.738 141.994 152.553 141.359H151.649C151.869 142.468 152.763 143.161 153.959 143.161ZM154.018 139.812C153.085 139.812 152.436 139.147 152.436 138.186C152.436 137.263 153.124 136.56 154.027 136.56C154.931 136.56 155.619 137.272 155.619 138.215C155.619 139.147 154.95 139.812 154.018 139.812ZM160.336 143.161C162.06 143.161 163.046 141.774 163.046 139.353C163.046 136.955 161.913 135.788 160.395 135.788C158.949 135.788 157.924 136.799 157.924 138.215C157.924 139.582 158.896 140.573 160.238 140.573C161.078 140.573 161.767 140.173 162.113 139.489H162.191C162.143 141.364 161.493 142.38 160.346 142.38C159.652 142.38 159.115 141.994 158.93 141.359H158.026C158.246 142.468 159.14 143.161 160.336 143.161ZM160.395 139.812C159.462 139.812 158.812 139.147 158.812 138.186C158.812 137.263 159.501 136.56 160.404 136.56C161.308 136.56 161.996 137.272 161.996 138.215C161.996 139.147 161.327 139.812 160.395 139.812Z",fill:"#2C3338"}),(0,i.jsx)("rect",{x:"196",y:"132",width:"43",height:"14",rx:"7",fill:"#B8E6BF"}),(0,i.jsx)("path",{d:"M209.719 136.363V142H210.422V139.988H211.84C212.898 139.988 213.652 139.242 213.652 138.188C213.652 137.113 212.914 136.363 211.848 136.363H209.719ZM210.422 136.988H211.664C212.48 136.988 212.93 137.414 212.93 138.188C212.93 138.934 212.465 139.363 211.664 139.363H210.422V136.988ZM215.734 142.074C216.297 142.074 216.758 141.828 217.031 141.379H217.094V142H217.734V139.117C217.734 138.242 217.16 137.715 216.133 137.715C215.234 137.715 214.57 138.16 214.48 138.836H215.16C215.254 138.504 215.605 138.312 216.109 138.312C216.738 138.312 217.062 138.598 217.062 139.117V139.5L215.848 139.574C214.867 139.633 214.312 140.066 214.312 140.82C214.312 141.59 214.918 142.074 215.734 142.074ZM215.859 141.484C215.371 141.484 215.008 141.234 215.008 140.805C215.008 140.383 215.289 140.16 215.93 140.117L217.062 140.043V140.43C217.062 141.031 216.551 141.484 215.859 141.484ZM219.328 136.977C219.586 136.977 219.797 136.766 219.797 136.508C219.797 136.25 219.586 136.039 219.328 136.039C219.07 136.039 218.859 136.25 218.859 136.508C218.859 136.766 219.07 136.977 219.328 136.977ZM218.992 142H219.664V137.789H218.992V142ZM222.504 142.074C223.086 142.074 223.586 141.797 223.852 141.328H223.914V142H224.555V136.117H223.883V138.453H223.824C223.586 137.992 223.09 137.715 222.504 137.715C221.434 137.715 220.734 138.574 220.734 139.895C220.734 141.219 221.426 142.074 222.504 142.074ZM222.66 138.32C223.422 138.32 223.898 138.93 223.898 139.895C223.898 140.867 223.426 141.469 222.66 141.469C221.891 141.469 221.43 140.879 221.43 139.895C221.43 138.914 221.895 138.32 222.66 138.32Z",fill:"#00450C"}),(0,i.jsx)("rect",{x:"192.5",y:"173",width:"50",height:"10",rx:"5",fill:"#B8E6BF"}),(0,i.jsx)("rect",{x:"49.5",y:"174",width:"50",height:"8",rx:"2",fill:"#DCDCDE"}),(0,i.jsx)("rect",{x:"132.5",y:"170",width:"22.7796",height:"16",rx:"4",fill:"#F6F7F7"}),(0,i.jsx)("path",{d:"M143.507 182.856C144.227 182.856 144.869 182.747 145.435 182.528C146.004 182.305 146.451 181.981 146.774 181.558C147.103 181.129 147.267 180.612 147.267 180.006V179.992C147.267 179.24 147.025 178.659 146.542 178.249C146.063 177.839 145.357 177.529 144.423 177.319L143.404 177.094C142.853 176.966 142.454 176.809 142.208 176.622C141.962 176.435 141.839 176.201 141.839 175.918V175.904C141.839 175.695 141.903 175.508 142.03 175.344C142.158 175.18 142.347 175.05 142.598 174.954C142.848 174.858 143.158 174.811 143.527 174.811C143.855 174.811 144.147 174.861 144.402 174.961C144.658 175.061 144.865 175.209 145.024 175.405C145.184 175.597 145.28 175.836 145.312 176.123L145.318 176.137L147.13 176.13L147.137 176.123C147.114 175.544 146.948 175.043 146.638 174.619C146.332 174.191 145.911 173.86 145.373 173.628C144.84 173.396 144.215 173.279 143.5 173.279C142.816 173.279 142.206 173.391 141.668 173.614C141.13 173.833 140.706 174.15 140.396 174.564C140.087 174.979 139.932 175.476 139.932 176.055V176.068C139.932 176.802 140.169 177.381 140.643 177.805C141.117 178.229 141.8 178.541 142.693 178.741L143.712 178.974C144.332 179.11 144.76 179.27 144.997 179.452C145.239 179.63 145.359 179.878 145.359 180.197V180.211C145.359 180.439 145.291 180.637 145.154 180.806C145.022 180.974 144.822 181.104 144.553 181.195C144.284 181.282 143.944 181.325 143.534 181.325C143.142 181.325 142.812 181.275 142.543 181.175C142.274 181.075 142.062 180.931 141.907 180.744C141.757 180.553 141.659 180.327 141.613 180.067V180.061H139.788L139.781 180.067C139.804 180.664 139.977 181.17 140.301 181.585C140.629 182 141.069 182.316 141.62 182.535C142.176 182.749 142.805 182.856 143.507 182.856ZM143.151 183.971H143.938V172.145H143.151V183.971Z",fill:"#C3C4C7"}),(0,i.jsx)("rect",{x:"192.5",y:"214",width:"50",height:"10",rx:"5",fill:"#B8E6BF"}),(0,i.jsx)("rect",{x:"49.5",y:"215",width:"50",height:"8",rx:"2",fill:"#DCDCDE"}),(0,i.jsx)("rect",{x:"132.5",y:"211",width:"22.7796",height:"16",rx:"4",fill:"#F6F7F7"}),(0,i.jsx)("path",{d:"M145.879 223.856C146.143 223.856 146.403 223.847 146.658 223.829C146.913 223.806 147.13 223.774 147.308 223.733V222.072C147.139 222.104 146.927 222.129 146.672 222.147C146.417 222.161 146.177 222.168 145.954 222.168C145.444 222.168 144.983 222.106 144.573 221.983C144.168 221.856 143.819 221.664 143.527 221.409C143.24 221.149 143.019 220.826 142.864 220.438C142.709 220.051 142.632 219.595 142.632 219.071V219.064C142.632 218.545 142.707 218.091 142.857 217.704C143.012 217.317 143.233 216.995 143.521 216.74C143.812 216.48 144.159 216.287 144.56 216.159C144.961 216.027 145.41 215.961 145.906 215.961C146.148 215.961 146.392 215.972 146.638 215.995C146.884 216.018 147.098 216.048 147.28 216.084V214.437C147.103 214.386 146.879 214.348 146.61 214.32C146.341 214.293 146.082 214.279 145.831 214.279C145.065 214.279 144.364 214.38 143.726 214.58C143.092 214.781 142.543 215.081 142.078 215.482C141.613 215.883 141.253 216.382 140.998 216.979C140.747 217.576 140.622 218.269 140.622 219.058V219.064C140.622 219.857 140.747 220.555 140.998 221.156C141.253 221.753 141.613 222.252 142.078 222.653C142.548 223.05 143.104 223.351 143.746 223.556C144.389 223.756 145.1 223.856 145.879 223.856ZM139.46 220.425H146.542V219.639H139.46V220.425ZM139.46 218.531H146.542V217.745H139.46V218.531Z",fill:"#C3C4C7"}),(0,i.jsx)("path",{fill:"#7F54B3",fillRule:"evenodd",d:"M33.24 50.42H62.2a3.32 3.32 0 0 1 3.31 3.31v11.05a3.32 3.32 0 0 1-3.3 3.3H51.8l1.43 3.5-6.28-3.5H33.23a3.32 3.32 0 0 1-3.3-3.3V53.73c0-1.82 1.48-3.3 3.31-3.3Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",d:"M31.72 53.42c.23-.27.55-.44.91-.45.74-.05 1.16.3 1.27 1.04.45 3.03.94 5.61 1.46 7.73l3.19-6.06c.3-.55.65-.84 1.1-.87.63-.04 1.03.36 1.19 1.23.3 1.7.76 3.36 1.37 4.96.39-3.68 1.02-6.36 1.92-8 .18-.38.54-.62.96-.64.33-.03.66.07.91.29.26.2.42.5.44.84.02.24-.03.49-.14.7-.56 1.05-1.03 2.8-1.4 5.24-.36 2.36-.5 4.22-.4 5.54.03.33-.03.66-.17.95-.14.3-.45.51-.78.53-.38.03-.76-.15-1.14-.53-1.36-1.39-2.43-3.45-3.22-6.19l-2.1 4.2c-.85 1.64-1.59 2.47-2.2 2.52-.39.03-.72-.3-1-1-.74-1.9-1.54-5.57-2.4-11.03-.07-.35.01-.72.23-1ZM62.96 55.7a3.4 3.4 0 0 0-2.32-1.68 3.77 3.77 0 0 0-.8-.08c-1.38 0-2.52.72-3.4 2.17a7.67 7.67 0 0 0-1.13 4.1c0 1.11.23 2.07.7 2.87a3.4 3.4 0 0 0 2.32 1.69c.26.05.52.08.79.08 1.4 0 2.54-.72 3.41-2.17a7.74 7.74 0 0 0 1.13-4.12c0-1.11-.24-2.06-.7-2.85Zm-1.83 4.04c-.2.95-.57 1.67-1.11 2.16-.42.38-.82.53-1.18.47-.35-.08-.64-.39-.85-.94a3.74 3.74 0 0 1-.26-1.33 4.78 4.78 0 0 1 .87-2.8c.49-.7 1-1 1.52-.89.36.08.64.39.86.94.16.43.25.87.25 1.32 0 .36-.03.72-.1 1.07ZM53.86 55.7a3.4 3.4 0 0 0-2.33-1.68 3.76 3.76 0 0 0-.79-.08c-1.39 0-2.53.72-3.41 2.17a7.67 7.67 0 0 0-1.13 4.1c0 1.11.23 2.07.7 2.87a3.4 3.4 0 0 0 2.32 1.69c.26.05.52.08.79.08 1.4 0 2.54-.72 3.41-2.17a7.84 7.84 0 0 0 1.14-4.12c0-1.12-.23-2.07-.7-2.86Zm-1.84 4.04a3.8 3.8 0 0 1-1.1 2.16c-.43.38-.83.53-1.18.47-.36-.08-.64-.39-.86-.94a3.74 3.74 0 0 1-.25-1.33c0-.36.03-.71.1-1.06.14-.62.4-1.2.77-1.73.48-.7.99-1 1.51-.9.36.08.64.39.86.94.16.43.26.87.26 1.32 0 .36-.04.72-.1 1.07Z"}),(0,i.jsx)("path",{fill:"#000",d:"M68.52 54.4h3.36c1.19 0 2.14.27 2.85.84a2.7 2.7 0 0 1 1.07 2.23 2.7 2.7 0 0 1-1.09 2.27c-.72.55-1.73.83-3.02.83h-.47v3.8H68.5v-9.98h.02Zm2.71 1.9v2.35c.61 0 1.07-.1 1.35-.29.29-.19.43-.48.43-.87 0-.44-.14-.74-.42-.9a2.64 2.64 0 0 0-1.36-.29ZM84.24 64.36h-2.82l-.46-1.66h-2.87l-.47 1.66h-2.77l3.17-9.97h3.05l3.17 9.97Zm-3.8-3.46c-.4-1.48-.71-2.9-.91-4.23h-.04c-.21 1.38-.52 2.8-.9 4.23h1.85ZM82.62 54.4h3.04a55.3 55.3 0 0 1 1.47 3.3h.04c.3-.8.79-1.9 1.45-3.3h3.11l-3.2 5.45v4.5h-2.75v-4.5l-3.16-5.46ZM92.58 54.4h3.43c.5 2.15.88 3.99 1.16 5.54l.3-1.54c.11-.6.24-1.19.38-1.76l.53-2.24h3.5l1.36 9.97h-2.7l-.72-6.86-1.67 6.86H96.3l-1.75-6.86-.7 6.86h-2.57l1.29-9.98ZM104.06 54.4h5.5v2.1h-2.78v1.84h2.4v2.07h-2.4v1.82h2.79v2.12h-5.51V54.4ZM110.58 54.4h2.73l3.46 5.74-.1-1.07v-4.68h2.72v9.97h-2.78l-3.38-5.66.07 1.24v4.42h-2.71V54.4h-.01ZM120.1 54.4h6.49v2.27h-1.87v7.7h-2.75v-7.7h-1.85v-2.28h-.01ZM127.7 64.18v-2.33c.86.42 1.58.63 2.17.63.34 0 .61-.07.81-.23.2-.16.3-.37.3-.62 0-.2-.08-.39-.24-.57a4.05 4.05 0 0 0-.82-.63 9 9 0 0 1-2.04-1.66 2.65 2.65 0 0 1-.63-1.73c0-.86.33-1.56.98-2.1a3.8 3.8 0 0 1 2.53-.82c.76 0 1.52.14 2.27.41v2.23a5.08 5.08 0 0 0-1.96-.55c-.34 0-.6.06-.8.2-.19.14-.28.33-.28.57 0 .41.45.88 1.35 1.4.54.32 1.08.75 1.64 1.32a2.68 2.68 0 0 1-.26 4.08c-.72.56-1.63.85-2.74.85-.77-.01-1.53-.16-2.28-.45Z"})]}),(0,i.jsxs)("defs",{children:[(0,i.jsx)("clipPath",{id:"clip0_255_63852",children:(0,i.jsx)("path",{d:"M0.5 0H283.5C289.023 0 293.5 4.47715 293.5 10V275H0.5V0Z",fill:"white"})}),(0,i.jsx)("clipPath",{id:"clip1_255_63852",children:(0,i.jsx)("rect",{width:"120",height:"39.7959",fill:"white",transform:"translate(27.5 45)"})})]})]});var s=n(86087),r=n(27723),c=n(56427),a=n(14908),u=n(75765);const l=({isWooPayEligible:e})=>(0,i.jsxs)(c.CardFooter,{className:"woocommerce-recommended-payments-banner__footer",children:[(0,i.jsx)("div",{children:(0,i.jsx)(a.Text,{variant:"caption",as:"p",size:"12",lineHeight:"16px",children:(0,r.__)("WooPayments is pre-integrated with popular payment options:","woocommerce")})}),(0,i.jsx)(u.L,{isWooPayEligible:e,maxElements:10})]}),M=({actionButton:e})=>(0,i.jsxs)("div",{className:"woocommerce-recommended-payments-banner__text_container",children:[(0,i.jsx)(a.Text,{className:"woocommerce-recommended-payments__header-title",variant:"title.small",as:"p",size:"24",lineHeight:"28px",padding:"0 20px 0 0",children:(0,s.createInterpolateElement)((0,r.__)("Payments made simple, designed exclusively<br/>for WooCommerce stores.","woocommerce"),{br:(0,i.jsx)("br",{})})}),e]}),d=({actionButton:e,textPosition:t,bannerImage:n=(0,i.jsx)(o,{}),isWooPayEligible:s})=>(0,i.jsx)(c.CardBody,{className:"woocommerce-recommended-payments-banner__body",children:"left"===t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(M,{actionButton:e,isWooPayEligible:s}),(0,i.jsx)("div",{className:"woocommerce-recommended-payments-banner__image_container",children:n})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"woocommerce-recommended-payments-banner__image_container",children:n}),(0,i.jsx)(M,{actionButton:e,isWooPayEligible:s})]})}),g=({children:e})=>(0,i.jsx)(c.Card,{size:"medium",className:"woocommerce-recommended-payments-banner",children:e});n(94736),n(83306),n(105);var j=n(14791)},105:(e,t,n)=>{"use strict";n(84343);var i=n(27723);(0,i.__)("Metro Manila","woocommerce"),(0,i.__)("Roma","woocommerce")},75644:(e,t,n)=>{"use strict";n.d(t,{N:()=>d,S:()=>g});var i=n(3582),o=n(47143),s=n(40314),r=n(86087),c=n(1455),a=n.n(c),u=n(22701),l=n(70288);const M=["in_sync","core_updated_uncustomized","core_updated_customized"],d=async e=>{try{return await a()({path:`wc-admin-email/settings/email/listing/recreate-email-post?nonce=${(0,l.Qk)("email_listing_nonce")}`,method:"POST",data:{email_id:e}})}catch(e){const t=e;return console.error("[WooCommerce Admin] Error recreating email post: ",t),null}},g=(e,t)=>{const[n,c]=(0,r.useState)(e),a=(0,r.useMemo)(()=>{const e=new Map;return n.forEach(t=>{e.set(t.id,t.post_id)}),e},[n]),l=Array.from(a.values()).filter(Boolean),g=(0,i.useEntityRecords)("postType","woo_email",{include:l.join(","),per_page:-1,status:"any"},{enabled:l.length>0}),{updateAndPersistSettingsForGroup:j}=(0,o.useDispatch)(s.settingsStore);let m=(0,r.useMemo)(()=>n.map(e=>{const t=a.get(e.id)||"",n=g.records?.find(e=>e.id===parseInt(t,10));let i=e.enabled?"enabled":"disabled";e.manual&&(i="manual");const o=n?.meta,s=o?._wc_email_template_status,r="string"==typeof s&&M.includes(s)?s:null,c=o?._wc_email_template_version,u="string"==typeof c&&c.length>0?c:null,l=o?._wc_email_backfilled,d=!0===l||"1"===l||1===l,j=e.current_version,m="string"==typeof j&&j.length>0?j:null;return{...e,link:n?.link||"",postStatus:n?.status??null,status:i,templateStatus:r,templateVersion:u,currentVersion:m,wasBackfilled:d}}),[n,g,a]);t.sort&&(m=m.sort((e,n)=>{const i=t.sort.field;return void 0===e[i]||void 0===n[i]||"string"!=typeof e[i]||"string"!=typeof n[i]?0:("asc"===t.sort.direction?1:-1)*e[i].localeCompare(n[i])}));let L=[];L=m.filter(e=>!t.search||e.title.toLowerCase().includes(t.search.toLowerCase())),L=L.filter(e=>{const n=t.filters.find(e=>"status"===e.field);return!n||!n.value||n.value.includes(e.status)}),L=L.filter(e=>{const n=t.filters.find(e=>"recipients"===e.field);if(!n||!n.value)return!0;const i=n.value;if(i.includes("customer")&&(!e.recipients.to||0===e.recipients.to.length))return!0;const o=[...e.recipients.to?e.recipients.to.split(",").map(e=>e.trim()).filter(Boolean):[],...e.recipients.cc?e.recipients.cc.split(",").map(e=>e.trim()).filter(Boolean):[],...e.recipients.bcc?e.recipients.bcc.split(",").map(e=>e.trim()).filter(Boolean):[]];return i.some(e=>o.includes(e))}),L=L.filter(e=>{const n=t.filters.find(e=>"updates"===e.field);if(!n||!n.value)return!0;const i=Array.isArray(n.value)?n.value:[n.value],o=(0,u.G)(e)?"available":"none";return i.includes(o)});const N=(t.page-1)*t.perPage,y=N+t.perPage,I=L.slice(N,y),p=(0,r.useCallback)((e,t)=>{const i=[...n],o=i.findIndex(t=>t.id===e);-1!==o&&(i[o].enabled=t,c(i))},[n]),h=(0,r.useCallback)((e,t)=>{if(!t)return;const i=[...n],o=i.findIndex(t=>t.id===e);-1!==o&&(i[o].post_id=t,c(i))},[n]),w=(0,r.useCallback)(async(e,t)=>{p(e,t);try{const n=t?"yes":"no",i=`email_${e}`;(0,o.select)(s.settingsStore).hasFinishedResolution("getSettings",[i])||(await(0,o.select)(s.settingsStore).getSettings(i),await new Promise(e=>{const t=(0,o.subscribe)(()=>{(0,o.select)(s.settingsStore).hasFinishedResolution("getSettings",[i])&&(t(),e(!0))})}));const r={...await(0,o.select)(s.settingsStore).getSettings(i)};r[i].enabled=n,await j(i,r)}catch(n){p(e,!t),console.error(n)}},[n,j]),D=(0,r.useCallback)(async e=>{const t=await d(e);return h(e,t?.post_id||""),t},[h]);return{emails:I,total:L.length,updateEmailEnabledStatus:w,recreateEmailPost:D}}},22701:(e,t,n)=>{"use strict";function i(e){return"core_updated_customized"===e.templateStatus&&(!e.templateVersion||!e.currentVersion||function(e,t){const n=e.split(".").map(e=>parseInt(e,10)||0),i=t.split(".").map(e=>parseInt(e,10)||0),o=Math.max(n.length,i.length);for(let e=0;e<o;e++){const t=(n[e]??0)-(i[e]??0);if(0!==t)return t}return 0}(e.templateVersion,e.currentVersion)<0)}n.d(t,{G:()=>i})},31663:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var i=n(70288);const o=()=>(0,i.Qk)("email_preview_nonce")},91710:(e,t,n)=>{"use strict";n.d(t,{$E:()=>L,yx:()=>m});var i=n(56427),o=n(11789),s=n(29471),r=n(54331),c=n(1455),a=n.n(c),u=n(86087),l=n(27723),M=n(83306),d=n(31663),g=n(39793);const j=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase()),m=(e,t)=>{const[n,i]=(0,u.useState)(""),[o,s]=(0,u.useState)(!1),[r,c]=(0,u.useState)(""),[g,j]=(0,u.useState)("");return{email:n,setEmail:i,isSending:o,setIsSending:s,notice:r,noticeType:g,sendEmail:async()=>{s(!0),c("");try{if("editor"===e.endpoint)await a()({path:"/woocommerce-email-editor/v1/send_preview_email",method:"POST",data:e.postId?{email:n,postId:e.postId}:{email:n,emailType:e.emailTypeId}}),c((0,l.__)("Test email sent successfully!","woocommerce"));else{const t=await a()({path:`wc-admin-email/settings/email/send-preview?nonce=${(0,d.G)()}`,method:"POST",data:{email:n,type:e.emailType}});c(t.message)}j("success"),(0,M.recordEvent)("settings_emails_preview_test_sent_successful",{email_type:e.emailType,source:t})}catch(n){const i=n;c(function(e){const t=e?.code??"",n=e?.message??"";return"rest_cookie_invalid_nonce"===t||"invalid_nonce"===t?(0,l.__)("Your session expired. Refresh the page and try again.","woocommerce"):"rest_invalid_json"===t?(0,l.__)("The server returned unexpected output. Check your error log, or disable recently added plugins.","woocommerce"):n.includes("critical error")?(0,l.__)("A PHP error stopped the send. Check your error log or contact your host.","woocommerce"):"woocommerce_rest_email_preview_not_rendered"===t?(0,l.__)("The email couldn't be rendered. Try resetting the template in Settings → Emails.","woocommerce"):"Could not get a valid response from the server."===n?(0,l.__)("Your server timed out. If it keeps happening, ask your host to check PHP execution limits.","woocommerce"):(0,l.__)("Couldn't send the test email. Check your email settings and try again.","woocommerce")}(i)),j("error"),(0,M.recordEvent)("settings_emails_preview_test_sent_failed",{email_type:e.emailType,error:i?.message??"",error_code:i?.code??"",source:t})}s(!1)}}},L=({email:e,onEmailChange:t,isSending:n,notice:c,noticeType:a,onSend:u,onCancel:M})=>(0,g.jsxs)("form",{onSubmit:t=>{t.preventDefault(),j(e)&&!n&&u()},children:[(0,g.jsx)("p",{children:(0,l.__)("Send yourself a test email to check how your email looks in different email apps.","woocommerce")}),(0,g.jsx)(i.TextControl,{label:(0,l.__)("Send to","woocommerce"),type:"email",value:e,placeholder:(0,l.__)("Enter an email","woocommerce"),onChange:t}),c&&(0,g.jsxs)("div",{role:"error"===a?"alert":"status",className:`wc-settings-email-preview-send-modal-notice wc-settings-email-preview-send-modal-notice-${a}`,children:[(0,g.jsx)(o.A,{icon:"success"===a?s.A:r.A}),(0,g.jsx)("span",{children:c})]}),(0,g.jsxs)("div",{className:"wc-settings-email-preview-send-modal-buttons",children:[(0,g.jsx)(i.Button,{variant:"tertiary",onClick:M,children:(0,l.__)("Cancel","woocommerce")}),(0,g.jsx)(i.Button,{type:"submit",variant:"primary",isBusy:n,disabled:!j(e)||n,children:n?(0,l.__)("Sending…","woocommerce"):(0,l.__)("Send test email","woocommerce")})]})]})},98822:(e,t,n)=>{"use strict";n.d(t,{o:()=>d});var i=n(27723),o=n(56427),s=n(4921),r=n(39793),c=n(5573),a=(0,r.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(c.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})}),u=(0,r.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(c.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})}),l=n(96476),M=n(534);const d=({href:e,tooltipText:t=(0,i.__)("WooCommerce Settings","woocommerce"),isRoute:n=!1,from:c="",children:d})=>(0,r.jsx)(o.Tooltip,{text:t,children:(0,r.jsx)(o.Button,{className:(0,s.A)("woocommerce-settings-payments__back-button",{"woocommerce-settings-payments__back-button--with-label":!!d}),icon:(0,i.isRTL)()?a:u,onClick:()=>{(0,M.TH)("back_button_click",{from:c}),n?(0,l.getHistory)().push(e):window.location.href=e},"aria-label":d?void 0:t,children:d})})},80892:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var i=n(98846),o=n(31559),s=n(39793);const r=({rows:e,hasDragIcon:t=!0})=>{const n=Array.from({length:e}).map(()=>({content:(0,s.jsx)("div",{className:"list-placeholder__content"}),className:"woocommerce-item__payment-gateway-placeholder transitions-disabled",title:(0,s.jsx)("div",{className:"list-placeholder__title"}),after:(0,s.jsx)("div",{className:"list-placeholder__after"}),before:(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(o.Gh,{}),(0,s.jsx)("div",{className:"list-placeholder__before"})]})}));return(0,s.jsx)(i.List,{items:n})}},31559:(e,t,n)=>{"use strict";n.d(t,{Gh:()=>Zt,q6:()=>Ot,Uq:()=>Pt});var i=n(51609),o=n.n(i),s=n(75795);const r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function c(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function a(e){return"nodeType"in e}function u(e){var t,n;return e?c(e)?e:a(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function l(e){const{Document:t}=u(e);return e instanceof t}function M(e){return!c(e)&&e instanceof u(e).HTMLElement}function d(e){return e instanceof u(e).SVGElement}function g(e){return e?c(e)?e.document:a(e)?l(e)?e:M(e)||d(e)?e.ownerDocument:document:document:document}const j=r?i.useLayoutEffect:i.useEffect;function m(e){const t=(0,i.useRef)(e);return j(()=>{t.current=e}),(0,i.useCallback)(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return null==t.current?void 0:t.current(...n)},[])}function L(e,t){void 0===t&&(t=[e]);const n=(0,i.useRef)(e);return j(()=>{n.current!==e&&(n.current=e)},t),n}function N(e,t){const n=(0,i.useRef)();return(0,i.useMemo)(()=>{const t=e(n.current);return n.current=t,t},[...t])}function y(e){const t=m(e),n=(0,i.useRef)(null),o=(0,i.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,o]}function I(e){const t=(0,i.useRef)();return(0,i.useEffect)(()=>{t.current=e},[e]),t.current}let p={};function h(e,t){return(0,i.useMemo)(()=>{if(t)return t;const n=null==p[e]?0:p[e]+1;return p[e]=n,e+"-"+n},[e,t])}function w(e){return function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return i.reduce((t,n)=>{const i=Object.entries(n);for(const[n,o]of i){const i=t[n];null!=i&&(t[n]=i+e*o)}return t},{...t})}}const D=w(1),x=w(-1);function S(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function A(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=u(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const f=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[f.Translate.toString(e),f.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:i}=e;return t+" "+n+"ms "+i}}}),T="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function z(e){return e.matches(T)?e:e.querySelector(T)}const v={display:"none"};function E(e){let{id:t,value:n}=e;return o().createElement("div",{id:t,style:v},n)}function C(e){let{id:t,announcement:n,ariaLiveType:i="assertive"}=e;return o().createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":i,"aria-atomic":!0},n)}const _=(0,i.createContext)(null),b={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},O={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Y(e){let{announcements:t=O,container:n,hiddenTextDescribedById:r,screenReaderInstructions:c=b}=e;const{announce:a,announcement:u}=function(){const[e,t]=(0,i.useState)("");return{announce:(0,i.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),l=h("DndLiveRegion"),[M,d]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{d(!0)},[]),function(e){const t=(0,i.useContext)(_);(0,i.useEffect)(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,i.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:i}=e;t.onDragMove&&a(t.onDragMove({active:n,over:i}))},onDragOver(e){let{active:n,over:i}=e;a(t.onDragOver({active:n,over:i}))},onDragEnd(e){let{active:n,over:i}=e;a(t.onDragEnd({active:n,over:i}))},onDragCancel(e){let{active:n,over:i}=e;a(t.onDragCancel({active:n,over:i}))}}),[a,t])),!M)return null;const g=o().createElement(o().Fragment,null,o().createElement(E,{id:r,value:c.draggable}),o().createElement(C,{id:l,announcement:u}));return n?(0,s.createPortal)(g,n):g}var k;function U(){}function Q(e,t){return(0,i.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(k||(k={}));const Z=Object.freeze({x:0,y:0});function P(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function R(e,t){let{data:{value:n}}=e,{data:{value:i}}=t;return n-i}function G(e,t){let{data:{value:n}}=e,{data:{value:i}}=t;return i-n}function W(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const B=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:i}=e;const o=W(t,t.left,t.top),s=[];for(const e of i){const{id:t}=e,i=n.get(t);if(i){const n=P(W(i),o);s.push({id:t,data:{droppableContainer:e,value:n}})}}return s.sort(R)};function H(e,t){const n=Math.max(t.top,e.top),i=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),s=Math.min(t.top+t.height,e.top+e.height),r=o-i,c=s-n;if(i<o&&n<s){const n=t.width*t.height,i=e.width*e.height,o=r*c;return Number((o/(n+i-o)).toFixed(4))}return 0}const V=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:i}=e;const o=[];for(const e of i){const{id:i}=e,s=n.get(i);if(s){const n=H(s,t);n>0&&o.push({id:i,data:{droppableContainer:e,value:n}})}}return o.sort(G)};function F(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Z}function J(e){return function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return i.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}const X=J(1);const $={ignoreTransform:!1};function q(e,t){void 0===t&&(t=$);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:i}=u(e).getComputedStyle(e);t&&(n=function(e,t,n){const i=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!i)return e;const{scaleX:o,scaleY:s,x:r,y:c}=i,a=e.left-r-(1-o)*parseFloat(n),u=e.top-c-(1-s)*parseFloat(n.slice(n.indexOf(" ")+1)),l=o?e.width/o:e.width,M=s?e.height/s:e.height;return{width:l,height:M,top:u,right:a+l,bottom:u+M,left:a}}(n,t,i))}const{top:i,left:o,width:s,height:r,bottom:c,right:a}=n;return{top:i,left:o,width:s,height:r,bottom:c,right:a}}function K(e){return q(e,{ignoreTransform:!0})}function ee(e,t){const n=[];return e?function i(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if(l(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!M(o)||d(o))return n;if(n.includes(o))return n;const s=u(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=u(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{const i=t[e];return"string"==typeof i&&n.test(i)})}(o,s)&&n.push(o),function(e,t){return void 0===t&&(t=u(e).getComputedStyle(e)),"fixed"===t.position}(o,s)?n:i(o.parentNode)}(e):n}function te(e){const[t]=ee(e,1);return null!=t?t:null}function ne(e){return r&&e?c(e)?e:a(e)?l(e)||e===g(e).scrollingElement?window:M(e)?e:null:null:null}function ie(e){return c(e)?e.scrollX:e.scrollLeft}function oe(e){return c(e)?e.scrollY:e.scrollTop}function se(e){return{x:ie(e),y:oe(e)}}var re;function ce(e){return!(!r||!e)&&e===document.scrollingElement}function ae(e){const t={x:0,y:0},n=ce(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},i={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=i.y,isRight:e.scrollLeft>=i.x,maxScroll:i,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(re||(re={}));const ue={x:.2,y:.2};function le(e,t,n,i,o){let{top:s,left:r,right:c,bottom:a}=n;void 0===i&&(i=10),void 0===o&&(o=ue);const{isTop:u,isBottom:l,isLeft:M,isRight:d}=ae(e),g={x:0,y:0},j={x:0,y:0},m=t.height*o.y,L=t.width*o.x;return!u&&s<=t.top+m?(g.y=re.Backward,j.y=i*Math.abs((t.top+m-s)/m)):!l&&a>=t.bottom-m&&(g.y=re.Forward,j.y=i*Math.abs((t.bottom-m-a)/m)),!d&&c>=t.right-L?(g.x=re.Forward,j.x=i*Math.abs((t.right-L-c)/L)):!M&&r<=t.left+L&&(g.x=re.Backward,j.x=i*Math.abs((t.left+L-r)/L)),{direction:g,speed:j}}function Me(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:i,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:i,bottom:o,width:e.clientWidth,height:e.clientHeight}}function de(e){return e.reduce((e,t)=>D(e,se(t)),Z)}const ge=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+ie(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+oe(t),0)}]];class je{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=ee(t),i=de(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of ge)for(const s of t)Object.defineProperty(this,s,{get:()=>{const t=o(n),r=i[e]-t;return this.rect[s]+r},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class me{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var i;null==(i=this.target)||i.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Le(e,t){const n=Math.abs(e.x),i=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+i**2)>t:"x"in t&&"y"in t?n>t.x&&i>t.y:"x"in t?n>t.x:"y"in t&&i>t.y}var Ne,ye,Ie;function pe(e){e.preventDefault()}function he(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Ne||(Ne={})),(Ie=ye||(ye={})).Space="Space",Ie.Down="ArrowDown",Ie.Right="ArrowRight",Ie.Left="ArrowLeft",Ie.Up="ArrowUp",Ie.Esc="Escape",Ie.Enter="Enter";const we={start:[ye.Space,ye.Enter],cancel:[ye.Esc],end:[ye.Space,ye.Enter]},De=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case ye.Right:return{...n,x:n.x+25};case ye.Left:return{...n,x:n.x-25};case ye.Down:return{...n,y:n.y+25};case ye.Up:return{...n,y:n.y-25}}};class xe{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new me(g(t)),this.windowListeners=new me(u(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ne.Resize,this.handleCancel),this.windowListeners.add(Ne.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ne.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=q),!e)return;const{top:n,left:i,bottom:o,right:s}=t(e);te(e)&&(o<=0||s<=0||n>=window.innerHeight||i>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(Z)}handleKeyDown(e){if(S(e)){const{active:t,context:n,options:i}=this.props,{keyboardCodes:o=we,coordinateGetter:s=De,scrollBehavior:r="smooth"}=i,{code:c}=e;if(o.end.includes(c))return void this.handleEnd(e);if(o.cancel.includes(c))return void this.handleCancel(e);const{collisionRect:a}=n.current,u=a?{x:a.left,y:a.top}:Z;this.referenceCoordinates||(this.referenceCoordinates=u);const l=s(e,{active:t,context:n.current,currentCoordinates:u});if(l){const t=x(l,u),i={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:s,isRight:c,isLeft:a,isBottom:u,maxScroll:M,minScroll:d}=ae(n),g=Me(n),j={x:Math.min(o===ye.Right?g.right-g.width/2:g.right,Math.max(o===ye.Right?g.left:g.left+g.width/2,l.x)),y:Math.min(o===ye.Down?g.bottom-g.height/2:g.bottom,Math.max(o===ye.Down?g.top:g.top+g.height/2,l.y))},m=o===ye.Right&&!c||o===ye.Left&&!a,L=o===ye.Down&&!u||o===ye.Up&&!s;if(m&&j.x!==l.x){const e=n.scrollLeft+t.x,s=o===ye.Right&&e<=M.x||o===ye.Left&&e>=d.x;if(s&&!t.y)return void n.scrollTo({left:e,behavior:r});i.x=s?n.scrollLeft-e:o===ye.Right?n.scrollLeft-M.x:n.scrollLeft-d.x,i.x&&n.scrollBy({left:-i.x,behavior:r});break}if(L&&j.y!==l.y){const e=n.scrollTop+t.y,s=o===ye.Down&&e<=M.y||o===ye.Up&&e>=d.y;if(s&&!t.x)return void n.scrollTo({top:e,behavior:r});i.y=s?n.scrollTop-e:o===ye.Down?n.scrollTop-M.y:n.scrollTop-d.y,i.y&&n.scrollBy({top:-i.y,behavior:r});break}}this.handleMove(e,D(x(l,this.referenceCoordinates),i))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Se(e){return Boolean(e&&"distance"in e)}function Ae(e){return Boolean(e&&"delay"in e)}xe.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:i=we,onActivation:o}=t,{active:s}=n;const{code:r}=e.nativeEvent;if(i.start.includes(r)){const t=s.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class fe{constructor(e,t,n){var i;void 0===n&&(n=function(e){const{EventTarget:t}=u(e);return e instanceof t?e:g(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:s}=o;this.props=e,this.events=t,this.document=g(s),this.documentListeners=new me(this.document),this.listeners=new me(n),this.windowListeners=new me(u(s)),this.initialCoordinates=null!=(i=A(o))?i:Z,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Ne.Resize,this.handleCancel),this.windowListeners.add(Ne.DragStart,pe),this.windowListeners.add(Ne.VisibilityChange,this.handleCancel),this.windowListeners.add(Ne.ContextMenu,pe),this.documentListeners.add(Ne.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ae(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(Se(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Ne.Click,he,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ne.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:i,props:o}=this,{onMove:s,options:{activationConstraint:r}}=o;if(!i)return;const c=null!=(t=A(e))?t:Z,a=x(i,c);if(!n&&r){if(Se(r)){if(null!=r.tolerance&&Le(a,r.tolerance))return this.handleCancel();if(Le(a,r.distance))return this.handleStart()}return Ae(r)&&Le(a,r.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),s(c)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===ye.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Te={move:{name:"pointermove"},end:{name:"pointerup"}};class ze extends fe{constructor(e){const{event:t}=e,n=g(t.target);super(e,Te,n)}}ze.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:i}=t;return!(!n.isPrimary||0!==n.button||(null==i||i({event:n}),0))}}];const ve={move:{name:"mousemove"},end:{name:"mouseup"}};var Ee;!function(e){e[e.RightClick=2]="RightClick"}(Ee||(Ee={}));class Ce extends fe{constructor(e){super(e,ve,g(e.event.target))}}Ce.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:i}=t;return n.button!==Ee.RightClick&&(null==i||i({event:n}),!0)}}];const _e={move:{name:"touchmove"},end:{name:"touchend"}};class be extends fe{constructor(e){super(e,_e)}static setup(){return window.addEventListener(_e.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(_e.move.name,e)};function e(){}}}var Oe,Ye;be.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:i}=t;const{touches:o}=n;return!(o.length>1||(null==i||i({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Oe||(Oe={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Ye||(Ye={}));const ke={x:{[re.Backward]:!1,[re.Forward]:!1},y:{[re.Backward]:!1,[re.Forward]:!1}};var Ue,Qe;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Ue||(Ue={})),function(e){e.Optimized="optimized"}(Qe||(Qe={}));const Ze=new Map;function Pe(e,t){return N(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function Re(e){let{callback:t,disabled:n}=e;const o=m(t),s=(0,i.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)},[n]);return(0,i.useEffect)(()=>()=>null==s?void 0:s.disconnect(),[s]),s}function Ge(e){return new je(q(e),e)}function We(e,t,n){void 0===t&&(t=Ge);const[o,s]=(0,i.useReducer)(function(i){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=i?i:n)?o:null;const s=t(e);return JSON.stringify(i)===JSON.stringify(s)?i:s},null),r=function(e){let{callback:t,disabled:n}=e;const o=m(t),s=(0,i.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)},[o,n]);return(0,i.useEffect)(()=>()=>null==s?void 0:s.disconnect(),[s]),s}({callback(t){if(e)for(const n of t){const{type:t,target:i}=n;if("childList"===t&&i instanceof HTMLElement&&i.contains(e)){s();break}}}}),c=Re({callback:s});return j(()=>{s(),e?(null==c||c.observe(e),null==r||r.observe(document.body,{childList:!0,subtree:!0})):(null==c||c.disconnect(),null==r||r.disconnect())},[e]),o}const Be=[];function He(e,t){void 0===t&&(t=[]);const n=(0,i.useRef)(null);return(0,i.useEffect)(()=>{n.current=null},t),(0,i.useEffect)(()=>{const t=e!==Z;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?x(e,n.current):Z}function Ve(e){return(0,i.useMemo)(()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}const Fe=[];const Je=[{sensor:ze,options:{}},{sensor:xe,options:{}}],Xe={current:{}},$e={draggable:{measure:K},droppable:{measure:K,strategy:Ue.WhileDragging,frequency:Qe.Optimized},dragOverlay:{measure:q}};class qe extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Ke={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new qe,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:U},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$e,measureDroppableContainers:U,windowRect:null,measuringScheduled:!1},et={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:U,draggableNodes:new Map,over:null,measureDroppableContainers:U},tt=(0,i.createContext)(et),nt=(0,i.createContext)(Ke);function it(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new qe}}}function ot(e,t){switch(t.type){case k.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case k.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case k.DragEnd:case k.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case k.RegisterDroppable:{const{element:n}=t,{id:i}=n,o=new qe(e.droppable.containers);return o.set(i,n),{...e,droppable:{...e.droppable,containers:o}}}case k.SetDroppableDisabled:{const{id:n,key:i,disabled:o}=t,s=e.droppable.containers.get(n);if(!s||i!==s.key)return e;const r=new qe(e.droppable.containers);return r.set(n,{...s,disabled:o}),{...e,droppable:{...e.droppable,containers:r}}}case k.UnregisterDroppable:{const{id:n,key:i}=t,o=e.droppable.containers.get(n);if(!o||i!==o.key)return e;const s=new qe(e.droppable.containers);return s.delete(n),{...e,droppable:{...e.droppable,containers:s}}}default:return e}}function st(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:s}=(0,i.useContext)(tt),r=I(o),c=I(null==n?void 0:n.id);return(0,i.useEffect)(()=>{if(!t&&!o&&r&&null!=c){if(!S(r))return;if(document.activeElement===r.target)return;const e=s.get(c);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=z(e);if(t){t.focus();break}}})}},[o,t,s,c,r]),null}const rt=(0,i.createContext)({...Z,scaleX:1,scaleY:1});var ct;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(ct||(ct={}));const at=(0,i.memo)(function(e){var t,n,c,a;let{id:l,accessibility:d,autoScroll:g=!0,children:m,sensors:p=Je,collisionDetection:w=V,measuring:x,modifiers:S,...f}=e;const T=(0,i.useReducer)(ot,void 0,it),[z,v]=T,[E,C]=function(){const[e]=(0,i.useState)(()=>new Set),t=(0,i.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,i.useCallback)(t=>{let{type:n,event:i}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,i)})},[e]),t]}(),[b,O]=(0,i.useState)(ct.Uninitialized),U=b===ct.Initialized,{draggable:{active:Q,nodes:P,translate:R},droppable:{containers:G}}=z,W=Q?P.get(Q):null,B=(0,i.useRef)({initial:null,translated:null}),H=(0,i.useMemo)(()=>{var e;return null!=Q?{id:Q,data:null!=(e=null==W?void 0:W.data)?e:Xe,rect:B}:null},[Q,W]),J=(0,i.useRef)(null),[$,K]=(0,i.useState)(null),[ie,oe]=(0,i.useState)(null),ae=L(f,Object.values(f)),ue=h("DndDescribedBy",l),Me=(0,i.useMemo)(()=>G.getEnabled(),[G]),ge=(me=x,(0,i.useMemo)(()=>({draggable:{...$e.draggable,...null==me?void 0:me.draggable},droppable:{...$e.droppable,...null==me?void 0:me.droppable},dragOverlay:{...$e.dragOverlay,...null==me?void 0:me.dragOverlay}}),[null==me?void 0:me.draggable,null==me?void 0:me.droppable,null==me?void 0:me.dragOverlay]));var me;const{droppableRects:Le,measureDroppableContainers:Ne,measuringScheduled:ye}=function(e,t){let{dragging:n,dependencies:o,config:s}=t;const[r,c]=(0,i.useState)(null),{frequency:a,measure:u,strategy:l}=s,M=(0,i.useRef)(e),d=function(){switch(l){case Ue.Always:return!1;case Ue.BeforeDragging:return n;default:return!n}}(),g=L(d),j=(0,i.useCallback)(function(e){void 0===e&&(e=[]),g.current||c(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[g]),m=(0,i.useRef)(null),y=N(t=>{if(d&&!n)return Ze;if(!t||t===Ze||M.current!==e||null!=r){const t=new Map;for(let n of e){if(!n)continue;if(r&&r.length>0&&!r.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,i=e?new je(u(e),e):null;n.rect.current=i,i&&t.set(n.id,i)}return t}return t},[e,r,n,d,u]);return(0,i.useEffect)(()=>{M.current=e},[e]),(0,i.useEffect)(()=>{d||j()},[n,d]),(0,i.useEffect)(()=>{r&&r.length>0&&c(null)},[JSON.stringify(r)]),(0,i.useEffect)(()=>{d||"number"!=typeof a||null!==m.current||(m.current=setTimeout(()=>{j(),m.current=null},a))},[a,d,j,...o]),{droppableRects:y,measureDroppableContainers:j,measuringScheduled:null!=r}}(Me,{dragging:U,dependencies:[R.x,R.y],config:ge.droppable}),Ie=function(e,t){const n=null!==t?e.get(t):void 0,i=n?n.node.current:null;return N(e=>{var n;return null===t?null:null!=(n=null!=i?i:e)?n:null},[i,t])}(P,Q),pe=(0,i.useMemo)(()=>ie?A(ie):null,[ie]),he=function(){const e=!1===(null==$?void 0:$.autoScrollEnabled),t="object"==typeof g?!1===g.enabled:!1===g,n=U&&!e&&!t;return"object"==typeof g?{...g,enabled:n}:{enabled:n}}(),we=function(e,t){return Pe(e,t)}(Ie,ge.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:s=!0}=e;const r=(0,i.useRef)(!1),{x:c,y:a}="boolean"==typeof s?{x:s,y:s}:s;j(()=>{if(!c&&!a||!t)return void(r.current=!1);if(r.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const i=F(n(e),o);if(c||(i.x=0),a||(i.y=0),r.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){const t=te(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,c,a,o,n])}({activeNode:Q?P.get(Q):null,config:he.layoutShiftCompensation,initialRect:we,measure:ge.draggable.measure});const De=We(Ie,ge.draggable.measure,we),xe=We(Ie?Ie.parentElement:null),Se=(0,i.useRef)({activatorEvent:null,active:null,activeNode:Ie,collisionRect:null,collisions:null,droppableRects:Le,draggableNodes:P,draggingNode:null,draggingNodeRect:null,droppableContainers:G,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ae=G.getNodeFor(null==(t=Se.current.over)?void 0:t.id),fe=function(e){let{measure:t}=e;const[n,o]=(0,i.useState)(null),s=Re({callback:(0,i.useCallback)(e=>{for(const{target:n}of e)if(M(n)){o(e=>{const i=t(n);return e?{...e,width:i.width,height:i.height}:i});break}},[t])}),r=(0,i.useCallback)(e=>{const n=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return M(t)?t:e}(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),o(n?t(n):null)},[t,s]),[c,a]=y(r);return(0,i.useMemo)(()=>({nodeRef:c,rect:n,setRef:a}),[n,c,a])}({measure:ge.dragOverlay.measure}),Te=null!=(n=fe.nodeRef.current)?n:Ie,ze=U?null!=(c=fe.rect)?c:De:null,ve=Boolean(fe.nodeRef.current&&fe.rect),Ee=F(Ce=ve?null:De,Pe(Ce));var Ce;const _e=Ve(Te?u(Te):null),be=function(e){const t=(0,i.useRef)(e),n=N(n=>e?n&&n!==Be&&e&&t.current&&e.parentNode===t.current.parentNode?n:ee(e):Be,[e]);return(0,i.useEffect)(()=>{t.current=e},[e]),n}(U?null!=Ae?Ae:Ie:null),Qe=function(e,t){void 0===t&&(t=q);const[n]=e,o=Ve(n?u(n):null),[s,r]=(0,i.useReducer)(function(){return e.length?e.map(e=>ce(e)?o:new je(t(e),e)):Fe},Fe),c=Re({callback:r});return e.length>0&&s===Fe&&r(),j(()=>{e.length?e.forEach(e=>null==c?void 0:c.observe(e)):(null==c||c.disconnect(),r())},[e]),s}(be),Ge=function(e,t){let{transform:n,...i}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...i}),n):n}(S,{transform:{x:R.x-Ee.x,y:R.y-Ee.y,scaleX:1,scaleY:1},activatorEvent:ie,active:H,activeNodeRect:De,containerNodeRect:xe,draggingNodeRect:ze,over:Se.current.over,overlayNodeRect:fe.rect,scrollableAncestors:be,scrollableAncestorRects:Qe,windowRect:_e}),qe=pe?D(pe,R):null,Ke=function(e){const[t,n]=(0,i.useState)(null),o=(0,i.useRef)(e),s=(0,i.useCallback)(e=>{const t=ne(e.target);t&&n(e=>e?(e.set(t,se(t)),new Map(e)):null)},[]);return(0,i.useEffect)(()=>{const t=o.current;if(e!==t){i(t);const r=e.map(e=>{const t=ne(e);return t?(t.addEventListener("scroll",s,{passive:!0}),[t,se(t)]):null}).filter(e=>null!=e);n(r.length?new Map(r):null),o.current=e}return()=>{i(e),i(t)};function i(e){e.forEach(e=>{const t=ne(e);null==t||t.removeEventListener("scroll",s)})}},[s,e]),(0,i.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>D(e,t),Z):de(e):Z,[e,t])}(be),et=He(Ke),at=He(Ke,[De]),ut=D(Ge,et),lt=ze?X(ze,Ge):null,Mt=H&<?w({active:H,collisionRect:lt,droppableRects:Le,droppableContainers:Me,pointerCoordinates:qe}):null,dt=function(e){if(!e||0===e.length)return null;const[t]=e;return t.id}(Mt),[gt,jt]=(0,i.useState)(null),mt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(ve?Ge:D(Ge,at),null!=(a=null==gt?void 0:gt.rect)?a:null,De),Lt=(0,i.useCallback)((e,t)=>{let{sensor:n,options:i}=t;if(null==J.current)return;const o=P.get(J.current);if(!o)return;const r=e.nativeEvent,c=new n({active:J.current,activeNode:o,event:r,options:i,context:Se,onStart(e){const t=J.current;if(null==t)return;const n=P.get(t);if(!n)return;const{onDragStart:i}=ae.current,o={active:{id:t,data:n.data,rect:B}};(0,s.unstable_batchedUpdates)(()=>{null==i||i(o),O(ct.Initializing),v({type:k.DragStart,initialCoordinates:e,active:t}),E({type:"onDragStart",event:o})})},onMove(e){v({type:k.DragMove,coordinates:e})},onEnd:a(k.DragEnd),onCancel:a(k.DragCancel)});function a(e){return async function(){const{active:t,collisions:n,over:i,scrollAdjustedTranslate:o}=Se.current;let c=null;if(t&&o){const{cancelDrop:s}=ae.current;c={activatorEvent:r,active:t,collisions:n,delta:o,over:i},e===k.DragEnd&&"function"==typeof s&&await Promise.resolve(s(c))&&(e=k.DragCancel)}J.current=null,(0,s.unstable_batchedUpdates)(()=>{v({type:e}),O(ct.Uninitialized),jt(null),K(null),oe(null);const t=e===k.DragEnd?"onDragEnd":"onDragCancel";if(c){const e=ae.current[t];null==e||e(c),E({type:t,event:c})}})}}(0,s.unstable_batchedUpdates)(()=>{K(c),oe(e.nativeEvent)})},[P]),Nt=(0,i.useCallback)((e,t)=>(n,i)=>{const o=n.nativeEvent,s=P.get(i);if(null!==J.current||!s||o.dndKit||o.defaultPrevented)return;const r={active:s};!0===e(n,t.options,r)&&(o.dndKit={capturedBy:t.sensor},J.current=i,Lt(n,t))},[P,Lt]),yt=function(e,t){return(0,i.useMemo)(()=>e.reduce((e,n)=>{const{sensor:i}=n;return[...e,...i.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}))]},[]),[e,t])}(p,Nt);!function(e){(0,i.useEffect)(()=>{if(!r)return;const t=e.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(const e of t)null==e||e()}},e.map(e=>{let{sensor:t}=e;return t}))}(p),j(()=>{De&&b===ct.Initializing&&O(ct.Initialized)},[De,b]),(0,i.useEffect)(()=>{const{onDragMove:e}=ae.current,{active:t,activatorEvent:n,collisions:i,over:o}=Se.current;if(!t||!n)return;const r={active:t,activatorEvent:n,collisions:i,delta:{x:ut.x,y:ut.y},over:o};(0,s.unstable_batchedUpdates)(()=>{null==e||e(r),E({type:"onDragMove",event:r})})},[ut.x,ut.y]),(0,i.useEffect)(()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:i,scrollAdjustedTranslate:o}=Se.current;if(!e||null==J.current||!t||!o)return;const{onDragOver:r}=ae.current,c=i.get(dt),a=c&&c.rect.current?{id:c.id,rect:c.rect.current,data:c.data,disabled:c.disabled}:null,u={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:a};(0,s.unstable_batchedUpdates)(()=>{jt(a),null==r||r(u),E({type:"onDragOver",event:u})})},[dt]),j(()=>{Se.current={activatorEvent:ie,active:H,activeNode:Ie,collisionRect:lt,collisions:Mt,droppableRects:Le,draggableNodes:P,draggingNode:Te,draggingNodeRect:ze,droppableContainers:G,over:gt,scrollableAncestors:be,scrollAdjustedTranslate:ut},B.current={initial:ze,translated:lt}},[H,Ie,Mt,lt,P,Te,ze,Le,G,gt,be,ut]),function(e){let{acceleration:t,activator:n=Oe.Pointer,canScroll:o,draggingRect:s,enabled:r,interval:c=5,order:a=Ye.TreeOrder,pointerCoordinates:u,scrollableAncestors:l,scrollableAncestorRects:M,delta:d,threshold:g}=e;const j=function(e){let{delta:t,disabled:n}=e;const i=I(t);return N(e=>{if(n||!i||!e)return ke;const o=Math.sign(t.x-i.x),s=Math.sign(t.y-i.y);return{x:{[re.Backward]:e.x[re.Backward]||-1===o,[re.Forward]:e.x[re.Forward]||1===o},y:{[re.Backward]:e.y[re.Backward]||-1===s,[re.Forward]:e.y[re.Forward]||1===s}}},[n,t,i])}({delta:d,disabled:!r}),[m,L]=function(){const e=(0,i.useRef)(null);return[(0,i.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,i.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}(),y=(0,i.useRef)({x:0,y:0}),p=(0,i.useRef)({x:0,y:0}),h=(0,i.useMemo)(()=>{switch(n){case Oe.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case Oe.DraggableRect:return s}},[n,s,u]),w=(0,i.useRef)(null),D=(0,i.useCallback)(()=>{const e=w.current;if(!e)return;const t=y.current.x*p.current.x,n=y.current.y*p.current.y;e.scrollBy(t,n)},[]),x=(0,i.useMemo)(()=>a===Ye.TreeOrder?[...l].reverse():l,[a,l]);(0,i.useEffect)(()=>{if(r&&l.length&&h){for(const e of x){if(!1===(null==o?void 0:o(e)))continue;const n=l.indexOf(e),i=M[n];if(!i)continue;const{direction:s,speed:r}=le(e,i,h,t,g);for(const e of["x","y"])j[e][s[e]]||(r[e]=0,s[e]=0);if(r.x>0||r.y>0)return L(),w.current=e,m(D,c),y.current=r,void(p.current=s)}y.current={x:0,y:0},p.current={x:0,y:0},L()}else L()},[t,D,o,L,r,c,JSON.stringify(h),JSON.stringify(j),m,l,x,M,JSON.stringify(g)])}({...he,delta:R,draggingRect:lt,pointerCoordinates:qe,scrollableAncestors:be,scrollableAncestorRects:Qe});const It=(0,i.useMemo)(()=>({active:H,activeNode:Ie,activeNodeRect:De,activatorEvent:ie,collisions:Mt,containerNodeRect:xe,dragOverlay:fe,draggableNodes:P,droppableContainers:G,droppableRects:Le,over:gt,measureDroppableContainers:Ne,scrollableAncestors:be,scrollableAncestorRects:Qe,measuringConfiguration:ge,measuringScheduled:ye,windowRect:_e}),[H,Ie,De,ie,Mt,xe,fe,P,G,Le,gt,Ne,be,Qe,ge,ye,_e]),pt=(0,i.useMemo)(()=>({activatorEvent:ie,activators:yt,active:H,activeNodeRect:De,ariaDescribedById:{draggable:ue},dispatch:v,draggableNodes:P,over:gt,measureDroppableContainers:Ne}),[ie,yt,H,De,v,ue,P,gt,Ne]);return o().createElement(_.Provider,{value:C},o().createElement(tt.Provider,{value:pt},o().createElement(nt.Provider,{value:It},o().createElement(rt.Provider,{value:mt},m)),o().createElement(st,{disabled:!1===(null==d?void 0:d.restoreFocus)})),o().createElement(Y,{...d,hiddenTextDescribedById:ue}))}),ut=(0,i.createContext)(null),lt="button";const Mt={timeout:25};function dt(e,t,n){const i=e.slice();return i.splice(n<0?i.length+n:n,0,i.splice(t,1)[0]),i}function gt(e,t){return e.reduce((e,n,i)=>{const o=t.get(n);return o&&(e[i]=o),e},Array(e.length))}function jt(e){return null!==e&&e>=0}const mt={scaleX:1,scaleY:1},Lt=e=>{var t;let{rects:n,activeNodeRect:i,activeIndex:o,overIndex:s,index:r}=e;const c=null!=(t=n[o])?t:i;if(!c)return null;const a=function(e,t,n){const i=e[t],o=e[t-1],s=e[t+1];return i&&(o||s)?n<t?o?i.left-(o.left+o.width):s.left-(i.left+i.width):s?s.left-(i.left+i.width):i.left-(o.left+o.width):0}(n,r,o);if(r===o){const e=n[s];return e?{x:o<s?e.left+e.width-(c.left+c.width):e.left-c.left,y:0,...mt}:null}return r>o&&r<=s?{x:-c.width-a,y:0,...mt}:r<o&&r>=s?{x:c.width+a,y:0,...mt}:{x:0,y:0,...mt}},Nt=e=>{let{rects:t,activeIndex:n,overIndex:i,index:o}=e;const s=dt(t,i,n),r=t[o],c=s[o];return c&&r?{x:c.left-r.left,y:c.top-r.top,scaleX:c.width/r.width,scaleY:c.height/r.height}:null},yt={scaleX:1,scaleY:1},It=e=>{var t;let{activeIndex:n,activeNodeRect:i,index:o,rects:s,overIndex:r}=e;const c=null!=(t=s[n])?t:i;if(!c)return null;if(o===n){const e=s[r];return e?{x:0,y:n<r?e.top+e.height-(c.top+c.height):e.top-c.top,...yt}:null}const a=function(e,t,n){const i=e[t],o=e[t-1],s=e[t+1];return i?n<t?o?i.top-(o.top+o.height):s?s.top-(i.top+i.height):0:s?s.top-(i.top+i.height):o?i.top-(o.top+o.height):0:0}(s,o,n);return o>n&&o<=r?{x:0,y:-c.height-a,...yt}:o<n&&o>=r?{x:0,y:c.height+a,...yt}:{x:0,y:0,...yt}},pt="Sortable",ht=o().createContext({activeIndex:-1,containerId:pt,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Nt,disabled:{draggable:!1,droppable:!1}});function wt(e){let{children:t,id:n,items:s,strategy:r=Nt,disabled:c=!1}=e;const{active:a,dragOverlay:u,droppableRects:l,over:M,measureDroppableContainers:d}=(0,i.useContext)(nt),g=h(pt,n),m=Boolean(null!==u.rect),L=(0,i.useMemo)(()=>s.map(e=>"object"==typeof e&&"id"in e?e.id:e),[s]),N=null!=a,y=a?L.indexOf(a.id):-1,I=M?L.indexOf(M.id):-1,p=(0,i.useRef)(L),w=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(L,p.current),D=-1!==I&&-1===y||w,x=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(c);j(()=>{w&&N&&d(L)},[w,L,N,d]),(0,i.useEffect)(()=>{p.current=L},[L]);const S=(0,i.useMemo)(()=>({activeIndex:y,containerId:g,disabled:x,disableTransforms:D,items:L,overIndex:I,useDragOverlay:m,sortedRects:gt(L,l),strategy:r}),[y,g,x.draggable,x.droppable,D,L,I,l,m,r]);return o().createElement(ht.Provider,{value:S},t)}const Dt=e=>{let{id:t,items:n,activeIndex:i,overIndex:o}=e;return dt(n,i,o).indexOf(t)},xt=e=>{let{containerId:t,isSorting:n,wasDragging:i,index:o,items:s,newIndex:r,previousItems:c,previousContainerId:a,transition:u}=e;return!(!u||!i||c!==s&&o===r||!n&&(r===o||t!==a))},St={duration:200,easing:"ease"},At="transform",ft=f.Transition.toString({property:At,duration:0,easing:"linear"}),Tt={roleDescription:"sortable"};function zt(e){let{animateLayoutChanges:t=xt,attributes:n,disabled:o,data:s,getNewIndex:r=Dt,id:c,strategy:a,resizeObserverConfig:u,transition:l=St}=e;const{items:M,containerId:d,activeIndex:g,disabled:m,disableTransforms:N,sortedRects:I,overIndex:p,useDragOverlay:w,strategy:D}=(0,i.useContext)(ht),x=function(e,t){var n,i;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(i=null==e?void 0:e.droppable)?i:t.droppable}}(o,m),A=M.indexOf(c),T=(0,i.useMemo)(()=>({sortable:{containerId:d,index:A,items:M},...s}),[d,s,A,M]),z=(0,i.useMemo)(()=>M.slice(M.indexOf(c)),[M,c]),{rect:v,node:E,isOver:C,setNodeRef:_}=function(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:s}=e;const r=h("Droppable"),{active:c,dispatch:a,over:u,measureDroppableContainers:l}=(0,i.useContext)(tt),M=(0,i.useRef)({disabled:n}),d=(0,i.useRef)(!1),g=(0,i.useRef)(null),m=(0,i.useRef)(null),{disabled:N,updateMeasurementsFor:I,timeout:p}={...Mt,...s},w=L(null!=I?I:o),D=Re({callback:(0,i.useCallback)(()=>{d.current?(null!=m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{l(Array.isArray(w.current)?w.current:[w.current]),m.current=null},p)):d.current=!0},[p]),disabled:N||!c}),x=(0,i.useCallback)((e,t)=>{D&&(t&&(D.unobserve(t),d.current=!1),e&&D.observe(e))},[D]),[S,A]=y(x),f=L(t);return(0,i.useEffect)(()=>{D&&S.current&&(D.disconnect(),d.current=!1,D.observe(S.current))},[S,D]),j(()=>(a({type:k.RegisterDroppable,element:{id:o,key:r,disabled:n,node:S,rect:g,data:f}}),()=>a({type:k.UnregisterDroppable,key:r,id:o})),[o]),(0,i.useEffect)(()=>{n!==M.current.disabled&&(a({type:k.SetDroppableDisabled,id:o,key:r,disabled:n}),M.current.disabled=n)},[o,r,n,a]),{active:c,rect:g,isOver:(null==u?void 0:u.id)===o,node:S,over:u,setNodeRef:A}}({id:c,data:T,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:z,...u}}),{active:b,activatorEvent:O,activeNodeRect:Y,attributes:U,setNodeRef:Q,listeners:Z,isDragging:P,over:R,setActivatorNodeRef:G,transform:W}=function(e){let{id:t,data:n,disabled:o=!1,attributes:s}=e;const r=h("Droppable"),{activators:c,activatorEvent:a,active:u,activeNodeRect:l,ariaDescribedById:M,draggableNodes:d,over:g}=(0,i.useContext)(tt),{role:m=lt,roleDescription:N="draggable",tabIndex:I=0}=null!=s?s:{},p=(null==u?void 0:u.id)===t,w=(0,i.useContext)(p?rt:ut),[D,x]=y(),[S,A]=y(),f=function(e,t){return(0,i.useMemo)(()=>e.reduce((e,n)=>{let{eventName:i,handler:o}=n;return e[i]=e=>{o(e,t)},e},{}),[e,t])}(c,t),T=L(n);return j(()=>(d.set(t,{id:t,key:r,node:D,activatorNode:S,data:T}),()=>{const e=d.get(t);e&&e.key===r&&d.delete(t)}),[d,t]),{active:u,activatorEvent:a,activeNodeRect:l,attributes:(0,i.useMemo)(()=>({role:m,tabIndex:I,"aria-disabled":o,"aria-pressed":!(!p||m!==lt)||void 0,"aria-roledescription":N,"aria-describedby":M.draggable}),[o,m,I,p,N,M.draggable]),isDragging:p,listeners:o?void 0:f,node:D,over:g,setNodeRef:x,setActivatorNodeRef:A,transform:w}}({id:c,data:T,attributes:{...Tt,...n},disabled:x.draggable}),B=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}(_,Q),H=Boolean(b),V=H&&!N&&jt(g)&&jt(p),F=!w&&P,J=F&&V?W:null,X=V?null!=J?J:(null!=a?a:D)({rects:I,activeNodeRect:Y,activeIndex:g,overIndex:p,index:A}):null,$=jt(g)&&jt(p)?r({id:c,items:M,activeIndex:g,overIndex:p}):A,K=null==b?void 0:b.id,ee=(0,i.useRef)({activeId:K,items:M,newIndex:$,containerId:d}),te=M!==ee.current.items,ne=t({active:b,containerId:d,isDragging:P,isSorting:H,id:c,index:A,items:M,newIndex:ee.current.newIndex,previousItems:ee.current.items,previousContainerId:ee.current.containerId,transition:l,wasDragging:null!=ee.current.activeId}),ie=function(e){let{disabled:t,index:n,node:o,rect:s}=e;const[r,c]=(0,i.useState)(null),a=(0,i.useRef)(n);return j(()=>{if(!t&&n!==a.current&&o.current){const e=s.current;if(e){const t=q(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==a.current&&(a.current=n)},[t,n,o,s]),(0,i.useEffect)(()=>{r&&c(null)},[r]),r}({disabled:!ne,index:A,node:E,rect:v});return(0,i.useEffect)(()=>{H&&ee.current.newIndex!==$&&(ee.current.newIndex=$),d!==ee.current.containerId&&(ee.current.containerId=d),M!==ee.current.items&&(ee.current.items=M)},[H,$,d,M]),(0,i.useEffect)(()=>{if(K===ee.current.activeId)return;if(K&&!ee.current.activeId)return void(ee.current.activeId=K);const e=setTimeout(()=>{ee.current.activeId=K},50);return()=>clearTimeout(e)},[K]),{active:b,activeIndex:g,attributes:U,data:T,rect:v,index:A,newIndex:$,items:M,isOver:C,isSorting:H,isDragging:P,listeners:Z,node:E,overIndex:p,over:R,setNodeRef:B,setActivatorNodeRef:G,setDroppableNodeRef:_,setDraggableNodeRef:Q,transform:null!=ie?ie:X,transition:ie||te&&ee.current.newIndex===A?ft:F&&!S(O)||!l?void 0:H||ne?f.Transition.toString({...l,property:At}):void 0}}ye.Down,ye.Right,ye.Up,ye.Left;const vt=e=>{let{transform:t}=e;return{...t,y:0}},Et=e=>{let{transform:t}=e;return{...t,x:0}};var Ct=n(4921),_t=n(86087),bt=n(39793);const Ot=({items:e,setItems:t,children:n,sorting:o="vertical",onDragStart:s=()=>{},onDragEnd:r=()=>{},className:c=""})=>{const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(Q(Ce,{}),Q(be,{}),Q(xe,{})),[u,l]=(0,_t.useState)(!1),M="vertical"===o?It:Lt,d="vertical"===o?[Et]:[vt],g=(0,Ct.A)("sortable-container",c,{"has-dragging-item":u});return(0,bt.jsx)("div",{className:g,children:(0,bt.jsx)(at,{sensors:a,onDragStart:e=>{l(!0),s(e)},onDragEnd:n=>{l(!1),r(n);const{active:i,over:o}=n;if(i&&o&&i.id!==o.id){const n=e.findIndex(e=>e.id===i.id),s=e.findIndex(e=>e.id===o.id),r=dt(e,n,s);t(r)}},collisionDetection:B,modifiers:d,children:(0,bt.jsx)(wt,{items:e.map(e=>e.id),strategy:M,children:n})})})};var Yt=n(11789),kt=n(5573),Ut=(0,bt.jsx)(kt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bt.jsx)(kt.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});const Qt=(0,_t.createContext)({attributes:null,listeners:null}),Zt=()=>{const{attributes:e,listeners:t}=(0,_t.useContext)(Qt);return(0,bt.jsx)("div",{className:"drag-handle-wrapper",...e,...t,children:(0,bt.jsx)("div",{className:"drag-handle",children:(0,bt.jsx)(Yt.A,{icon:Ut,size:20})})})},Pt=({id:e,className:t="",children:n,...i})=>{const{attributes:o,listeners:s,setNodeRef:r,transform:c,transition:a,isDragging:u}=zt({id:e}),l={transform:c?`translate3d(${c.x}px, ${c.y}px, 0)`:void 0,transition:a},M=(0,Ct.A)("sortable-item",t??"",u?"is-dragging":"");return(0,bt.jsx)("div",{ref:r,style:l,className:M,...i,children:(0,bt.jsx)(Qt.Provider,{value:{attributes:o,listeners:s},children:n})})}},53802:(e,t,n)=>{"use strict";n.d(t,{$8:()=>o,Fx:()=>c,I8:()=>a,Lw:()=>r,bw:()=>i,eD:()=>s});const i="woocommerce-payments",o="woocommerce_payments",s="woopayments",r="_wc_pes_woopayments",c="settings_payments",a="https://woocommerce.com/product-category/woocommerce-extensions/payment-gateways/?utm_source=payments_recommendations"},534:(e,t,n)=>{"use strict";n.d(t,{$8:()=>g,B3:()=>C,LI:()=>x,MQ:()=>w,O2:()=>l,Pt:()=>I,RY:()=>h,TH:()=>A,TO:()=>S,W7:()=>T,Wg:()=>z,ZT:()=>p,ZV:()=>N,bU:()=>L,fu:()=>E,g2:()=>f,j4:()=>m,jc:()=>v,js:()=>D,sq:()=>d,uH:()=>j,uU:()=>M});var i=n(15703),o=n(27723),s=n(83306),r=n(96476),c=n(93832),a=n(70288),u=n(53802);const l=e=>!!e._incentive,M=e=>!!e&&e.promo_id.includes("-action-"),d=e=>!!e&&e.promo_id.includes("-switch-"),g=(e,t)=>!(!e||!Array.isArray(e._dismissals))&&e._dismissals.some(e=>"all"===e.context||e.context===t),j=(e,t,n)=>!(!e||!Array.isArray(e._dismissals))&&e._dismissals.some(e=>{const i=1e3*e.timestamp;return("all"===e.context||e.context===t)&&i<n}),m=e=>[u.Lw,u.$8,u.eD].includes(e),L=e=>m(e.id)&&(e.tags?.includes("woopay_eligible")||!1),N=()=>(0,i.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,a.Qk)("wcpay_welcome_page_connect_nonce")+"&wcpay-disable-onboarding-test-mode=true&redirect_to_settings_page=true&source=wcpay-setup-live-payments"),y=e=>t=>t.find(t=>t.id===e)||null,I=e=>{const t=e.find(e=>m(e.id));return!!t?.state?.test_mode&&!t?.state?.needs_setup},p=e=>{const t=e.find(e=>m(e.id));return t?.state?.needs_setup||!1},h=e=>e.find(e=>m(e.id))??null,w=e=>{const t=e.find(e=>m(e.id));return!!t?.state?.dev_mode},D=e=>{const t=y("apple_pay")(e),n=y("google_pay")(e);return t&&n?e.map(e=>"apple_pay"===e.id?{...e,id:"apple_google",extraTitle:n.title,extraDescription:n.description,extraIcon:n.icon}:"google_pay"===e.id?null:e).filter(e=>null!==e):e},x=e=>Object.keys(e).reduce((t,n)=>("apple_pay"===n||"google_pay"===n?t.apple_google=e[n]:t[n]=e[n],t),{}),S=(e,t)=>"primary"===e.category||!!e.enabled||(t??!1),A=(e,t={})=>{e.startsWith("settings_payments_")||(e=`settings_payments_${e}`),t.business_country||(t.business_country=window.wcSettings?.admin?.woocommerce_payments_nox_profile?.business_country_code??"unknown"),(0,s.recordEvent)(e,t)},f=(e,t,n={})=>{e.startsWith("provider_")||(e=`provider_${e}`);const i={...n,provider_id:t.id,provider_type:t._type??"unknown",suggestion_id:t._suggestion_id??"unknown"};i.provider_enabled=t.state?.enabled??!1,i.provider_account_connected=t.state?.account_connected??!1,i.provider_needs_setup=t.state?.needs_setup??!1,i.provider_test_mode=t.state?.test_mode??!1,i.provider_dev_mode=t.state?.dev_mode??!1,i.provider_onboarding_started=t.onboarding?.state?.started??!1,i.provider_onboarding_completed=t.onboarding?.state?.completed??!1,i.provider_account_test_mode=t.onboarding?.state?.test_mode??!1,i.provider_extension_slug=t.plugin.slug??"unknown",m(t.id)&&(i.provider_has_test_drive_account=t.onboarding?.state?.test_drive_account??!1,i.provider_has_working_wpcom_connection=t.onboarding?.state?.wpcom_has_working_connection??!1),A(e,i)},T=(e,t={})=>{e.startsWith("settings_payments_")||(e=`settings_payments_${e}`),t.business_country||(t.business_country=window.wcSettings?.admin?.woocommerce_payments_nox_profile?.business_country_code??"unknown");const n=new URLSearchParams(window.location.search);t.source||(t.source=n.get("source")?.replace(/[^\w-]+/g,"")||"unknown"),(0,s.recordEvent)(e,t)},z=e=>{const t=(0,r.parseAdminUrl)(e);return t.href?.replace(t.origin,"")??e},v=(e,t)=>{const n="object"==typeof e&&null!==e&&"actionType"in e?e.actionType:void 0;return"install"===n||"activate"===n?n:t},E=(e,t,n)=>{const i="install"===e?(0,o.sprintf)((0,o.__)("Could not install %s.","woocommerce"),t):(0,o.sprintf)((0,o.__)("Could not activate %s.","woocommerce"),t),s="object"==typeof n&&null!==n?n:void 0;return"string"==typeof s?.reason&&s.reason?`${i} ${s.reason}`:("string"==typeof s?.message?s.message:"")||i},C=e=>(0,c.addQueryArgs)(u.I8,e?{country:e}:{})},70288:(e,t,n)=>{"use strict";n.d(t,{GZ:()=>l,Qk:()=>u});var i=n(27723),o=n(15703);n(68315);const s=["wcAdminSettings","preloadSettings"],r=(0,o.getSetting)("admin",{}),c=Object.keys(r).reduce((e,t)=>(s.includes(t)||(e[t]=r[t]),e),{}),a={onboarding:{profile:"Deprecated: wcSettings.admin.onboarding.profile is deprecated. It is planned to be released in WooCommerce 10.0.0. Please use `getProfileItems` from the onboarding store. See https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/data/src/onboarding for more information.",euCountries:"Deprecated: wcSettings.admin.onboarding.euCountries is deprecated. Please use `/wc/v3/data/continents/eu` from the REST API. See https://developer.woocommerce.com/docs/apis/rest-api/v3/data/#list-all-continents for more information.",localInfo:'Deprecated: wcSettings.admin.onboarding.localInfo is deprecated. Please use `include WC()->plugin_path() . "/i18n/locale-info.php"` instead.',currencySymbols:'"Deprecated: wcSettings.admin.onboarding.currencySymbols is deprecated. Please use get_woocommerce_currency_symbols() function instead.'}};function u(e,t=!1,n=e=>e,o=a){if(s.includes(e))throw new Error((0,i.__)("Mutable settings should be accessed via data store.","woocommerce"));return n(c.hasOwnProperty(e)?c[e]:t,t)}(0,o.getSetting)("adminUrl"),(0,o.getSetting)("countries"),(0,o.getSetting)("currency"),(0,o.getSetting)("locale"),(0,o.getSetting)("siteTitle");const l=(0,o.getSetting)("wcAssetUrl");u("orderStatuses"),u("paymentGateways",{})},68315:(e,t,n)=>{"use strict";n(86087)},94736:(e,t,n)=>{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,i=e.onClick,c=(e.icon,e.className),a=function(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s),u=["gridicon","gridicons-notice-outline",c,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:u,height:n,width:n,onClick:i},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,o=(i=n(51609))&&i.__esModule?i:{default:i},s=["size","onClick","icon","className"];function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}},76748:e=>{e.exports={iconsThatNeedOffset:["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle","gridicons-reader-follow","gridicons-reader-following"],iconsThatNeedOffsetX:["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"],iconsThatNeedOffsetY:["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"]}},33068:(e,t,n)=>{"use strict";var i;function o(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}n.d(t,{qh:()=>v,Ix:()=>E,BV:()=>C,zy:()=>T,Zp:()=>z}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));var s=n(51609);const r=(0,s.createContext)(null),c=(0,s.createContext)(null),a=(0,s.createContext)({outlet:null,matches:[]});function u(e,t){if(!e)throw new Error(t)}function l(e,t,n){void 0===n&&(n="/");let i=w(("string"==typeof t?o(t):t).pathname||"/",n);if(null==i)return null;let s=M(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(s);let r=null;for(let e=0;null==r&&e<s.length;++e)r=p(s[e],i);return r}function M(e,t,n,i){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i=""),e.forEach((e,o)=>{let s={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};s.relativePath.startsWith("/")&&(s.relativePath.startsWith(i)||u(!1),s.relativePath=s.relativePath.slice(i.length));let r=D([i,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(!0===e.index&&u(!1),M(e.children,t,c,r)),(null!=e.path||e.index)&&t.push({path:r,score:I(r,e.index),routesMeta:c})}),t}const d=/^:\w+$/,g=3,j=2,m=1,L=10,N=-2,y=e=>"*"===e;function I(e,t){let n=e.split("/"),i=n.length;return n.some(y)&&(i+=N),t&&(i+=j),n.filter(e=>!y(e)).reduce((e,t)=>e+(d.test(t)?g:""===t?m:L),i)}function p(e,t){let{routesMeta:n}=e,i={},o="/",s=[];for(let e=0;e<n.length;++e){let r=n[e],c=e===n.length-1,a="/"===o?t:t.slice(o.length)||"/",u=h({path:r.relativePath,caseSensitive:r.caseSensitive,end:c},a);if(!u)return null;Object.assign(i,u.params);let l=r.route;s.push({params:i,pathname:D([o,u.pathname]),pathnameBase:x(D([o,u.pathnameBase])),route:l}),"/"!==u.pathnameBase&&(o=D([o,u.pathnameBase]))}return s}function h(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(e,t)=>(i.push(t),"([^\\/]+)"));return e.endsWith("*")?(i.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),i]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],r=s.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:i.reduce((e,t,n)=>{if("*"===t){let e=c[n]||"";r=s.slice(0,s.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e){try{return decodeURIComponent(e)}catch(t){return e}}(c[n]||""),e},{}),pathname:s,pathnameBase:r,pattern:e}}function w(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const D=e=>e.join("/").replace(/\/\/+/g,"/"),x=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),S=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function f(){return null!=(0,s.useContext)(c)}function T(){return f()||u(!1),(0,s.useContext)(c).location}function z(){f()||u(!1);let{basename:e,navigator:t}=(0,s.useContext)(r),{matches:n}=(0,s.useContext)(a),{pathname:i}=T(),c=JSON.stringify(n.map(e=>e.pathnameBase)),l=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{l.current=!0}),(0,s.useCallback)(function(n,s){if(void 0===s&&(s={}),!l.current)return;if("number"==typeof n)return void t.go(n);let r=function(e,t,n){let i,s="string"==typeof e?o(e):e,r=""===e||""===s.pathname?"/":s.pathname;if(null==r)i=n;else{let e=t.length-1;if(r.startsWith("..")){let t=r.split("/");for(;".."===t[0];)t.shift(),e-=1;s.pathname=t.join("/")}i=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:i="",hash:s=""}="string"==typeof e?o(e):e,r=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:r,search:S(i),hash:A(s)}}(s,i);return r&&"/"!==r&&r.endsWith("/")&&!c.pathname.endsWith("/")&&(c.pathname+="/"),c}(n,JSON.parse(c),i);"/"!==e&&(r.pathname=D([e,r.pathname])),(s.replace?t.replace:t.push)(r,s.state)},[e,t,c,i])}function v(e){u(!1)}function E(e){let{basename:t="/",children:n=null,location:a,navigationType:l=i.Pop,navigator:M,static:d=!1}=e;f()&&u(!1);let g=x(t),j=(0,s.useMemo)(()=>({basename:g,navigator:M,static:d}),[g,M,d]);"string"==typeof a&&(a=o(a));let{pathname:m="/",search:L="",hash:N="",state:y=null,key:I="default"}=a,p=(0,s.useMemo)(()=>{let e=w(m,g);return null==e?null:{pathname:e,search:L,hash:N,state:y,key:I}},[g,m,L,N,y,I]);return null==p?null:(0,s.createElement)(r.Provider,{value:j},(0,s.createElement)(c.Provider,{children:n,value:{location:p,navigationType:l}}))}function C(e){let{children:t,location:n}=e;return function(e,t){f()||u(!1);let{matches:n}=(0,s.useContext)(a),i=n[n.length-1],r=i?i.params:{},c=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let M,d=T();if(t){var g;let e="string"==typeof t?o(t):t;"/"===c||(null==(g=e.pathname)?void 0:g.startsWith(c))||u(!1),M=e}else M=d;let j=M.pathname||"/",m=l(e,{pathname:"/"===c?j:j.slice(c.length)||"/"});return function(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight((n,i,o)=>(0,s.createElement)(a.Provider,{children:void 0!==i.route.element?i.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,o+1))}}),null)}(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},r,e.params),pathname:D([c,e.pathname]),pathnameBase:"/"===e.pathnameBase?c:D([c,e.pathnameBase])})),n)}(_(t),n)}function _(e){let t=[];return s.Children.forEach(e,e=>{if(!(0,s.isValidElement)(e))return;if(e.type===s.Fragment)return void t.push.apply(t,_(e.props.children));e.type!==v&&u(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=_(e.props.children)),t.push(n)}),t}},94931:(e,t,n)=>{"use strict";var i=n(51609),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,c=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var i,s={},u=null,l=null;for(i in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)r.call(t,i)&&!a.hasOwnProperty(i)&&(s[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===s[i]&&(s[i]=t[i]);return{$$typeof:o,type:e,key:u,ref:l,props:s,_owner:c.current}}t.Fragment=s,t.jsx=u,t.jsxs=u},39793:(e,t,n)=>{"use strict";e.exports=n(94931)},84343:e=>{function t(e,t){if((e=e.replace(/\s+/g,""))===(t=t.replace(/\s+/g,"")))return 1;if(e.length<2||t.length<2)return 0;let n=new Map;for(let t=0;t<e.length-1;t++){const i=e.substring(t,t+2),o=n.has(i)?n.get(i)+1:1;n.set(i,o)}let i=0;for(let e=0;e<t.length-1;e++){const o=t.substring(e,e+2),s=n.has(o)?n.get(o):0;s>0&&(n.set(o,s-1),i++)}return 2*i/(e.length+t.length-2)}e.exports={compareTwoStrings:t,findBestMatch:function(e,n){if(!function(e,t){return"string"==typeof e&&!!Array.isArray(t)&&!!t.length&&!t.find(function(e){return"string"!=typeof e})}(e,n))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");const i=[];let o=0;for(let s=0;s<n.length;s++){const r=n[s],c=t(e,r);i.push({target:r,rating:c}),c>i[o].rating&&(o=s)}return{ratings:i,bestMatch:i[o],bestMatchIndex:o}}}},63133:(e,t,n)=>{"use strict";var i=n(51609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useState,r=i.useEffect,c=i.useLayoutEffect,a=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=s({inst:{value:n,getSnapshot:t}}),o=i[0].inst,l=i[1];return c(function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})},[e,n,t]),r(function(){return u(o)&&l({inst:o}),e(function(){u(o)&&l({inst:o})})},[e]),a(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:l},23378:(e,t,n)=>{"use strict";var i=n(51609),o=n(89104),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=o.useSyncExternalStore,c=i.useRef,a=i.useEffect,u=i.useMemo,l=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,o){var M=c(null);if(null===M.current){var d={hasValue:!1,value:null};M.current=d}else d=M.current;M=u(function(){function e(e){if(!a){if(a=!0,r=e,e=i(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return c=t}return c=e}if(t=c,s(r,e))return t;var n=i(e);return void 0!==o&&o(t,n)?(r=e,t):(r=e,c=n)}var r,c,a=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,i,o]);var g=r(e,M[0],M[1]);return a(function(){d.hasValue=!0,d.value=g},[g]),l(g),g}},89104:(e,t,n)=>{"use strict";e.exports=n(63133)},93754:(e,t,n)=>{"use strict";e.exports=n(23378)},822:(e,t,n)=>{"use strict";e.exports=n.p+"47c7fb356fcb2d963681.svg"},54728:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDY0IDQwIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxyZWN0IHdpZHRoPSI2NCIgaGVpZ2h0PSI0MCIgZmlsbD0iI2ZmZiIgcng9IjMiLz48cGF0aCBmaWxsPSIjMDA2RkNGIiBkPSJtNTYuNTMzIDkuODEzIDEuMjgtMy40OEw2NCA2LjM4N1YuMDUzTDAgMHY0MGw2NCAuMDUzdi02LjMybC01Ljg1My0uMDUzLTIuMDQtMi4zODctMi4xMiAyLjM4N2gtMTUuNjhWMjAuOTczaC01LjE3NEwzOS42IDYuMzMzaDYuMjkzbDEuNTIgMy4zMnYtMy4zMmg3LjgxNHpNNTIuMTIgMTIuMTJsLS4wMTMtMS40LjUzMyAxLjQgMi42IDYuOTQ3aDIuNTg3bDIuNjEzLTYuOTQ3LjUwNy0xLjM4N3Y4LjMzNEw2NCAxOS4xMlY4LjQ1M0w1OS4xNDcgOC40bC0yLjA1NCA1LjQxMy0uNTQ2IDEuNDY3LS41Ni0xLjQ2N0w1My45MiA4LjRINDkuNHYxMC42NjdoMi43MnptLTUuODUzIDYuOTQ3SDQ5LjRMNDQuNzA3IDguNGgtMy42NGwtNC43MiAxMC42NjdoMy4wOTNsLjgyNy0yLjA1N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LjggMS44IDAgMCAxLS43MTguNzA4cS0uNDYyLjI2NS0xLjA5NS4yNjVoLTEuODEzdi0uOTU0aDEuNjYycS4zMjEgMCAuNTY3LS4xMjNhLjk1Ljk1IDAgMCAwIC4zNzctLjM1OXEuMTQyLS4yMzYuMTQyLS41MjhhMSAxIDAgMCAwLS4xNDItLjUzLjg3Ljg3IDAgMCAwLS4zNzctLjM1OCAxLjI1IDEuMjUgMCAwIDAtLjU2Ny0uMTIzaC0xLjUxdjUuMzM1em0tOS44MzIuMTA4Yy43MzMgMCAxLjMyMi0uMzYyIDEuNzY2LTEuMTk1bC45ODctMS44NDh2MS41NjdjMCAuOTI0LjU5OCAxLjQ3NiAxLjUyMiAxLjQ3Ni43MjQgMCAxLjI1OS0uMzE3IDEuNzc1LTEuMTk1bDIuMjc0LTMuODRjLjQ5OC0uODQzLjE0NS0xLjQ3Ny0uOTUxLTEuNDc3LS41OSAwLS45Ny4xOS0xLjMxNC44MzNsLTEuNTY3IDIuOTQ0VjkuOTA1YzAtLjc3OS0uMzcxLTEuMTYtMS4wNi0xLjE2LS41NDMgMC0uOTc4LjIzNi0xLjMxMy44ODlMOS41NiAxMi41MjN2LTIuNTljMC0uODM0LS4zNDUtMS4xODctMS4xNzgtMS4xODdINi42NzhjLS42NDMgMC0uOTY5LjI5OS0uOTY5Ljg1MSAwIC41NTMuMzQ0Ljg3Ljk3Ljg3aC42OTd2My4zMDZjMCAuOTMzLjYyNSAxLjQ4NSAxLjU0IDEuNDg1Ii8+PC9zdmc+"},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},66087:e=>{"use strict";e.exports=window.lodash},98846:e=>{"use strict";e.exports=window.wc.components},40314:e=>{"use strict";e.exports=window.wc.data},14908:e=>{"use strict";e.exports=window.wc.experimental},96476:e=>{"use strict";e.exports=window.wc.navigation},42435:e=>{"use strict";e.exports=window.wc.sanitize},83306:e=>{"use strict";e.exports=window.wc.tracks},15703:e=>{"use strict";e.exports=window.wc.wcSettings},20195:e=>{"use strict";e.exports=window.wp.a11y},1455:e=>{"use strict";e.exports=window.wp.apiFetch},56427:e=>{"use strict";e.exports=window.wp.components},29491:e=>{"use strict";e.exports=window.wp.compose},3582:e=>{"use strict";e.exports=window.wp.coreData},47143:e=>{"use strict";e.exports=window.wp.data},38443:e=>{"use strict";e.exports=window.wp.date},64040:e=>{"use strict";e.exports=window.wp.deprecated},86087:e=>{"use strict";e.exports=window.wp.element},52619:e=>{"use strict";e.exports=window.wp.hooks},18537:e=>{"use strict";e.exports=window.wp.htmlEntities},27723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives},13053:e=>{"use strict";e.exports=window.wp.privateApis},93832:e=>{"use strict";e.exports=window.wp.url},10979:e=>{"use strict";e.exports=window.wp.warning},4921:(e,t,n)=>{"use strict";function i(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=i(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=i(e))&&(o&&(o+=" "),o+=t);return o}}},s={};function r(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e](n,n.exports,r),n.exports}r.m=o,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var o=Object.create(null);r.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var c=2&i&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,r.d(o,s),o},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+({1226:"settings-payments-main",2985:"settings-payments-woocommerce-payments",3363:"settings-email-listing-styles",3501:"settings-payments-cod",6620:"settings-payments-cheque",7006:"settings-email-listing-styles-rtl",7210:"settings-payments-offline",7392:"settings-email-listing",9680:"settings-payments-bacs"}[e]||e)+".js?ver="+{1226:"067a59fcef091248d1e1",1292:"d5eaa7cd00c374a28893",2985:"c4c6d49e6059985d2add",3363:"c7f80e17451611745033",3501:"03d1ba0637699b1a67e2",3590:"8742a5cce7422ca826cf",3665:"793dc20ebffeb4818867",4898:"4979962b95651e85b73e",5453:"a7a27117ad807dede406",6313:"aa43939c66e32def1338",6620:"7fab2869ab3564efcb87",7006:"7b901c5c7a863fb7073c",7210:"ca4bcc961113c88ae7b0",7392:"95b993830198a60e3d4c",8113:"664f8ebb5aea28000c0c",9680:"ccc4be23eaaec32e026e"}[e],r.miniCssF=e=>"chunks/"+({1226:"settings-payments-main",2985:"settings-payments-woocommerce-payments",3363:"settings-email-listing-styles",3501:"settings-payments-cod",6620:"settings-payments-cheque",7006:"settings-email-listing-styles-rtl",7210:"settings-payments-offline",9680:"settings-payments-bacs"}[e]||e)+".style.css?ver="+{1226:"e20b703d88761319b1de",2985:"a1c1367eb17f5e9da028",3363:"bbec77a29517c5a18a6f",3501:"8d663eae4ba23cd1f9c1",6313:"60eb5321ffcbec5cd5fc",6620:"8d663eae4ba23cd1f9c1",7006:"a0ebae1e8073966f4776",7210:"cdb2034fcca441d5abb8",9680:"0429918bdb46cfa4f063"}[e],r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i="__wcAdmin_webpackJsonp:",r.l=(e,t,o,s)=>{if(n[e])n[e].push(t);else{var c,a;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var M=u[l];if(M.getAttribute("src")==e||M.getAttribute("data-webpack")==i+o){c=M;break}}c||(a=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",i+o),c.src=e),n[e]=[t];var d=(t,i)=>{c.onerror=c.onload=null,clearTimeout(g);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(i)),t)return t(i)},g=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),a&&document.head.appendChild(c)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=n[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{if("undefined"!=typeof document){var e={6952:0};r.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{1226:1,2985:1,3363:1,3501:1,6313:1,6620:1,7006:1,7210:1,9680:1}[t]&&n.push(e[t]=(e=>new Promise((t,n)=>{var i=r.miniCssF(e),o=r.p+i;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var o=(r=n[i]).getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var r;if((o=(r=s[i]).getAttribute("data-href"))===e||o===t)return r}})(i,o))return t();((e,t,n,i,o)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",r.nc&&(s.nonce=r.nc),s.onerror=s.onload=n=>{if(s.onerror=s.onload=null,"load"===n.type)i();else{var r=n&&n.type,c=n&&n.target&&n.target.href||t,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+c+")");a.name="ChunkLoadError",a.code="CSS_CHUNK_LOAD_FAILED",a.type=r,a.request=c,s.parentNode&&s.parentNode.removeChild(s),o(a)}},s.href=t,"rtl"===document.dir&&(s.setAttribute("data-href",t),s.href=t.replace(/\.css(?:$|\?)/,"-rtl$&")),document.head.appendChild(s)})(e,o,0,t,n)}))(t).then(()=>{e[t]=0},n=>{throw delete e[t],n}))}}})(),(()=>{var e={6952:0};r.f.j=(t,n)=>{var i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((n,o)=>i=e[t]=[n,o]);n.push(i[2]=o);var s=r.p+r.u(t),c=new Error;r.l(s,n=>{if(r.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",c.name="ChunkLoadError",c.type=o,c.request=s,i[1](c)}},"chunk-"+t,t)}};var t=(t,n)=>{var i,o,[s,c,a]=n,u=0;if(s.some(t=>0!==e[t])){for(i in c)r.o(c,i)&&(r.m[i]=c[i]);a&&a(r)}for(t&&t(n);u<s.length;u++)o=s[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.nc=void 0,(()=>{"use strict";var e=r(86087),t=r(70288),n=r(64040),i=r.n(n);const o={"activity-panels":{deprecatedSince:"11.1.0",removedIn:null},analytics:{deprecatedSince:"11.1.0",removedIn:null},"analytics-scheduled-import":{deprecatedSince:"11.1.0",removedIn:null},"experimental-iapi-mini-cart":{deprecatedSince:"11.1.0",removedIn:null},coupons:{deprecatedSince:"11.1.0",removedIn:null},"core-profiler":{deprecatedSince:"11.1.0",removedIn:null},"customize-store":{deprecatedSince:"11.1.0",removedIn:null},"customer-effort-score-tracks":{deprecatedSince:"11.1.0",removedIn:null},"import-products-task":{deprecatedSince:"11.1.0",removedIn:null},"experimental-fashion-sample-products":{deprecatedSince:"11.1.0",removedIn:null},"shipping-smart-defaults":{deprecatedSince:"11.1.0",removedIn:null},"shipping-setting-tour":{deprecatedSince:"11.1.0",removedIn:null},homescreen:{deprecatedSince:"11.1.0",removedIn:null},marketing:{deprecatedSince:"11.1.0",removedIn:null},"mobile-app-banner":{deprecatedSince:"11.1.0",removedIn:null},onboarding:{deprecatedSince:"11.1.0",removedIn:null},"onboarding-tasks":{deprecatedSince:"11.1.0",removedIn:null},"pattern-toolkit-full-composability":{deprecatedSince:"11.1.0",removedIn:null},"payment-gateway-suggestions":{deprecatedSince:"11.1.0",removedIn:null},"product-custom-fields":{deprecatedSince:"11.1.0",removedIn:null},printful:{deprecatedSince:"11.1.0",removedIn:null},"remote-inbox-notifications":{deprecatedSince:"11.1.0",removedIn:null},"remote-free-extensions":{deprecatedSince:"11.1.0",removedIn:null},"shipping-label-banner":{deprecatedSince:"11.1.0",removedIn:null},subscriptions:{deprecatedSince:"11.1.0",removedIn:null},"transient-notices":{deprecatedSince:"11.1.0",removedIn:null},"wc-pay-promotion":{deprecatedSince:"11.1.0",removedIn:null},"wc-pay-welcome-page":{deprecatedSince:"11.1.0",removedIn:null},"woo-mobile-welcome":{deprecatedSince:"11.1.0",removedIn:null},"launch-your-store":{deprecatedSince:"11.1.0",removedIn:null}},s="__wcRetiredFeatureFlagsProxy";function c(e){const n=function(e){const n=(0,t.Qk)("features");return n&&n[e]}(e);return Boolean(n?.is_enabled)}"undefined"!=typeof window&&window.wcAdminFeatures&&!window.wcAdminFeatures[s]&&(window.wcAdminFeatures=new Proxy(window.wcAdminFeatures,{get(e,t,n){var s;return"string"==typeof t&&(s=t,Object.hasOwn(o,s))&&(e=>{const t=(e=>o[e]?.deprecatedSince)(e);if(!t)return;const n=(e=>o[e]?.removedIn)(e);i()(`wcAdminFeatures.${e}`,{since:t,plugin:"WooCommerce",hint:`The ${e} WC Admin feature flag shim will be removed in ${n?`WooCommerce ${n}`:"a future version of WooCommerce"}.`})})(t),Reflect.get(e,t,n)}}),Object.defineProperty(window.wcAdminFeatures,s,{value:!0}));var a=r(64218),u=r(56427),l=r(33068),M=r(51609);function d(e){let{basename:t,children:n,history:i}=e;const[o,s]=(0,M.useState)({action:i.action,location:i.location});return(0,M.useLayoutEffect)(()=>i.listen(s),[i]),(0,M.createElement)(l.Ix,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i})}var g=r(96476),j=r(27723);const m=window.wp.plugins,L=window.wc.adminLayout;var N=r(39793);const y=["activity-panel-header-item"];let I=!1;const p=({title:e,description:t,hasButton:n,buttonLabel:i,onButtonClick:o})=>(I||((0,m.getPlugins)("woocommerce-admin").forEach(e=>{y.includes(e.name)&&(0,m.unregisterPlugin)(e.name)}),(0,m.registerPlugin)("settings-payments-offline-header",{render:()=>(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(L.WooHeaderPageTitle,{children:(0,N.jsx)("span",{className:"woocommerce-settings-payments-header__title",children:e})}),n&&(0,N.jsx)(L.WooHeaderItem,{children:(0,N.jsx)(u.Button,{variant:"primary",onClick:o,isBusy:!1,disabled:!1,children:i})}),t&&(0,N.jsx)(L.WooHeaderItem,{children:(0,N.jsx)("div",{className:"woocommerce-settings-payments-header__description",children:t})})]}),scope:"woocommerce-admin"}),I=!0),null);var h=r(98822),w=r(80892);const D=(0,e.lazy)(()=>Promise.all([r.e(3590),r.e(8113),r.e(6313),r.e(1292),r.e(1226)]).then(r.bind(r,30968))),x=(0,e.lazy)(()=>Promise.all([r.e(1292),r.e(7210)]).then(r.bind(r,91338))),S=(0,e.lazy)(()=>r.e(2985).then(r.bind(r,49791))),A=(0,e.lazy)(()=>Promise.all([r.e(3590),r.e(4898),r.e(5453),r.e(9680)]).then(r.bind(r,2057))),f=(0,e.lazy)(()=>Promise.all([r.e(3590),r.e(4898),r.e(5453),r.e(3501)]).then(r.bind(r,65061))),T=(0,e.lazy)(()=>Promise.all([r.e(3590),r.e(4898),r.e(5453),r.e(6620)]).then(r.bind(r,31346))),z=({title:t,chunkComponent:n})=>((0,e.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("div",{className:"settings-payments-offline__container",children:(0,N.jsxs)("div",{className:"settings-payment-gateways",children:[(0,N.jsx)("div",{className:"settings-payments-offline__header",children:(0,N.jsx)("h1",{className:"components-truncate components-text woocommerce-layout__header-heading woocommerce-layout__header-left-align settings-payments-offline__header-title",children:(0,N.jsx)(h.o,{href:(0,g.getNewPath)({},"/offline"),tooltipText:(0,j.__)("Return to offline payment methods","woocommerce"),isRoute:!0,from:"woopayments_payment_methods",children:(0,N.jsx)("span",{className:"woocommerce-settings-payments-header__title",children:t})})})}),(0,N.jsx)(e.Suspense,{fallback:(0,N.jsx)(u.Placeholder,{}),children:(0,N.jsx)(n,{})})]})})})),v=()=>{const t=(0,l.zy)();return(0,e.useEffect)(()=>{""===t.pathname&&(()=>{const e=document.querySelector(".woo-nav-tab-wrapper");e&&(e.style.display="flex")})()},[t]),(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(e.Suspense,{fallback:(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)("div",{className:"settings-payments-main__container",children:[(0,N.jsxs)("div",{className:"settings-payment-gateways",children:[(0,N.jsxs)("div",{className:"settings-payment-gateways__header",children:[(0,N.jsx)("div",{className:"settings-payment-gateways__header-title",children:(0,j.__)("Payment providers","woocommerce")}),(0,N.jsx)("div",{className:"settings-payment-gateways__header-select-container",children:(0,N.jsx)(u.SelectControl,{className:"woocommerce-select-control__country",prefix:(0,j.__)("Business location :","woocommerce"),placeholder:"",label:"",options:[],onChange:()=>{}})})]}),(0,N.jsx)(w.i,{rows:5})]}),(0,N.jsx)("div",{className:"other-payment-gateways",children:(0,N.jsxs)("div",{className:"other-payment-gateways__header",children:[(0,N.jsxs)("div",{className:"other-payment-gateways__header__title",children:[(0,N.jsx)("span",{children:(0,j.__)("More payment options","woocommerce")}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"}),(0,N.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"}),(0,N.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"})]})]}),(0,N.jsx)(u.Button,{variant:"link",onClick:()=>{},"aria-expanded":!1,children:(0,N.jsx)(a.A,{icon:"chevron-down"})})]})})]})}),children:(0,N.jsx)(D,{})})})},E=()=>((0,e.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)("div",{className:"settings-payments-offline__container",children:[(0,N.jsx)("div",{className:"settings-payments-offline__header",children:(0,N.jsx)("h1",{className:"components-truncate components-text woocommerce-layout__header-heading woocommerce-layout__header-left-align",children:(0,N.jsx)(h.o,{href:(0,g.getNewPath)({page:"wc-settings",tab:"checkout"},"/",{}),tooltipText:(0,j.__)("Return to payments settings","woocommerce"),isRoute:!0,from:"woopayments_payment_methods",children:(0,N.jsx)("span",{className:"woocommerce-settings-payments-header__title",children:(0,j.__)("Take offline payments","woocommerce")})})})}),(0,N.jsx)(e.Suspense,{fallback:(0,N.jsx)(w.i,{rows:3}),children:(0,N.jsx)(x,{})})]})})),C=()=>(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(p,{title:(0,j.__)("Settings","woocommerce")}),(0,N.jsx)(e.Suspense,{fallback:(0,N.jsx)("div",{children:(0,j.sprintf)((0,j.__)("Loading %s settings…","woocommerce"),"WooPayments")}),children:(0,N.jsx)(S,{})})]}),_=()=>z({title:(0,j.__)("Direct bank transfer","woocommerce"),chunkComponent:A}),b=()=>z({title:(0,j.__)("Cash on delivery","woocommerce"),chunkComponent:f}),O=()=>z({title:(0,j.__)("Check payments","woocommerce"),chunkComponent:T}),Y=()=>(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(p,{title:(0,j.__)("Settings","woocommerce")}),(0,N.jsx)(d,{history:(0,g.getHistory)(),children:(0,N.jsxs)(l.BV,{children:[(0,N.jsx)(l.qh,{path:"/offline",element:(0,N.jsx)(E,{})}),(0,N.jsx)(l.qh,{path:"/offline/bacs",element:(0,N.jsx)(_,{})}),(0,N.jsx)(l.qh,{path:"/offline/cod",element:(0,N.jsx)(b,{})}),(0,N.jsx)(l.qh,{path:"/offline/cheque",element:(0,N.jsx)(O,{})}),(0,N.jsx)(l.qh,{path:"/*",element:(0,N.jsx)(v,{})})]})})]}),k="__EXPERIMENTAL__WcAdminSettingsSlots",{Slot:U}=(0,u.createSlotFill)(k);var Q=r(85703),Z=r(11789),P=r(5573),R=(0,N.jsx)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,N.jsx)(P.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})}),G=r(47143);const W=window.wp.notices;var B=r(83306);const{Fill:H}=(0,u.createSlotFill)(k),V="woocommerce-admin-tax-settings-conflict-warning",F=()=>(0,N.jsx)(u.Button,{href:"https://woocommerce.com/document/setting-up-taxes-in-woocommerce/",target:"_blank",children:(0,j.__)("Learn more","woocommerce")}),J=()=>{const[t,n]=(0,e.useState)(!1),[i,o]=(0,e.useState)("yes"===document.forms.mainform.elements.woocommerce_prices_include_tax?.value?"incl":"excl"),[s,r]=(0,e.useState)(window.jQuery("#woocommerce_tax_display_shop").val()),[c,a]=(0,e.useState)(window.jQuery("#woocommerce_tax_display_cart").val()),{createNotice:l}=(0,G.useDispatch)(W.store),M=()=>{window.jQuery("#woocommerce_tax_display_shop").val(i).trigger("change"),window.jQuery("#woocommerce_tax_display_cart").val(i).trigger("change"),l("success",(0,j.__)("Recommended settings applied.","woocommerce")),(0,B.recordEvent)("tax_settings_conflict_recommended_settings_clicked")},d=()=>(0,N.jsx)(u.Button,{variant:"primary",onClick:M,children:(0,j.__)("Use recommended settings","woocommerce")});(0,e.useEffect)(()=>{document.querySelectorAll("input[name='woocommerce_prices_include_tax']").forEach(e=>{e.addEventListener("change",()=>o("yes"===document.forms.mainform.elements.woocommerce_prices_include_tax.value?"incl":"excl"))})},[]),(0,e.useEffect)(()=>{window.jQuery("#woocommerce_tax_display_shop").on("click change",()=>r(document.getElementById("woocommerce_tax_display_shop").value))},[]),(0,e.useEffect)(()=>{window.jQuery("#woocommerce_tax_display_cart").on("click change",()=>a(document.getElementById("woocommerce_tax_display_cart").value))},[]);const[g,m]=(0,e.useState)(!1);return(0,e.useEffect)(()=>{s===i&&c===i?m(!1):(m(!0),(0,B.recordEvent)("tax_settings_conflict",{main:i,shop:s,cart:c}))},[c,s,i]),!g||t?(0,N.jsx)(H,{}):(0,N.jsx)(H,{children:(0,N.jsx)("div",{className:"woocommerce_tax_settings_conflict_error",children:(0,N.jsx)(u.Card,{children:(0,N.jsxs)(u.CardBody,{className:"woocommerce_tax_settings_conflict_error_card_body",children:[(0,N.jsx)("div",{children:(0,N.jsx)("img",{className:"woocommerce_tax_settings_conflict_error_card_body__warning_icon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguNTc0NjUgMy4yMTYzNUwxLjUxNjMyIDE0Ljk5OTdDMS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VuZCIvPgo8cGF0aCBkPSJNMTAgMTQuMTY4SDEwLjAwODMiIHN0cm9rZT0iI0U2NTA1NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==",alt:"Warning Icon"})}),(0,N.jsxs)("div",{children:[(0,N.jsx)("div",{className:"woocommerce_tax_settings_conflict_error_card_body__body_text",children:(0,N.jsx)("p",{style:{fontSize:13},children:(0,Q.A)({mixedString:(0,j.__)("{{b}}Inconsistent tax settings:{{/b}} To avoid possible rounding errors, prices should be entered and displayed consistently in all locations either including, or excluding taxes.","woocommerce"),components:{b:(0,N.jsx)("b",{})}})})}),(0,N.jsxs)("div",{className:"woocommerce_tax_settings_conflict_error_card_body__buttons",children:[(0,N.jsx)(d,{})," ",(0,N.jsx)(F,{})]})]}),(0,N.jsx)("div",{children:(0,N.jsx)(u.Button,{className:"woocommerce_tax_settings_conflict_error_card_body__close_icon",onClick:()=>{n(!0),(0,B.recordEvent)("tax_settings_conflict_dismissed")},children:(0,N.jsx)(Z.A,{icon:R})})})]})})})})};var X=r(15703),$=r(40314),q=r(11105);const K=()=>{(0,B.recordEvent)("settings_payments_banner_connect_click")},ee=()=>{const e=(0,X.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,t.Qk)("wcpay_welcome_page_connect_nonce")),n=(0,G.useSelect)(e=>e($.paymentSettingsStore).getIsWooPayEligible(),[]);return(0,N.jsxs)(q.WCPayBanner,{children:[(0,N.jsx)(q.WCPayBannerBody,{textPosition:"right",actionButton:(0,N.jsx)(u.Button,{href:e,isPrimary:!0,onClick:K,children:(0,j.__)("Get started","woocommerce")}),isWooPayEligible:n}),(0,N.jsx)(q.WCPayBannerFooter,{isWooPayEligible:n})]})},te=()=>(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("h2",{children:(0,j.__)("Payment Methods","woocommerce")}),(0,N.jsx)("div",{id:"payment_gateways_options-description",children:(0,N.jsx)("p",{children:(0,j.__)("Installed payment methods are listed below and can be sorted to control their display order on the frontend.","woocommerce")})})]}),ne=()=>{const{hasFinishedResolution:e,shouldShowBanner:t}=(()=>{const{installedPaymentGateways:e,paymentGatewaySuggestions:t,hasFinishedResolution:n}=(0,G.useSelect)(e=>({installedPaymentGateways:e($.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateways(),paymentGatewaySuggestions:e($.onboardingStore).getPaymentGatewaySuggestions(),hasFinishedResolution:e($.onboardingStore).hasFinishedResolution("getPaymentGatewaySuggestions",[])&&e($.PAYMENT_GATEWAYS_STORE_NAME).hasFinishedResolution("getPaymentGateways")}),[]),i=e.some(e=>"woocommerce_payments"===e.id),o=e.find(e=>"woocommerce_payments"===e.id&&!1===e.enabled),s=(e=>e&&1===e.filter(e=>0===e.id.indexOf("woocommerce_payments")).length)(t)&&i&&o;return{hasFinishedResolution:n,shouldShowBanner:s}})();return e&&t?(0,N.jsx)(ee,{}):(0,N.jsx)(te,{})},{Fill:ie}=(0,u.createSlotFill)(k),oe="woocommerce-admin-paymentsgateways-settings-banner",se=()=>(0,N.jsx)(ie,{children:(0,N.jsx)(ne,{})});var re=r(98846),ce=r(4921),ae=r(29491),ue=r(3582);const le=({formRef:t,saveButtonRef:n,currentSetting:i})=>{const[o,s]=(0,e.useState)(null),[r,c]=(0,e.useState)(!1),a=i?.woocommerce_coming_soon??"no";(0,e.useEffect)(()=>{const e=t.current,n=t=>{const n=new FormData(e);"no"===a&&"yes"===n.get("woocommerce_coming_soon")&&(t.preventDefault(),c(!0),s(t))};return e&&e.addEventListener("submit",n),()=>{e&&e.removeEventListener("submit",n)}},[i,t]);const l=()=>{s(null),c(!1),n.current&&n.current.classList.remove("is-busy")};return r?(0,N.jsxs)(u.Modal,{title:(0,j.__)("Confirm switch to ‘Coming soon’ mode","woocommerce"),onRequestClose:l,size:"medium",className:"site-visibility-settings-confirmation-modal",children:[(0,N.jsx)("div",{className:"site-visibility-settings-confirmation-modal__content",children:(0,j.__)("Are you sure you want to switch from live to coming soon mode? Your site will not be visible, and customers won’t be able to make purchases during this time.","woocommerce")}),(0,N.jsx)("div",{className:"divider-container",children:(0,N.jsx)("hr",{})}),(0,N.jsxs)("div",{className:"site-visibility-settings-confirmation-modal__buttons",children:[(0,N.jsx)(u.Button,{variant:"primary",isBusy:!1,onClick:()=>{if(o){if(n.current&&t.current){const e=document.createElement("input");e.type="hidden",e.name=n.current.name||"save",e.value=n.current.value||(0,j.__)("Save changes","woocommerce"),t.current.appendChild(e)}o.target.submit(),s(null)}c(!1)},children:(0,j.__)("Switch","woocommerce")}),(0,N.jsx)(u.Button,{variant:"tertiary",onClick:l,children:(0,j.__)("Cancel","woocommerce")})]})]}):null},{Fill:Me}=(0,u.createSlotFill)(k),de="woocommerce-admin-site-visibility-settings-slotfill",ge=()=>{const t=window?.wcSettings?.admin?.siteVisibilitySettings||{},n=t?.woocommerce_share_key,[i,o]=(0,e.useState)(t?.woocommerce_coming_soon||"no"),[s,r]=(0,e.useState)(t?.woocommerce_store_pages_only||"no"),[c,a]=(0,e.useState)(t?.woocommerce_private_link||"no"),[l,M]=(0,e.useState)(t?.woocommerce_feature_site_visibility_badge_enabled||"yes"),d=(0,e.useRef)(null),g=(0,e.useRef)(null),m=(0,G.useSelect)(e=>e(ue.store).getDefaultTemplateId({slug:"coming-soon"}),[]);(0,e.useEffect)(()=>{const e=document.getElementsByClassName("woocommerce-save-button")[0];e&&(g.current=e);const t=document.querySelector("#mainform");t&&(d.current=t)},[]),(0,e.useEffect)(()=>{const e=t.woocommerce_coming_soon,n=t.woocommerce_store_pages_only,o=t.woocommerce_private_link||"no",r=t.woocommerce_feature_site_visibility_badge_enabled||"yes",a=i,u=s,M=c,d=l,g=document.getElementsByClassName("woocommerce-save-button")[0];g&&(g.disabled=e===a&&n===u&&o===M&&r===d)},[i,s,c,l,t.woocommerce_coming_soon,t.woocommerce_store_pages_only,t.woocommerce_private_link,t.woocommerce_feature_site_visibility_badge_enabled]);const L=(0,j.__)("Copy link","woocommerce"),y=(0,j.__)("Copied!","woocommerce"),[I,p]=(0,e.useState)(L),h=()=>{const e=window?.wcSettings,t=e?.homeUrl,i=new URL(t);if("yes"===s){const t=e?.admin?.siteVisibilitySettings?.shop_permalink;t&&(i.href=t)}const o=new URLSearchParams(i.search);return o.set("woo-share",n),i.search=o.toString(),i.toString()},w=(0,ae.useCopyToClipboard)(h,()=>{p(y),setTimeout(()=>{p(L)},2e3)});return(0,N.jsxs)("div",{className:"site-visibility-settings-slotfill",children:[(0,N.jsx)("input",{type:"hidden",value:i,name:"woocommerce_coming_soon"}),(0,N.jsx)("input",{type:"hidden",value:s,name:"woocommerce_store_pages_only"}),(0,N.jsx)("input",{type:"hidden",value:c,name:"woocommerce_private_link"}),(0,N.jsx)("input",{type:"hidden",value:l,name:"woocommerce_feature_site_visibility_badge_enabled"}),(0,N.jsx)("h2",{children:(0,j.__)("Site visibility","woocommerce")}),(0,N.jsx)("p",{className:"site-visibility-settings-slotfill-description",children:(0,e.createInterpolateElement)((0,j.__)("Manage how your site appears to visitors. <a>Learn more</a>","woocommerce"),{a:(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/configuring-woocommerce-settings/coming-soon-mode/"})})}),(0,N.jsxs)("div",{className:"site-visibility-settings-slotfill-section",children:[(0,N.jsx)(u.RadioControl,{onChange:()=>{o("yes"),M("yes"),(0,B.recordEvent)("site_visibility_toggle",{status:"coming_soon"})},options:[{label:(0,j.__)("Coming soon","woocommerce"),value:"yes"}],selected:i}),(0,N.jsx)("p",{className:"site-visibility-settings-slotfill-section-description",children:(0,X.getSetting)("currentThemeIsFSETheme")?(0,e.createInterpolateElement)((0,j.__)("Your site is hidden from visitors behind a “Coming soon” landing page until it’s ready for viewing. You can customize your “Coming soon” landing page via the <a>Editor</a>.","woocommerce"),{a:(0,e.createElement)("a",{target:"_blank",href:m?(0,X.getAdminLink)(`site-editor.php?postType=wp_template&postId=${m}&canvas=edit`):(0,X.getAdminLink)("site-editor.php")})}):(0,j.__)("Your site is hidden from visitors behind a “Coming soon” landing page until it’s ready for viewing.","woocommerce")}),(0,N.jsxs)("div",{className:(0,ce.A)("site-visibility-settings-slotfill-section-content",{"is-hidden":"yes"!==i}),children:[(0,N.jsx)(u.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,N.jsxs)(N.Fragment,{children:[(0,j.__)("Apply to store pages only","woocommerce"),(0,N.jsx)("p",{children:(0,j.__)('Display a "coming soon" message on your store pages — the rest of your site will remain visible.',"woocommerce")})]}),checked:"yes"===s,onChange:e=>{r("yes"===s?"no":"yes"),(0,B.recordEvent)("site_visibility_restrict_store_pages_only_toggle",{enabled:e})}}),(0,N.jsx)(u.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,N.jsxs)(N.Fragment,{children:[(0,j.__)("Share your site with a private link","woocommerce"),(0,N.jsx)("p",{children:(0,j.__)("Share your site with anyone using a private link.","woocommerce")})]}),checked:"yes"===c,onChange:e=>{a("yes"===c?"no":"yes"),(0,B.recordEvent)("site_visibility_share_private_link_toggle",{enabled:e})}})]}),"yes"===i&&"yes"===c&&(0,N.jsxs)("div",{className:"site-visibility-settings-slotfill-private-link",children:[(0,N.jsx)("input",{value:h(),readOnly:!0}),(0,N.jsx)(u.Button,{ref:w,variant:"link",onClick:()=>{(0,B.recordEvent)("site_visibility_private_link_copy")},children:I})]})]}),(0,N.jsxs)("div",{className:"site-visibility-settings-slotfill-section",children:[(0,N.jsx)(u.RadioControl,{onChange:()=>{o("no"),M("no"),(0,B.recordEvent)("site_visibility_toggle",{status:"live"})},options:[{label:(0,j.__)("Live","woocommerce"),value:"no"}],selected:i}),(0,N.jsx)("p",{className:"site-visibility-settings-slotfill-section-description",children:(0,j.__)("Your entire site is visible to everyone.","woocommerce")})]}),(0,N.jsx)("div",{className:"site-visibility-settings-slotfill-section",children:(0,N.jsx)("div",{className:"site-visibility-settings-slotfill-section-content site-visibility-settings-slotfill-section-visibility-badge",children:(0,N.jsx)(u.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,N.jsxs)(N.Fragment,{children:[(0,j.__)("Display site visibility badge in admin bar","woocommerce"),(0,N.jsx)("p",{children:(0,j.__)("Show the site visibility status badge in the WordPress admin bar.","woocommerce")})]}),checked:"yes"===l,onChange:e=>{M(e?"yes":"no"),(0,B.recordEvent)("site_visibility_badge_toggle",{enabled:e})}})})}),d.current&&g.current?(0,N.jsx)(le,{saveButtonRef:g,formRef:d,currentSetting:t}):null]})},je=()=>(0,N.jsx)(Me,{children:(0,N.jsx)(ge,{})});var me=r(1455),Le=r.n(me),Ne=(0,N.jsx)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,N.jsx)(P.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})}),ye=(0,N.jsxs)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,N.jsx)(P.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,N.jsx)(P.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]}),Ie=(0,N.jsx)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,N.jsx)(P.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),pe=r(54331),he=r(29471),we=(0,N.jsx)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,N.jsx)(P.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})}),De=M.useLayoutEffect;const xe=e=>{if("undefined"==typeof window)return;const t=function(){const e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:void 0;if(e.__xstate__)return e.__xstate__}();t&&t.register(e)};class Se{constructor(e){this._process=e,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(e){const t={value:e,next:null};if(this._current)return this._last.next=t,void(this._last=t);this._current=t,this._last=t,this._active&&this.flush()}flush(){for(;this._current;){const e=this._current;this._process(e.value),this._current=e.next}this._last=null}}const Ae="xstate.init",fe="xstate.stop";function Te(e,t){return{type:`xstate.done.state.${e}`,output:t}}function ze(e,t){return{type:`xstate.error.actor.${e}`,error:t,actorId:e}}function ve(e){return{type:Ae,input:e}}function Ee(e){setTimeout(()=>{throw e})}const Ce="function"==typeof Symbol&&Symbol.observable||"@@observable";function _e(e,t){const n=Oe(e),i=Oe(t);return"string"==typeof i?"string"==typeof n&&i===n:"string"==typeof n?n in i:Object.keys(n).every(e=>e in i&&_e(n[e],i[e]))}function be(e){if(Ze(e))return e;const t=[];let n="";for(let i=0;i<e.length;i++){switch(e.charCodeAt(i)){case 92:n+=e[i+1],i++;continue;case 46:t.push(n),n="";continue}n+=e[i]}return t.push(n),t}function Oe(e){return(t=e)&&"object"==typeof t&&"machine"in t&&"value"in t?e.value:"string"!=typeof e?e:function(e){if(1===e.length)return e[0];const t={};let n=t;for(let t=0;t<e.length-1;t++)if(t===e.length-2)n[e[t]]=e[t+1];else{const i=n;n={},i[e[t]]=n}return t}(be(e));var t}function Ye(e,t){const n={},i=Object.keys(e);for(let o=0;o<i.length;o++){const s=i[o];n[s]=t(e[s],s,e,o)}return n}function ke(e){return Ze(e)?e:[e]}function Ue(e){return void 0===e?[]:ke(e)}function Qe(e,t,n,i){return"function"==typeof e?e({context:t,event:n,self:i}):e}function Ze(e){return Array.isArray(e)}function Pe(e){return ke(e).map(e=>void 0===e||"string"==typeof e?{target:e}:e)}function Re(e){if(void 0!==e&&""!==e)return Ue(e)}function Ge(e,t,n){const i="object"==typeof e,o=i?e:void 0;return{next:(i?e.next:e)?.bind(o),error:(i?e.error:t)?.bind(o),complete:(i?e.complete:n)?.bind(o)}}function We(e,t){return`${t}.${e}`}function Be(e,t){const n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];const[,i,o]=n,s=e.getStateNodeById(o).config.invoke;return(Array.isArray(s)?s[i]:s).src}function He(e,t){if(t===e)return!0;if("*"===t)return!0;if(!t.endsWith(".*"))return!1;const n=t.split("."),i=e.split(".");for(let e=0;e<n.length;e++){const t=n[e],o=i[e];if("*"===t)return e===n.length-1;if(t!==o)return!1}return!0}function Ve(e,t){return`${e.sessionId}.${t}`}let Fe=0,Je=!1,Xe=function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped",e}({});const $e={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class qe{constructor(e,t){this.logic=e,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new Se(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=Xe.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this.systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const n={...$e,...t},{clock:i,logger:o,parent:s,syncSnapshot:r,id:c,systemId:a,inspect:u}=n;this.system=s?s.system:function(e,t){const n=new Map,i=new Map,o=new WeakMap,s=new Set,r={},{clock:c,logger:a}=t,u={schedule:(e,t,n,i,o=Math.random().toString(36).slice(2))=>{const s={source:e,target:t,event:n,delay:i,id:o,startedAt:Date.now()},a=Ve(e,o);l._snapshot._scheduledEvents[a]=s;const u=c.setTimeout(()=>{delete r[a],delete l._snapshot._scheduledEvents[a],l._relay(e,t,n)},i);r[a]=u},cancel:(e,t)=>{const n=Ve(e,t),i=r[n];delete r[n],delete l._snapshot._scheduledEvents[n],void 0!==i&&c.clearTimeout(i)},cancelAll:e=>{for(const t in l._snapshot._scheduledEvents){const n=l._snapshot._scheduledEvents[t];n.source===e&&u.cancel(e,n.id)}}},l={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>"x:"+Fe++,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);const t=o.get(e);void 0!==t&&(i.delete(t),o.delete(e))},get:e=>i.get(e),getAll:()=>Object.fromEntries(i.entries()),_set:(e,t)=>{const n=i.get(e);if(n&&n!==t)throw new Error(`Actor with system ID '${e}' already exists.`);i.set(e,t),o.set(t,e)},inspect:e=>{const t=Ge(e);return s.add(t),{unsubscribe(){s.delete(t)}}},_sendInspectionEvent:t=>{if(!s.size)return;const n={...t,rootId:e.sessionId};s.forEach(e=>e.next?.(n))},_relay:(e,t,n)=>{l._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:u,getSnapshot:()=>({_scheduledEvents:{...l._snapshot._scheduledEvents}}),start:()=>{const e=l._snapshot._scheduledEvents;l._snapshot._scheduledEvents={};for(const t in e){const{source:n,target:i,event:o,delay:s,id:r}=e[t];u.schedule(n,i,o,s,r)}},_clock:c,_logger:a};return l}(this,{clock:i,logger:o}),u&&!s&&this.system.inspect(Ge(u)),this.sessionId=this.system._bookId(),this.id=c??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=s,this._syncSnapshot=r,this.options=n,this.src=n.src??e,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:e=>{this._deferred.push(e)},system:this.system,stopChild:e=>{if(e._parent!==this)throw new Error(`Cannot stop child actor ${e.id} of ${this.id} because it is not a child`);e._stop()},emit:e=>{const t=this.eventListeners.get(e.type),n=this.eventListeners.get("*");if(!t&&!n)return;const i=[...t?t.values():[],...n?n.values():[]];for(const t of i)try{t(e)}catch(e){Ee(e)}},actionExecutor:e=>{const t=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:e.type,params:e.params}}),!e.exec)return;const t=Je;try{Je=!0,e.exec(e.info,e.params)}finally{Je=t}};this._processingStatus===Xe.Running?t():this._deferred.push(t)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),a&&(this.systemId=a,this.system._set(a,this)),this._initState(t?.snapshot??t?.state),a&&"active"!==this._snapshot.status&&this.system._unregister(this)}_initState(e){try{this._snapshot=e?this.logic.restoreSnapshot?this.logic.restoreSnapshot(e,this._actorScope):e:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(e){this._snapshot={status:"error",output:void 0,error:e}}}update(e,t){let n;for(this._snapshot=e;n=this._deferred.shift();)try{n()}catch(t){this._deferred.length=0,this._snapshot={...e,status:"error",error:t}}switch(this._snapshot.status){case"active":for(const t of this.observers)try{t.next?.(e)}catch(e){Ee(e)}break;case"done":for(const t of this.observers)try{t.next?.(e)}catch(e){Ee(e)}this._stopProcedure(),this._complete(),this._doneEvent={type:`xstate.done.actor.${i=this.id}`,output:this._snapshot.output,actorId:i},this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error)}var i;this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:t,snapshot:e})}subscribe(e,t,n){const i=Ge(e,t,n);if(this._processingStatus!==Xe.Stopped)this.observers.add(i);else switch(this._snapshot.status){case"done":try{i.complete?.()}catch(e){Ee(e)}break;case"error":{const e=this._snapshot.error;if(i.error)try{i.error(e)}catch(e){Ee(e)}else Ee(e);break}}return{unsubscribe:()=>{this.observers.delete(i)}}}on(e,t){let n=this.eventListeners.get(e);n||(n=new Set,this.eventListeners.set(e,n));const i=t.bind(void 0);return n.add(i),{unsubscribe:()=>{n.delete(i)}}}select(e,t=Object.is){return{subscribe:n=>{const i=Ge(n),o=this.getSnapshot();let s=e(o);return this.subscribe(n=>{const o=e(n);t(s,o)||(s=o,i.next?.(o))})},get:()=>e(this.getSnapshot())}}start(){if(this._processingStatus===Xe.Running)return this;this._syncSnapshot&&this.subscribe({next:e=>{"active"===e.status&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:e})},error:()=>{}}),this.system._register(this.sessionId,this),this.systemId&&this.system._set(this.systemId,this),this._processingStatus=Xe.Running;const e=ve(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:e}),this._snapshot.status){case"done":return this.update(this._snapshot,e),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(e){return this._snapshot={...this._snapshot,status:"error",error:e},this._error(e),this}return this.update(this._snapshot,e),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(e){let t,n;try{t=this.logic.transition(this._snapshot,e,this._actorScope)}catch(e){n={err:e}}if(n){const{err:e}=n;return this._snapshot={...this._snapshot,status:"error",error:e},void this._error(e)}this.update(t,e),e.type===fe&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===Xe.Stopped?this:(this.mailbox.clear(),this._processingStatus===Xe.NotStarted?(this._processingStatus=Xe.Stopped,this):(this.mailbox.enqueue({type:fe}),this))}stop(){if(this._parent)throw new Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(const e of this.observers)try{e.complete?.()}catch(e){Ee(e)}this.observers.clear(),this.eventListeners.clear()}_reportError(e){if(!this.observers.size)return this._parent||Ee(e),void this.eventListeners.clear();let t=!1;for(const n of this.observers){const i=n.error;t||=!i;try{i?.(e)}catch(e){Ee(e)}}this.observers.clear(),this.eventListeners.clear(),t&&Ee(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,ze(this.id,e))}_stopProcedure(){return this._processingStatus!==Xe.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new Se(this._process.bind(this)),this._processingStatus=Xe.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==Xe.Stopped&&this.mailbox.enqueue(e)}send(e){this.system._relay(void 0,this,e)}attachDevTools(){const{devTools:e}=this.options;e&&("function"==typeof e?e:xe)(this)}toJSON(){return{xstate$$type:1,id:this.id}}getPersistedSnapshot(e){return this.logic.getPersistedSnapshot(this._snapshot,e)}[Ce](){return this}getSnapshot(){return this._snapshot}}function Ke(e,...[t]){return new qe(e,t)}function et(e,t,n,i,{sendId:o}){return[t,{sendId:"function"==typeof o?o(n,i):o},void 0]}function tt(e,t){e.defer(()=>{e.system.scheduler.cancel(e.self,t.sendId)})}function nt(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=et,t.execute=tt,t}function it(e,t,n,i,{id:o,systemId:s,src:r,input:c,syncSnapshot:a}){const u="string"==typeof r?Be(t.machine,r):r,l="function"==typeof o?o(n):o;let M,d;return u&&(d="function"==typeof c?c({context:t.context,event:n.event,self:e.self}):c,M=Ke(u,{id:l,src:r,parent:e.self,syncSnapshot:a,systemId:s,input:d})),[en(t,{children:{...t.children,[l]:M}}),{id:o,systemId:s,actorRef:M,src:r,input:d},void 0]}function ot(e,{actorRef:t}){t&&e.defer(()=>{t._processingStatus!==Xe.Stopped&&t.start()})}function st(...[e,{id:t,systemId:n,input:i,syncSnapshot:o=!1}={}]){function s(e,t){}return s.type="xstate.spawnChild",s.id=t,s.systemId=n,s.src=e,s.input=i,s.syncSnapshot=o,s.resolve=it,s.execute=ot,s}function rt(e,t,n,i,{actorRef:o}){const s="function"==typeof o?o(n,i):o,r="string"==typeof s?t.children[s]:s;let c=t.children;return r&&(c={...c},delete c[r.id]),[en(t,{children:c}),r,void 0]}function ct(e,t){const n=t.getSnapshot();if(n&&"children"in n)for(const t of Object.values(n.children))ct(e,t);e.system._unregister(t)}function at(e,t){t&&(ct(e,t),t._processingStatus===Xe.Running?e.defer(()=>{e.stopChild(t)}):e.stopChild(t))}function ut(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=rt,t.execute=at,t}function lt(e,t,n,i){const{machine:o}=i,s="function"==typeof e,r=s?e:o.implementations.guards["string"==typeof e?e:e.type];if(!s&&!r)throw new Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof r)return lt(r,t,n,i);const c={context:t,event:n},a=s||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:t,event:n}):e.params:void 0;return"check"in r?r.check(i,c,r):r(c,a)}function Mt(e){return"atomic"===e.type||"final"===e.type}function dt(e){return Object.values(e.states).filter(e=>"history"!==e.type)}function gt(e,t){const n=[];if(t===e)return n;let i=e.parent;for(;i&&i!==t;)n.push(i),i=i.parent;return n}function jt(e){const t=new Set(e),n=Lt(t);for(const e of t)if("compound"!==e.type||n.get(e)&&n.get(e).length){if("parallel"===e.type)for(const n of dt(e))if("history"!==n.type&&!t.has(n)){const e=Dt(n);for(const n of e)t.add(n)}}else Dt(e).forEach(e=>t.add(e));for(const e of t){let n=e.parent;for(;n;)t.add(n),n=n.parent}return t}function mt(e,t){const n=t.get(e);if(!n)return{};if("compound"===e.type){const e=n[0];if(!e)return{};if(Mt(e))return e.key}const i={};for(const e of n)i[e.key]=mt(e,t);return i}function Lt(e){const t=new Map;for(const n of e)t.has(n)||t.set(n,[]),n.parent&&(t.has(n.parent)||t.set(n.parent,[]),t.get(n.parent).push(n));return t}function Nt(e,t){return mt(e,Lt(jt(t)))}function yt(e,t){return"compound"===t.type?dt(t).some(t=>"final"===t.type&&e.has(t)):"parallel"===t.type?dt(t).every(t=>yt(e,t)):"final"===t.type}const It=e=>"#"===e[0];function pt(e,t,n){const i=Re(n.target),o=n.reenter??!1,s=function(e,t){if(void 0!==t)return t.map(t=>{if("string"!=typeof t)return t;if(It(t))return e.machine.getStateNodeById(t);const n="."===t[0];if(n&&!e.parent)return At(e,t.slice(1));const i=n?e.key+t:t;if(!e.parent)throw new Error(`Invalid target: "${t}" is not a valid target from the root node. Did you mean ".${t}"?`);try{return At(e.parent,i)}catch(t){throw new Error(`Invalid transition definition for state node '${e.id}':\n${t.message}`)}})}(e,i),r={...n,actions:Ue(n.actions),guard:n.guard,target:s,source:e,reenter:o,eventType:t,toJSON:()=>({...r,source:`#${e.id}`,target:s?s.map(e=>`#${e.id}`):void 0})};return r}function ht(e){const t=Re(e.config.target);return t?{target:t.map(t=>"string"==typeof t?At(e.parent,t):t)}:e.parent.initial}function wt(e){return"history"===e.type}function Dt(e){const t=xt(e);for(const n of t)for(const i of gt(n,e))t.add(i);return t}function xt(e){const t=new Set;return function e(n){if(!t.has(n))if(t.add(n),"compound"===n.type)e(n.initial.target[0]);else if("parallel"===n.type)for(const t of dt(n))e(t)}(e),t}function St(e,t){if(It(t))return e.machine.getStateNodeById(t);if(!e.states)throw new Error(`Unable to retrieve child state '${t}' from '${e.id}'; no child states exist.`);const n=e.states[t];if(!n)throw new Error(`Child state '${t}' does not exist on '${e.id}'`);return n}function At(e,t){if("string"==typeof t&&It(t))try{return e.machine.getStateNodeById(t)}catch{}const n=be(t).slice();let i=e;for(;n.length;){const e=n.shift();if(!e.length)break;i=St(i,e)}return i}function ft(e,t){if("string"==typeof t){const n=e.states[t];if(!n)throw new Error(`State '${t}' does not exist on '${e.id}'`);return[e,n]}const n=Object.keys(t),i=n.map(t=>St(e,t)).filter(Boolean);return[e.machine.root,e].concat(i,n.reduce((n,i)=>{const o=St(e,i);if(!o)return n;const s=ft(o,t[i]);return n.concat(s)},[]))}function Tt(e,t,n,i){return"string"==typeof t?function(e,t,n,i){const o=St(e,t).next(n,i);return o&&o.length?o:e.next(n,i)}(e,t,n,i):1===Object.keys(t).length?function(e,t,n,i){const o=Object.keys(t),s=Tt(St(e,o[0]),t[o[0]],n,i);return s&&s.length?s:e.next(n,i)}(e,t,n,i):function(e,t,n,i){const o=[];for(const s of Object.keys(t)){const r=t[s];if(!r)continue;const c=Tt(St(e,s),r,n,i);c&&o.push(...c)}return o.length?o:e.next(n,i)}(e,t,n,i)}function zt(e){return Object.keys(e.states).map(t=>e.states[t]).filter(e=>"history"===e.type)}function vt(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function Et(e,t){const n=new Set(e),i=new Set(t);for(const e of n)if(i.has(e))return!0;for(const e of i)if(n.has(e))return!0;return!1}function Ct(e,t,n){const i=new Set;for(const o of e){let e=!1;const s=new Set;for(const r of i)if(Et(Ot([o],t,n),Ot([r],t,n))){if(!vt(o.source,r.source)){e=!0;break}s.add(r)}if(!e){for(const e of s)i.delete(e);i.add(o)}}return Array.from(i)}function _t(e,t){if(!e.target)return[];const n=new Set;for(const i of e.target)if(wt(i))if(t[i.id])for(const e of t[i.id])n.add(e);else for(const e of _t(ht(i),t))n.add(e);else n.add(i);return[...n]}function bt(e,t){const n=_t(e,t);if(!n)return;if(!e.reenter&&n.every(t=>t===e.source||vt(t,e.source)))return e.source;return function(e){const[t,...n]=e;for(const e of gt(t,void 0))if(n.every(t=>vt(t,e)))return e}(n.concat(e.source))||(e.reenter?void 0:e.source.machine.root)}function Ot(e,t,n){const i=new Set;for(const o of e)if(o.target?.length){const e=bt(o,n);o.reenter&&o.source===e&&i.add(e);for(const n of t)vt(n,e)&&i.add(n)}return[...i]}function Yt(e,t,n,i,o,s){const r=[];if(!e.length)return[t,r];const c=n.actionExecutor;n.actionExecutor=e=>{r.push(e),c(e)};try{const c=new Set(t._nodes);let a=t.historyValue;const u=Ct(e,c,a);let l=t;o||([l,a]=function(e,t,n,i,o,s,r){let c=e;const a=Ot(i,o,s);let u;a.sort((e,t)=>t.order-e.order);for(const e of a)for(const t of zt(e)){let n;n="deep"===t.history?t=>Mt(t)&&vt(t,e):t=>t.parent===e,u??={...s},u[t.id]=Array.from(o).filter(n)}for(const e of a)c=Gt(c,t,n,[...e.exit,...e.invoke.map(e=>ut(e.id))],r,void 0),o.delete(e);return[c,u||s]}(l,i,n,u,c,a,s,n.actionExecutor)),l=Gt(l,i,n,u.flatMap(e=>e.actions),s,void 0),l=function(e,t,n,i,o,s,r,c){let a=e;const u=new Set,l=new Set;(function(e,t,n,i){for(const o of e){const e=bt(o,t);for(const s of o.target||[])wt(s)||o.source===s&&o.source===e&&!o.reenter||(i.add(s),n.add(s)),Ut(s,t,n,i);const s=_t(o,t);for(const r of s){const s=gt(r,e);"parallel"===e?.type&&s.push(e),Qt(i,t,n,s,!o.source.parent&&o.reenter?void 0:e)}}})(i,r,l,u),c&&l.add(e.machine.root);const M=new Set;for(const e of[...u].sort((e,t)=>e.order-t.order)){o.add(e);const i=[];i.push(...e.entry);for(const t of e.invoke)i.push(st(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(l.has(e)){const t=e.initial.actions;i.push(...t)}if(a=Gt(a,t,n,i,s,e.invoke.map(e=>e.id)),"final"===e.type){const i=e.parent;let r="parallel"===i?.type?i:i?.parent,c=r||e;for("compound"===i?.type&&s.push(Te(i.id,void 0!==e.output?Qe(e.output,a.context,t,n.self):void 0));"parallel"===r?.type&&!M.has(r)&&yt(o,r);)M.add(r),s.push(Te(r.id)),c=r,r=r.parent;if(r)continue;a=en(a,{status:"done",output:kt(a,t,n,a.machine.root,c)})}}return a}(l,i,n,u,c,s,a,o);const M=[...c];"done"===l.status&&(l=Gt(l,i,n,M.sort((e,t)=>t.order-e.order).flatMap(e=>e.exit),s,void 0));try{return a===t.historyValue&&function(e,t){if(e.length!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(t._nodes,c)?[l,r]:[en(l,{_nodes:M,historyValue:a}),r]}catch(e){throw e}}finally{n.actionExecutor=c}}function kt(e,t,n,i,o){if(void 0===i.output)return;const s=Te(o.id,void 0!==o.output&&o.parent?Qe(o.output,e.context,t,n.self):void 0);return Qe(i.output,e.context,s,n.self)}function Ut(e,t,n,i){if(wt(e))if(t[e.id]){const o=t[e.id];for(const e of o)i.add(e),Ut(e,t,n,i);for(const s of o)Zt(s,e.parent,i,t,n)}else{const o=ht(e);for(const s of o.target)i.add(s),o===e.parent?.initial&&n.add(e.parent),Ut(s,t,n,i);for(const s of o.target)Zt(s,e.parent,i,t,n)}else if("compound"===e.type){const[o]=e.initial.target;wt(o)||(i.add(o),n.add(o)),Ut(o,t,n,i),Zt(o,e,i,t,n)}else if("parallel"===e.type)for(const o of dt(e).filter(e=>!wt(e)))[...i].some(e=>vt(e,o))||(wt(o)||(i.add(o),n.add(o)),Ut(o,t,n,i))}function Qt(e,t,n,i,o){for(const s of i)if(o&&!vt(s,o)||e.add(s),"parallel"===s.type)for(const i of dt(s).filter(e=>!wt(e)))[...e].some(e=>vt(e,i))||(e.add(i),Ut(i,t,n,e))}function Zt(e,t,n,i,o){Qt(n,i,o,gt(e,t))}function Pt(e,t){return e.implementations.actions[t]}function Rt(e,t,n,i,o,s){const{machine:r}=e;let c=e;for(const e of i){const i="function"==typeof e,a=i?e:Pt(r,"string"==typeof e?e:e.type),u={context:c.context,event:t,self:n.self,system:n.system},l=i||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:c.context,event:t}):e.params:void 0;if(!a||!("resolve"in a)){n.actionExecutor({type:"string"==typeof e?e:"object"==typeof e?e.type:e.name||"(anonymous)",info:u,params:l,exec:a});continue}const M=a,[d,g,j]=M.resolve(n,c,u,l,a,o);c=d,"retryResolve"in M&&s?.push([M,g]),"execute"in M&&n.actionExecutor({type:M.type,info:u,params:g,exec:M.execute.bind(null,n,g)}),j&&(c=Rt(c,t,n,j,o,s))}return c}function Gt(e,t,n,i,o,s){const r=s?[]:void 0,c=Rt(e,t,n,i,{internalQueue:o,deferredActorIds:s},r);return r?.forEach(([e,t])=>{e.retryResolve(n,c,t)}),c}function Wt(e,t,n,i){let o=e;const s=[];function r(e,t,i){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e[0],_transitions:i}),s.push(e)}if(t.type===fe)return o=en(Bt(o,t,n),{status:"stopped"}),r([o,[]],t,[]),{snapshot:o,microsteps:s};let c=t;if(c.type!==Ae){const t=c,a=function(e){return e.type.startsWith("xstate.error.actor")}(t),u=Ht(t,o);if(a&&!u.length)return o=en(e,{status:"error",error:t.error}),r([o,[]],t,[]),{snapshot:o,microsteps:s};const l=Yt(u,e,n,c,!1,i);o=l[0],r(l,t,u)}let a=!0;for(;"active"===o.status;){let e=a?Vt(o,c):[];const t=e.length?o:void 0;if(!e.length){if(!i.length)break;c=i.shift(),e=Ht(c,o)}const s=Yt(e,o,n,c,!1,i);o=s[0],a=o!==t,r(s,c,e)}return"active"!==o.status&&Bt(o,c,n),{snapshot:o,microsteps:s}}function Bt(e,t,n){return Gt(e,t,n,Object.values(e.children).map(e=>ut(e)),[],void 0)}function Ht(e,t){return t.machine.getTransitionData(t,e)}function Vt(e,t){const n=new Set,i=e._nodes.filter(Mt);for(const o of i)e:for(const i of[o].concat(gt(o,void 0)))if(i.always)for(const o of i.always)if(void 0===o.guard||lt(o.guard,e.context,t,e)){n.add(o);break e}return Ct(Array.from(n),new Set(e._nodes),e.historyValue)}const Ft=function(e){return _e(e,this.value)},Jt=function(e){return this.tags.has(e)},Xt=function(e){const t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some(e=>void 0!==e.target||e.actions.length)},$t=function(){const{_nodes:e,tags:t,machine:n,getMeta:i,toJSON:o,can:s,hasTag:r,matches:c,...a}=this;return{...a,tags:Array.from(t)}},qt=function(){return this._nodes.reduce((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e),{})};function Kt(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:Nt(t.root,e._nodes),tags:new Set(e._nodes.flatMap(e=>e.tags)),children:e.children,historyValue:e.historyValue||{},matches:Ft,hasTag:Jt,can:Xt,getMeta:qt,toJSON:$t}}function en(e,t={}){return Kt({...e,...t},e.machine)}function tn(e){if("object"!=typeof e||null===e)return{};const t={};for(const n in e){const i=e[n];Array.isArray(i)&&(t[n]=i.map(e=>({id:e.id})))}return t}function nn(e){let t;for(const n in e){const i=e[n];if(i&&"object"==typeof i)if("sessionId"in i&&"send"in i&&"ref"in i)t??=Array.isArray(e)?e.slice():{...e},t[n]={xstate$$type:1,id:i.id};else{const o=nn(i);o!==i&&(t??=Array.isArray(e)?e.slice():{...e},t[n]=o)}}return t??e}function on(e,t,n,i,{event:o,id:s,delay:r},{internalQueue:c}){const a=t.machine.implementations.delays;if("string"==typeof o)throw new Error(`Only event objects may be used with raise; use raise({ type: "${o}" }) instead`);const u="function"==typeof o?o(n,i):o;let l;if("string"==typeof r){const e=a&&a[r];l="function"==typeof e?e(n,i):e}else l="function"==typeof r?r(n,i):r;return"number"!=typeof l&&c.push(u),[t,{event:u,id:s,delay:l},void 0]}function sn(e,t){const{event:n,delay:i,id:o}=t;"number"!=typeof i||e.defer(()=>{const t=e.self;e.system.scheduler.schedule(t,t,n,i,o)})}function rn(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=on,n.execute=sn,n}r(93754);var cn=r(89104);const an=(e,t)=>{t(e);const n=e.getSnapshot().children;n&&Object.values(n).forEach(e=>{an(e,t)})};function un(e,...[t]){return function(e,...[t]){const n=function(e,...[t]){let[[n,i],o]=(0,M.useState)(()=>{const n=Ke(e,t);return[e.config,n]});if(e.config!==n){const n=Ke(e,{...t,snapshot:i.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});o([e.config,n]),i=n}return De(()=>{i.logic.implementations=e.implementations}),i}(e,t),i=(0,M.useCallback)(()=>n.getSnapshot(),[n]),o=(0,M.useCallback)(e=>{const{unsubscribe:t}=n.subscribe(e);return t},[n]),s=(0,cn.useSyncExternalStore)(o,i,i);return(0,M.useEffect)(()=>(n.start(),()=>{!function(e){const t=[];an(e,e=>{t.push([e,e.getSnapshot()]),e.observers=new Set});const n=e.system.getSnapshot?.();e.stop(),e.system._snapshot=n,t.forEach(([e,t])=>{e._processingStatus=0,e._snapshot=t})}(n)}),[n]),[s,n.send,n]}(e,t)}const ln="xstate.promise.resolve",Mn="xstate.promise.reject",dn=new WeakMap;function gn(e){return{config:e,transition:(e,t,n)=>{if("active"!==e.status)return e;switch(t.type){case ln:{const n=t.data;return{...e,status:"done",output:n,input:void 0}}case Mn:return{...e,status:"error",error:t.data,input:void 0};case fe:return dn.get(n.self)?.abort(),dn.delete(n.self),{...e,status:"stopped",input:void 0};default:return e}},start:(t,{self:n,system:i,emit:o})=>{if("active"!==t.status)return;const s=new AbortController;dn.set(n,s),Promise.resolve(e({input:t.input,system:i,self:n,signal:s.signal,emit:o})).then(e=>{"active"===n.getSnapshot().status&&(dn.delete(n),i._relay(n,n,{type:ln,data:e}))},e=>{"active"===n.getSnapshot().status&&(dn.delete(n),i._relay(n,n,{type:Mn,data:e}))})},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}function jn(e,{machine:t,context:n},i,o){return(s,r)=>{const c=((s,r)=>{if("string"==typeof s){const c=Be(t,s);if(!c)throw new Error(`Actor logic '${s}' not implemented in machine '${t.id}'`);const a=Ke(c,{id:r?.id,parent:e.self,syncSnapshot:r?.syncSnapshot,input:"function"==typeof r?.input?r.input({context:n,event:i,self:e.self}):r?.input,src:s,systemId:r?.systemId});return o[a.id]=a,a}return Ke(s,{id:r?.id,parent:e.self,syncSnapshot:r?.syncSnapshot,input:r?.input,src:s,systemId:r?.systemId})})(s,r);return o[c.id]=c,e.defer(()=>{c._processingStatus!==Xe.Stopped&&c.start()}),c}}function mn(e,t,n,i,{assignment:o}){if(!t.context)throw new Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");const s={},r={context:t.context,event:n.event,spawn:jn(e,t,n.event,s),self:e.self,system:e.system};let c={};if("function"==typeof o)c=o(r,i);else for(const e of Object.keys(o)){const t=o[e];c[e]="function"==typeof t?t(r,i):t}return[en(t,{context:Object.assign({},t.context,c),children:Object.keys(s).length?{...t.children,...s}:t.children}),void 0,void 0]}function Ln(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=mn,t}const Nn=new WeakMap;function yn(e,t,n){let i=Nn.get(e);return i?t in i||(i[t]=n()):(i={[t]:n()},Nn.set(e,i)),i[t]}const In={},pn=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class hn{constructor(e,t){if(this.config=e,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=t._parent,this.key=t._key,this.machine=t._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join("."),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?Ye(this.config.states,(e,t)=>new hn(e,{_parent:this,_key:t,_machine:this.machine})):In,"compound"===this.type&&!this.config.initial)throw new Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=!0===this.config.history?"shallow":this.config.history||!1,this.entry=Ue(this.config.entry).slice(),this.exit=Ue(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=Ue(e.tags).slice()}_initialize(){this.transitions=function(e){const t=new Map;if(e.config.on)for(const n of Object.keys(e.config.on)){if(""===n)throw new Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');const i=e.config.on[n];t.set(n,Pe(i).map(t=>pt(e,n,t)))}if(e.config.onDone){const n=`xstate.done.state.${e.id}`;t.set(n,Pe(e.config.onDone).map(t=>pt(e,n,t)))}for(const n of e.invoke){if(n.onDone){const i=`xstate.done.actor.${n.id}`;t.set(i,Pe(n.onDone).map(t=>pt(e,i,t)))}if(n.onError){const i=`xstate.error.actor.${n.id}`;t.set(i,Pe(n.onError).map(t=>pt(e,i,t)))}if(n.onSnapshot){const i=`xstate.snapshot.${n.id}`;t.set(i,Pe(n.onSnapshot).map(t=>pt(e,i,t)))}}for(const n of e.after){let e=t.get(n.eventType);e||(e=[],t.set(n.eventType,e)),e.push(n)}return t}(this),this.config.always&&(this.always=Pe(this.config.always).map(e=>pt(this,"",e))),Object.keys(this.states).forEach(e=>{this.states[e]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.type,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(pn),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(e=>`#${e.id}`),source:`#${this.id}`,actions:this.initial.actions.map(pn),eventType:null})}:void 0,history:this.history,states:Ye(this.states,e=>e.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(e=>({...e,actions:e.actions.map(pn)})),entry:this.entry.map(pn),exit:this.exit.map(pn),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return yn(this,"invoke",()=>Ue(this.config.invoke).map((e,t)=>{const{src:n,systemId:i}=e,o=e.id??We(this.id,t),s="string"==typeof n?n:`xstate.invoke.${We(this.id,t)}`;return{...e,src:s,id:o,systemId:i,toJSON(){const{onDone:t,onError:n,...i}=e;return{...i,type:"xstate.invoke",src:s,id:o}}}}))}get on(){return yn(this,"on",()=>[...this.transitions].flatMap(([e,t])=>t.map(t=>[e,t])).reduce((e,[t,n])=>(e[t]=e[t]||[],e[t].push(n),e),{}))}get after(){return yn(this,"delayedTransitions",()=>function(e){const t=e.config.after;return t?Object.keys(t).flatMap(n=>{const i=t[n],o="string"==typeof i?{target:i}:i,s=Number.isNaN(+n)?n:+n,r=(t=>{const n={type:`xstate.after.${t}.${e.id}`},i=n.type;return e.entry.push(rn(n,{id:i,delay:t})),e.exit.push(nt(i)),i})(s);return Ue(o).map(e=>({...e,event:r,delay:s}))}).map(t=>{const{delay:n}=t;return{...pt(e,t.event,t),delay:n}}):[]}(this))}get initial(){return yn(this,"initial",()=>function(e,t){const n="string"==typeof t?e.states[t]:t?e.states[t.target]:void 0;if(!n&&t)throw new Error(`Initial state node "${t}" not found on parent state node #${e.id}`);const i={source:e,actions:t&&"string"!=typeof t?Ue(t.actions):[],eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...i,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return i}(this,this.config.initial))}next(e,t){const n=t.type,i=[];let o;const s=yn(this,`candidates-${n}`,()=>{return t=n,(e=this).transitions.get(t)||[...e.transitions.keys()].filter(e=>He(t,e)).sort((e,t)=>t.length-e.length).flatMap(t=>e.transitions.get(t));var e,t});for(const r of s){const{guard:s}=r,c=e.context;let a=!1;try{a=!s||lt(s,c,t,e)}catch(e){const t="string"==typeof s?s:"object"==typeof s?s.type:void 0;throw new Error(`Unable to evaluate guard ${t?`'${t}' `:""}in transition for event '${n}' in state node '${this.id}':\n${e.message}`)}if(a){i.push(...r.actions),o=r;break}}return o?[o]:void 0}get events(){return yn(this,"events",()=>{const{states:e}=this,t=new Set(this.ownEvents);if(e)for(const n of Object.keys(e)){const i=e[n];if(i.states)for(const e of i.events)t.add(`${e}`)}return Array.from(t)})}get ownEvents(){const e=Object.keys(Object.fromEntries(this.transitions)),t=new Set(e.filter(e=>this.transitions.get(e).some(e=>!(!e.target&&!e.actions.length&&!e.reenter))));return Array.from(t)}}class wn{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=e.id||"(machine)",this.implementations={actors:t?.actors??{},actions:t?.actions??{},delays:t?.delays??{},guards:t?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new hn(e,{_key:this.id,_machine:this}),this.root._initialize(),function(e){const t=[],n=i=>{Object.values(i).forEach(i=>{if(i.config.route&&i.config.id){const n=i.config.id,o=i.config.route.guard,s=(e,t)=>e.event.to===`#${n}`&&(!o||"function"!=typeof o||o(e,t)),r={...i.config.route,guard:s,target:`#${n}`};t.push(pt(e,"xstate.route",r))}i.states&&n(i.states)})};n(e.states),t.length>0&&e.transitions.set("xstate.route",t)}(this.root),this.states=this.root.states,this.events=this.root.events}provide(e){const{actions:t,guards:n,actors:i,delays:o}=this.implementations;return new wn(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...i,...e.actors},delays:{...o,...e.delays}})}resolveState(e){const t=Nt(n=this.root,[...jt(ft(n,e.value))]);var n;const i=jt(ft(this.root,t));return Kt({_nodes:[...i],context:e.context||{},children:{},status:yt(i,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return Wt(e,t,n,[]).snapshot}microstep(e,t,n){return Wt(e,t,n,[]).microsteps.map(([e])=>e)}getTransitionData(e,t){return Tt(this.root,e.value,e,t)||[]}_getPreInitialState(e,t,n){const{context:i}=this.config,o=Kt({context:"function"!=typeof i&&i?i:{},_nodes:[this.root],children:{},status:"active"},this);return"function"==typeof i?Gt(o,t,e,[Ln(({spawn:e,event:t,self:n})=>i({spawn:e,input:t.input,self:n}))],n,void 0):o}getInitialSnapshot(e,t){const n=ve(t),i=[],o=this._getPreInitialState(e,n,i),[s]=function(e,t,n,i,o){return Yt([{target:[...xt(e)],source:e,reenter:!0,actions:[],eventType:null,toJSON:null}],t,n,i,!0,o)}(this.root,o,e,n,i),{snapshot:r}=Wt(s,n,e,i);return r}start(e){Object.values(e.children).forEach(e=>{"active"===e.getSnapshot().status&&e.start()})}getStateNodeById(e){const t=be(e),n=t.slice(1),i=It(t[0])?t[0].slice(1):t[0],o=this.idMap.get(i);if(!o)throw new Error(`Child state node '#${i}' does not exist on machine '${this.id}'`);return At(o,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return function(e,t){const{_nodes:n,tags:i,machine:o,children:s,context:r,can:c,hasTag:a,matches:u,getMeta:l,toJSON:M,...d}=e,g={};for(const e in s){const n=s[e];g[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n.systemId,syncSnapshot:n._syncSnapshot}}return{...d,context:nn(r),children:g,historyValue:tn(d.historyValue)}}(e,t)}restoreSnapshot(e,t){const n={},i=e.children;function o(e,t){if(t instanceof hn)return t;try{return e.machine.getStateNodeById(t.id)}catch{}}Object.keys(i).forEach(e=>{const o=i[e],s=o.snapshot,r=o.src,c="string"==typeof r?Be(this,r):r;if(!c)return;const a=Ke(c,{id:e,parent:t.self,syncSnapshot:o.syncSnapshot,snapshot:s,src:r,systemId:o.systemId});n[e]=a});const s=function(e,t){if(!t||"object"!=typeof t)return{};const n={};for(const i in t){const s=t[i];for(const t of s){const s=o(e,t);s&&(n[i]??=[],n[i].push(s))}}return n}(this.root,e.historyValue),r=Kt({...e,children:n,_nodes:Array.from(jt(ft(this.root,e.value))),historyValue:s},this),c=new Set;return function e(t,n){if(!c.has(t)){c.add(t);for(const i in t){const o=t[i];if(o&&"object"==typeof o){if("xstate$$type"in o&&1===o.xstate$$type){t[i]=n[o.id];continue}e(o,n)}}}}(r.context,n),r}}function Dn(e,t,n,i,{event:o}){return[t,{event:"function"==typeof o?o(n,i):o},void 0]}function xn(e,{event:t}){e.defer(()=>e.emit(t))}function Sn(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=Dn,t.execute=xn,t}let An=function(e){return e.Parent="#_parent",e.Internal="#_internal",e}({});function fn(e,t,n,i,{to:o,event:s,id:r,delay:c},a){const u=t.machine.implementations.delays;if("string"==typeof s)throw new Error(`Only event objects may be used with sendTo; use sendTo({ type: "${s}" }) instead`);const l="function"==typeof s?s(n,i):s;let M;if("string"==typeof c){const e=u&&u[c];M="function"==typeof e?e(n,i):e}else M="function"==typeof c?c(n,i):c;const d="function"==typeof o?o(n,i):o;let g;if("string"==typeof d){if(g=d===An.Parent?e.self._parent:d===An.Internal?e.self:d.startsWith("#_")?t.children[d.slice(2)]:a.deferredActorIds?.includes(d)?d:t.children[d],!g)throw new Error(`Unable to send event to actor '${d}' from machine '${t.machine.id}'.`)}else g=d||e.self;return[t,{to:g,targetId:"string"==typeof d?d:void 0,event:l,id:r,delay:M},void 0]}function Tn(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function zn(e,t){e.defer(()=>{const{to:n,event:i,delay:o,id:s}=t;"number"!=typeof o?e.system._relay(e.self,n,"xstate.error"===i.type?ze(e.self.id,i.data):i):e.system.scheduler.schedule(e.self,n,i,o,s)})}function vn(e,t,n){function i(e,t){}return i.type="xstate.sendTo",i.to=e,i.event=t,i.id=n?.id,i.delay=n?.delay,i.resolve=fn,i.retryResolve=Tn,i.execute=zn,i}function En(e,t,n,i,{collect:o}){const s=[],r=function(e){s.push(e)};return r.assign=(...e)=>{s.push(Ln(...e))},r.cancel=(...e)=>{s.push(nt(...e))},r.raise=(...e)=>{s.push(rn(...e))},r.sendTo=(...e)=>{s.push(vn(...e))},r.sendParent=(...e)=>{s.push(function(e,t){return vn(An.Parent,e,t)}(...e))},r.spawnChild=(...e)=>{s.push(st(...e))},r.stopChild=(...e)=>{s.push(ut(...e))},r.emit=(...e)=>{s.push(Sn(...e))},o({context:n.context,event:n.event,enqueue:r,check:e=>lt(e,t.context,n.event,t),self:e.self,system:e.system},i),[t,void 0,s]}function Cn(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=En,t}function _n(e,t,n,i,{value:o,label:s}){return[t,{value:"function"==typeof o?o(n,i):o,label:s},void 0]}function bn({logger:e},{value:t,label:n}){n?e(n,t):e(t)}function On(e=({context:e,event:t})=>({context:e,event:t}),t){function n(e,t){}return n.type="xstate.log",n.value=e,n.label=t,n.resolve=_n,n.execute=bn,n}const Yn=({isOpen:e,isImporting:t,onClose:n,onConfirm:i,overwrittenItems:o,additionalActions:s=[]})=>e?(0,N.jsxs)(u.Modal,{title:(0,j.__)("Review what this Blueprint will do","woocommerce"),onRequestClose:n,className:"woocommerce-blueprint-overwrite-modal",isDismissible:!t,children:[(0,N.jsx)("p",{className:"woocommerce-blueprint-overwrite-modal__description",children:o.length?(0,j.__)("Importing the file will overwrite the current configuration for the following items in WooCommerce Settings:","woocommerce"):(0,j.__)("Importing the file will overwrite the current configuration in WooCommerce Settings.","woocommerce")}),(0,N.jsx)("ul",{className:"woocommerce-blueprint-overwrite-modal__list",children:o.map(e=>(0,N.jsx)("li",{children:e},e))}),!!s.length&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{className:"woocommerce-blueprint-overwrite-modal__description woocommerce-blueprint-overwrite-modal__description--actions",children:(0,j.__)("It will also:","woocommerce")}),(0,N.jsx)("ul",{className:"woocommerce-blueprint-overwrite-modal__list",children:s.map(e=>(0,N.jsx)("li",{children:e},e))})]}),(0,N.jsx)(u.Notice,{status:"warning",isDismissible:!1,className:"woocommerce-blueprint-overwrite-modal__trust-notice",children:(0,j.__)("A Blueprint runs with your administrator access, so it can change anything on your site — including data that is not listed above. Only import files from a source you trust.","woocommerce")}),(0,N.jsxs)("div",{className:"woocommerce-blueprint-overwrite-modal__actions",children:[(0,N.jsx)(u.Button,{className:"woocommerce-blueprint-overwrite-modal__actions-cancel",variant:"tertiary",onClick:n,disabled:t,children:(0,j.__)("Cancel","woocommerce")}),(0,N.jsx)(u.Button,{className:(0,ce.A)("woocommerce-blueprint-overwrite-modal__actions-import",{"is-importing":t}),variant:"primary",onClick:i,children:t?(0,N.jsx)(u.Spinner,{}):(0,j.__)("Import","woocommerce")})]})]}):null,kn={woocommerce_store_address:"General",woocommerce_store_address_2:"General",woocommerce_store_city:"General",woocommerce_default_country:"General",woocommerce_store_postcode:"General",woocommerce_allowed_countries:"General",woocommerce_all_except_countries:"General",woocommerce_specific_allowed_countries:"General",woocommerce_ship_to_countries:"General",woocommerce_specific_ship_to_countries:"General",woocommerce_default_customer_address:"General",woocommerce_calc_taxes:"General",woocommerce_enable_coupons:"General",woocommerce_calc_discounts_sequentially:"General",woocommerce_currency:"General",woocommerce_currency_pos:"General",woocommerce_price_thousand_sep:"General",woocommerce_price_decimal_sep:"General",woocommerce_price_num_decimals:"General",woocommerce_shop_page_id:"Products",woocommerce_cart_redirect_after_add:"Products",woocommerce_enable_ajax_add_to_cart:"Products",woocommerce_placeholder_image:"Products",woocommerce_weight_unit:"Products",woocommerce_dimension_unit:"Products",woocommerce_enable_reviews:"Products",woocommerce_review_rating_verification_label:"Products",woocommerce_review_rating_verification_required:"Products",woocommerce_enable_review_rating:"Products",woocommerce_review_rating_required:"Products",woocommerce_manage_stock:"Products",woocommerce_hold_stock_minutes:"Products",woocommerce_notify_low_stock:"Products",woocommerce_notify_no_stock:"Products",woocommerce_stock_email_recipient:"Products",woocommerce_notify_low_stock_amount:"Products",woocommerce_notify_no_stock_amount:"Products",woocommerce_hide_out_of_stock_items:"Products",woocommerce_stock_format:"Products",woocommerce_file_download_method:"Products",woocommerce_downloads_redirect_fallback_allowed:"Products",woocommerce_downloads_require_login:"Products",woocommerce_downloads_grant_access_after_payment:"Products",woocommerce_downloads_deliver_inline:"Products",woocommerce_downloads_add_hash_to_filename:"Products",woocommerce_downloads_count_partial:"Products",woocommerce_attribute_lookup_enabled:"Products",woocommerce_attribute_lookup_direct_updates:"Products",woocommerce_attribute_lookup_optimized_updates:"Products",woocommerce_product_match_featured_image_by_sku:"Products",woocommerce_bacs_settings:"Payments",woocommerce_cheque_settings:"Payments",woocommerce_cod_settings:"Payments",woocommerce_enable_guest_checkout:"Accounts",woocommerce_enable_checkout_login_reminder:"Accounts",woocommerce_enable_delayed_account_creation:"Accounts",woocommerce_enable_signup_and_login_from_checkout:"Accounts",woocommerce_enable_myaccount_registration:"Accounts",woocommerce_registration_generate_password:"Accounts",woocommerce_erasure_request_removes_order_data:"Accounts",woocommerce_erasure_request_removes_download_data:"Accounts",woocommerce_allow_bulk_remove_personal_data:"Accounts",woocommerce_registration_privacy_policy_text:"Accounts",woocommerce_checkout_privacy_policy_text:"Accounts",woocommerce_delete_inactive_accounts:"Accounts",woocommerce_trash_pending_orders:"Accounts",woocommerce_trash_failed_orders:"Accounts",woocommerce_trash_cancelled_orders:"Accounts",woocommerce_anonymize_refunded_orders:"Accounts",woocommerce_anonymize_completed_orders:"Accounts",woocommerce_email_from_name:"Emails",woocommerce_email_from_address:"Emails",woocommerce_email_header_image:"Emails",woocommerce_email_base_color:"Emails",woocommerce_email_background_color:"Emails",woocommerce_email_body_background_color:"Emails",woocommerce_email_text_color:"Emails",woocommerce_email_footer_text:"Emails",woocommerce_email_footer_text_color:"Emails",woocommerce_email_auto_sync_with_theme:"Emails",woocommerce_merchant_email_notifications:"Emails",woocommerce_coming_soon:"Site visibility",woocommerce_store_pages_only:"Site visibility",woocommerce_cart_page_id:"Advanced",woocommerce_checkout_page_id:"Advanced",woocommerce_myaccount_page_id:"Advanced",woocommerce_terms_page_id:"Advanced",woocommerce_checkout_pay_endpoint:"Advanced",woocommerce_checkout_order_received_endpoint:"Advanced",woocommerce_myaccount_add_payment_method_endpoint:"Advanced",woocommerce_myaccount_delete_payment_method_endpoint:"Advanced",woocommerce_myaccount_set_default_payment_method_endpoint:"Advanced",woocommerce_myaccount_orders_endpoint:"Advanced",woocommerce_myaccount_view_order_endpoint:"Advanced",woocommerce_myaccount_downloads_endpoint:"Advanced",woocommerce_myaccount_edit_account_endpoint:"Advanced",woocommerce_myaccount_edit_address_endpoint:"Advanced",woocommerce_myaccount_payment_methods_endpoint:"Advanced",woocommerce_myaccount_lost_password_endpoint:"Advanced",woocommerce_logout_endpoint:"Advanced",woocommerce_allow_tracking:"Advanced",woocommerce_show_marketplace_suggestions:"Advanced",woocommerce_custom_orders_table_enabled:"Advanced",woocommerce_custom_orders_table_data_sync_enabled:"Advanced",woocommerce_analytics_enabled:"Advanced",woocommerce_feature_rate_limit_checkout_enabled:"Advanced",woocommerce_feature_order_attribution_enabled:"Advanced",woocommerce_feature_site_visibility_badge_enabled:"Advanced",woocommerce_feature_remote_logging_enabled:"Advanced",woocommerce_feature_email_improvements_enabled:"Advanced",woocommerce_feature_blueprint_enabled:"Advanced",woocommerce_hpos_fts_index_enabled:"Advanced",woocommerce_feature_cost_of_goods_sold_enabled:"Advanced"},Un=["setSiteOptions"],Qn={runSql:e=>(0,j.sprintf)((0,j._n)("Run %d database query","Run %d database queries",e,"woocommerce"),e),installPlugin:e=>(0,j.sprintf)((0,j._n)("Install %d plugin","Install %d plugins",e,"woocommerce"),e),activatePlugin:e=>(0,j.sprintf)((0,j._n)("Activate %d plugin","Activate %d plugins",e,"woocommerce"),e),installTheme:e=>(0,j.sprintf)((0,j._n)("Install %d theme","Install %d themes",e,"woocommerce"),e),activateTheme:e=>(0,j.sprintf)((0,j._n)("Activate %d theme","Activate %d themes",e,"woocommerce"),e)},Zn=function e({schemas:t,actors:n,actions:i,guards:o,delays:s}){return{assign:Ln,sendTo:vn,raise:rn,log:On,cancel:nt,stopChild:ut,enqueueActions:Cn,emit:Sn,spawnChild:st,createStateConfig:e=>e,createAction:e=>e,createMachine:e=>function(e,t){return new wn(e,t)}({...e,schemas:t},{actors:n,actions:i,guards:o,delays:s}),extend:r=>e({schemas:t,actors:n,actions:{...i,...r.actions},guards:{...o,...r.guards},delays:{...s,...r.delays}})}}({types:{},actions:{reportSuccess:Cn(({event:e,enqueue:t})=>{!function(e){const t=Ue("xstate.done.actor.0.fileUpload.uploading");if(!t.some(t=>He(e.type,t))){const n=1===t.length?`type matching "${t[0]}"`:`one of types matching "${t.join('", "')}"`;throw new Error(`Expected event ${JSON.stringify(e)} to have ${n}`)}}(e),t.assign({settings_to_overwrite:e.output.settings_to_overwrite})}),reportError:Ln(({event:e})=>{(0,B.recordEvent)("blueprint_import_error");const t=new Error((0,j.__)("An error occurred while importing your Blueprint.","woocommerce"));return"error"in e?t.message=e.error.message:"output"in e&&"message"in e.output&&(t.message=e.output.message),{error:t}})},actors:{importer:gn(({input:e})=>(async e=>{const t=[];try{if(!Array.isArray(e))throw new Error((0,j.__)("Invalid JSON format: Expected an array.","woocommerce"));const n=window?.wcSettings?.admin?.blueprint_max_step_size_bytes||52428800;let i="";for(const o of e){if("no"===o?.options?.woocommerce_coming_soon)continue;const e=JSON.stringify({step_definition:o}),s=new Blob([e]).size;if(s>n){t.push({step:o.step,messages:[{step:o.step,type:"error",message:(0,j.sprintf)((0,j.__)("Step exceeds maximum size limit of %1$.2fMB (Current: %2$.2fMB)","woocommerce"),Number((n/1048576).toFixed(2)),Number((s/1048576).toFixed(2)))}]});continue}const r=await Le()({path:"wc-admin/blueprint/import-step",method:"POST",headers:{"Content-Type":"application/json","X-Blueprint-Import-Session":i},body:e,parse:!1}),c=await r.json();c.success||t.push({step:o.step,messages:c.messages}),i||(i=r.headers.get("X-Blueprint-Import-Session")??"")}return t.length>0?(0,G.dispatch)("core/notices").createWarningNotice(`${(0,j.__)("Your Blueprint has been imported, but there were some errors. Please check the messages.","woocommerce")}`,{icon:(0,N.jsx)(u.Icon,{icon:pe.A,size:24,fill:"#d63638"}),explicitDismiss:!0}):(0,G.dispatch)("core/notices").createSuccessNotice(`${(0,j.__)("Your Blueprint has been imported!","woocommerce")}`,{icon:(0,N.jsx)(u.Icon,{icon:he.A,size:24,fill:"#1ed15A"}),explicitDismiss:!0}),t}catch(e){throw e}})(e.steps)),stepsParser:gn(({input:e})=>(async e=>{const t=new FileReader,n=await new Promise((n,i)=>{t.onload=()=>n(t.result),t.onerror=()=>i(t.error),t.readAsText(e)}),i=JSON.parse(n).steps;if(!Array.isArray(i))throw new Error((0,j.__)("Invalid JSON format: Expected an array.","woocommerce"));return i})(e.file)),importAllowedChecker:gn(()=>(async()=>{try{return(await Le()({path:"wc-admin/blueprint/import-allowed",method:"GET"})).import_allowed}catch{throw new Error((0,j.__)("Failed to check if imports are allowed.","woocommerce"))}})())},guards:{hasSettingsToOverwrite:({context:e})=>Boolean(e.settings_to_overwrite&&e.settings_to_overwrite.length>0)}}).createMachine({id:"fileUpload",initial:"checkingImportAllowed",context:()=>({}),states:{checkingImportAllowed:{invoke:{src:"importAllowedChecker",onDone:{target:"idle",actions:Ln({import_allowed:({event:e})=>e.output,error:()=>{}})},onError:{target:"error",actions:Ln({error:({event:e})=>e.error})}}},idle:{on:{UPLOAD:{target:"parsingSteps",guard:({context:e})=>!0===e.import_allowed,actions:Ln({file:({event:e})=>e.file,error:()=>{}})},ERROR:{target:"error",actions:Ln({error:({event:e})=>e?.error})}}},error:{entry:"reportError",always:{target:"idle"}},parsingSteps:{invoke:{src:"stepsParser",input:({context:e})=>({file:e.file}),onDone:{target:"success",actions:Ln({error:()=>{},steps:({event:e})=>e.output,settings_to_overwrite:({event:e})=>(e=>{const t=new Set;return e.forEach(e=>{kn[e]&&t.add(kn[e])}),Array.from(t)})(e.output.reduce((e,t)=>("setSiteOptions"===t.step&&t.options&&e.push(...Object.keys(t.options)),e),[])),step_actions:({event:e})=>(e=>{const t=e.reduce((e,t)=>{const n=t?.step;return n&&!Un.includes(n)&&e.set(n,(e.get(n)||0)+1),e},new Map),n=Object.keys(Qn).filter(e=>t.has(e)).map(e=>Qn[e](t.get(e)||0)),i=Array.from(t.keys()).filter(e=>!Object.hasOwn(Qn,e)).sort();if(i.length){const e=i.reduce((e,n)=>e+(t.get(n)||0),0);n.push((0,j.sprintf)((0,j._n)("Run %1$d other step (%2$s)","Run %1$d other steps (%2$s)",e,"woocommerce"),e,i.join(", ")))}return n})(e.output)})},onError:{target:"error",actions:Ln({error:new Error((0,j.__)("Error reading or parsing file. Please check the schema.","woocommerce"))})}}},success:{on:{IMPORT:[{target:"overrideModal"}]}},overrideModal:{on:{CONFIRM_IMPORT:{target:"importing"},DISMISS_OVERWRITE_MODAL:{target:"success"}}},importing:{invoke:{src:"importer",input:({context:e})=>({steps:e.steps}),onDone:{target:"importSuccess",actions:Ln({error:({event:e})=>{if(Array.isArray(e.output)&&e.output.length)return{name:"BlueprintImportError",message:e.output.map(e=>{const t=e.messages.filter(e=>"error"===e.type).map(e=>` ${e.message.trim()}.`).join("\n");return(0,j.sprintf)((0,j.__)("Step: %1$s Errors: %2$s","woocommerce"),e.step,t)}).join("\n\n")}}})},onError:{target:"error"}}},importSuccess:{entry:({context:e})=>{(0,B.recordEvent)("blueprint_import_success",{has_partial_errors:Boolean("BlueprintImportError"===e.error?.name),steps_count:e.steps?.length||0})},always:"idle"}},on:{DISMISS_FILE_UPLOAD:{actions:Ln({error:()=>{},file:()=>{},steps:()=>{}}),target:".idle"}}}),Pn=()=>{const[t,n]=un(Zn);return(0,N.jsxs)(N.Fragment,{children:[t.matches("checkingImportAllowed")&&(0,N.jsx)("div",{className:"blueprint-upload-form",children:(0,N.jsx)("div",{className:"blueprint-upload-dropzone-uploading",children:(0,N.jsx)(u.Spinner,{})})}),!1===t.context.import_allowed&&!t.context.error&&(0,N.jsx)(u.Notice,{status:"warning",isDismissible:!1,className:"blueprint-upload-dropzone-notice",children:(0,e.createInterpolateElement)((0,j.__)('Blueprint imports are disabled by default for live sites. <br/>Enable <link>Coming Soon mode</link> or define "ALLOW_BLUEPRINT_IMPORT_IN_LIVE_MODE" as true.',"woocommerce"),{br:(0,N.jsx)("br",{}),link:(0,N.jsx)("a",{href:(0,X.getAdminLink)("admin.php?page=wc-settings&tab=site-visibility")})})}),t.context.error&&(0,N.jsx)("div",{className:"blueprint-upload-dropzone-error",children:(0,N.jsx)(u.Notice,{status:"error",onDismiss:()=>n({type:"DISMISS_FILE_UPLOAD"}),children:(0,N.jsx)("pre",{children:t.context.error.message})})}),t.context.import_allowed&&(t.matches("idle")||t.matches("error")||t.matches("parsingSteps"))&&(0,N.jsx)("div",{className:"blueprint-upload-form wc-settings-prevent-change-event",children:(0,N.jsx)(u.FormFileUpload,{className:"blueprint-upload-field",accept:"application/json, application/zip",multiple:!1,onChange:e=>{const t=e.target.files?.[0];t&&n({type:"UPLOAD",file:t})},children:(0,N.jsxs)("div",{className:"blueprint-upload-dropzone",children:[(0,N.jsx)(u.Icon,{icon:we}),(0,N.jsxs)("p",{className:"blueprint-upload-dropzone-text",children:[(0,j.__)("Drag and drop or","woocommerce")," ",(0,N.jsx)("span",{children:(0,j.__)("choose a file","woocommerce")})]}),(0,N.jsx)("p",{className:"blueprint-upload-max-size",children:(0,j.__)("Maximum size: 50 MB","woocommerce")}),(0,N.jsx)(u.DropZone,{onFilesDrop:e=>{e.length>1&&n({type:"ERROR",error:new Error("Only one file can be uploaded at a time")}),n({type:"UPLOAD",file:e[0]})}})]})})}),t.matches("importing")&&(0,N.jsx)("div",{className:"blueprint-upload-form",children:(0,N.jsxs)("div",{className:"blueprint-upload-dropzone-uploading",children:[(0,N.jsx)(u.Spinner,{className:"blueprint-upload-dropzone-spinner"}),(0,N.jsx)("p",{className:"blueprint-upload-dropzone-text",children:(0,j.__)("Importing your file…","woocommerce")})]})}),(t.matches("success")||t.matches("importSuccess")||t.matches("overrideModal"))&&(0,N.jsx)("div",{className:"blueprint-upload-dropzone-success",children:(0,N.jsxs)("p",{className:"blueprint-upload-dropzone-text",children:[(0,N.jsx)("span",{className:"blueprint-upload-dropzone-text-file-name",children:t.context.file?.name}),(0,N.jsx)(u.Button,{icon:(0,N.jsx)(u.Icon,{icon:R}),onClick:()=>{n({type:"DISMISS_FILE_UPLOAD"})}})]})}),(t.matches("success")||t.matches("overrideModal"))&&(0,N.jsx)(u.Button,{className:"woocommerce-blueprint-import-button",variant:"primary",disabled:!t.context.import_allowed,onClick:()=>{n({type:"IMPORT"})},children:(0,j.__)("Import","woocommerce")}),(t.matches("importing")||t.matches("overrideModal"))&&(0,N.jsx)(Yn,{isOpen:!0,isImporting:t.matches("importing"),onClose:()=>n({type:"DISMISS_OVERWRITE_MODAL"}),onConfirm:()=>n({type:"CONFIRM_IMPORT"}),overwrittenItems:t.context.settings_to_overwrite||[],additionalActions:t.context.step_actions||[]})]})},{Fill:Rn}=(0,u.createSlotFill)(k),Gn="woocommerce-admin-blueprint-settings-slotfill",Wn={plugins:Ne,settings:ye,layout:Ie},Bn=()=>{const[t,n]=(0,e.useState)(!0),[i,o]=(0,e.useState)(null),s=window.wcSettings?.admin?.blueprint_step_groups||[],[r,c]=(0,e.useState)(s.reduce((e,t)=>(e[t.id]=t.items.reduce((e,t)=>(e[t.id]=t.checked??!1,e),{}),e),{})),{currentUserCan:a}=(0,$.useUser)();return(0,N.jsxs)("div",{className:"blueprint-settings-slotfill",children:[(0,N.jsx)("h3",{children:(0,j.__)("Blueprint","woocommerce")}),(0,N.jsx)("p",{className:"blueprint-settings-intro-text",children:(0,e.createInterpolateElement)((0,j.__)("Blueprints are setup files containing WooCommerce settings, plugins, and themes. Simplify setup, streamline team collaboration, and <docLink />.","woocommerce"),{docLink:(0,N.jsx)("a",{href:"https://woocommerce.com/document/woocommerce-blueprints/",target:"_blank",className:"woocommerce-admin-inline-documentation-link",rel:"noreferrer",onClick:()=>{(0,B.recordEvent)("blueprint_learn_more_click")},children:(0,j.__)("more","woocommerce")})})}),a("manage_options")&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("h4",{children:(0,j.__)("Import","woocommerce")}),(0,N.jsx)("p",{children:(0,j.__)("Import a .json file. You can import only one Blueprint at a time.","woocommerce")}),(0,N.jsx)(Pn,{})]}),(0,N.jsx)("h4",{children:(0,j.__)("Export","woocommerce")}),(0,N.jsx)("p",{className:"blueprint-settings-export-intro",children:(0,j.__)("Select the settings, plugins, and themes to export as a .json file. Payment settings are not exported and must be configured manually after import.","woocommerce")}),i&&(0,N.jsx)(u.Notice,{className:"blueprint-export-error",status:"error",onRemove:()=>{o(null)},isDismissible:!0,children:i}),s.map((e,t)=>(0,N.jsxs)("div",{className:"blueprint-settings-export-group wc-settings-prevent-change-event",children:[(0,N.jsx)(u.Icon,{icon:Wn[e.icon]??Wn.settings,alt:(0,j.sprintf)((0,j.__)("Blueprint setting icon - %s","woocommerce"),e.icon)}),(0,N.jsx)("span",{className:"blueprint-settings-export-group-item-count",children:Object.values(r[e.id]).filter(e=>e).length}),(0,N.jsx)(re.CollapsibleContent,{toggleText:e.label,initialCollapsed:!0,children:e.items.map(t=>(0,N.jsx)(u.ToggleControl,{__nextHasNoMarginBottom:!0,label:t.label,checked:r[e.id][t.id],onChange:()=>{var n,i;n=e.id,i=t.id,c(e=>({...e,[n]:{...e[n],[i]:!e[n][i]}}))},help:t.description},t.id))},t)]},t)),(0,N.jsx)("div",{id:"download-link-container"}),(0,N.jsx)(u.Button,{className:"blueprint-settings-export-button",variant:"primary",onClick:()=>{(async e=>{o(null),n(!1);const t=document.getElementById("download-link-container");t.innerHTML="";try{const n=await Le()({path:"/wc-admin/blueprint/export",method:"POST",data:{steps:e}}),i=document.createElement("a");let o=null;"zip"===n.type?(i.href=n.data,i.target="_blank"):(o=window.URL.createObjectURL(new Blob([JSON.stringify(n.data,null,2)])),i.href=o,i.setAttribute("download","woo-blueprint.json")),t.appendChild(i),i.click(),o&&window.URL.revokeObjectURL(o),(0,B.recordEvent)("blueprint_export_success",{has_plugins:e.plugins?.length>0,has_themes:e.themes?.length>0,has_settings:e.settings?.length>0,settings_exported:e.settings})}catch(e){switch((0,B.recordEvent)("blueprint_export_error",{error_message:e.message||"unknown"}),o(e.message),!0){case e instanceof Error:o(e.message);break;case"string"==typeof e:o(e);break;case e.errors&&e.errors.wooblueprint_insufficient_permissions&&e.errors.wooblueprint_insufficient_permissions.length>0:o((0,j.__)("Sorry, you are not allowed to export the selected settings.","woocommerce"));break;default:o((0,j.__)("An unknown error occurred while exporting the settings.","woocommerce"))}}finally{n(!0)}})(Object.entries(r).reduce((e,[t,n])=>(e[t]=Object.keys(n).filter(e=>n[e]),e),{}))},disabled:!t,isBusy:!t,children:(0,j.__)("Export","woocommerce")})]})},Hn=()=>(0,N.jsx)(Rn,{children:(0,N.jsx)(Bn,{})}),Vn={woocommerce_email_base_color:"baseColor",woocommerce_email_background_color:"bgColor",woocommerce_email_body_background_color:"bodyBgColor",woocommerce_email_text_color:"bodyTextColor",woocommerce_email_footer_text_color:"footerTextColor"},Fn=(e,t)=>{const n=document.getElementById(e);n.value=t,n.dispatchEvent(new Event("change"))},Jn=e=>document.getElementById(e).value,Xn=e=>{for(const[t,n]of Object.entries(Vn))Fn(t,e[n])},$n=e=>{for(const[t,n]of Object.entries(Vn))if(document.getElementById(t).value.toLowerCase()!==e[n].toLowerCase())return!0;return!1},qn=({defaultColors:t,hasThemeJson:n,autoSync:i,autoSyncInput:o})=>{const[s,r]=(0,e.useState)($n(t)),[c,a]=(0,e.useState)(!1),[l,M]=(0,e.useState)(i),[d]=(0,e.useState)((()=>{const e={};for(const[t,n]of Object.entries(Vn))e[n]=Jn(t);return e})()),g=e=>{M(e),o.value=e?"yes":"no"},m=()=>{const e=$n(t);r(e),e&&g(!1),a($n(d))};return(0,e.useEffect)(()=>((e=>{for(const t of Object.keys(Vn)){const n=jQuery(`#${t}`);n.length&&n.on("change",e)}})(m),()=>{(e=>{for(const t of Object.keys(Vn)){const n=jQuery(`#${t}`);n.length&&n.off("change",e)}})(m)})),(0,N.jsxs)(N.Fragment,{children:[!s&&(0,N.jsx)("span",{className:"wc-settings-email-color-palette-message",children:n?(0,j.__)("Synced with theme.","woocommerce"):(0,j.__)("Using default values.","woocommerce")}),n&&!s&&(0,N.jsx)(u.ToggleControl,{label:(0,j.__)("Auto-sync with theme changes","woocommerce"),checked:l,onChange:g,className:"wc-settings-email-color-palette-auto-sync"}),s&&(0,N.jsx)(u.Button,{variant:"secondary",onClick:()=>{Xn(t),r(!1),a($n(d)),g(!0)},children:n?(0,j.__)("Sync with theme","woocommerce"):(0,j.__)("Reset","woocommerce")}),c&&(0,N.jsx)(u.Button,{variant:"tertiary",onClick:()=>{Xn(d),r($n(t)),a(!1),g(i)},children:(0,j.__)("Undo changes","woocommerce")})]})},{Fill:Kn}=(0,u.createSlotFill)(k),ei=({defaultColors:e,hasThemeJson:t,autoSync:n,autoSyncInput:i})=>(0,N.jsx)(Kn,{children:(0,N.jsx)(qn,{autoSync:n,autoSyncInput:i,defaultColors:e,hasThemeJson:t})}),ti=(e,t)=>{let n=window.wp.media.frames?.img_select;n||(n=window.wp.media({library:{type:"image"}}),n.on("select",()=>{if(!n)return;const i=n.state().get("selection");i&&i.each(n=>{const i=n.attributes.url,o=document.getElementById(e);o.value=i,o.dispatchEvent(new Event("change")),t(i)})})),n.open()},ni=({inputId:t,imageUrl:n,setImageUrl:i})=>{const[o,s]=(0,e.useState)("transparent");return(0,e.useEffect)(()=>{const e=jQuery("#woocommerce_email_body_background_color");if(!e.length)return;s(e.val());const t=e=>{const t=e.target.value;s(t)};return e.on("change",t),()=>{e.off("change",t)}},[]),(0,N.jsxs)("div",{children:[(0,N.jsx)("div",{children:(0,N.jsx)("button",{style:{backgroundColor:o},onClick:()=>ti(t,i),className:"wc-settings-email-select-image",type:"button",children:(0,N.jsx)("img",{src:n,className:"wc-settings-email-logo-image",alt:(0,j.__)("Image preview","woocommerce")})})}),(0,N.jsx)(u.Button,{variant:"secondary",onClick:()=>ti(t,i),children:(0,j.__)("Change image","woocommerce")})," ",(0,N.jsx)(u.Button,{variant:"tertiary",onClick:()=>((e,t)=>{const n=document.getElementById(e);n.value="",n.dispatchEvent(new Event("change")),t("")})(t,i),children:(0,j.__)("Remove","woocommerce")})]})},ii=({inputId:e,setImageUrl:t})=>(0,N.jsx)("div",{children:(0,N.jsx)("button",{onClick:()=>ti(e,t),className:"wc-settings-email-select-image",type:"button",children:(0,N.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMS43MTk3IDQuNDY5NjZMNi40Njk2NyA5LjcxOTY2TDcuNTMwMzMgMTAuNzgwM0wxMS41IDYuODEwNjVMMTEuNSAxOC41SDUuNUw1LjUgMTVINFYxOC41VjIwSDUuNUgxMS41SDEzSDE4LjVIMjBWMTguNVYxNUgxOC41VjE4LjVIMTNMMTMgNi43MDAzN0wxNy40OTQzIDEwLjgwMzlMMTguNTA1NyA5LjY5NjEzTDEyLjc1NTcgNC40NDYxM0wxMi4yMjY0IDMuOTYyODlMMTEuNzE5NyA0LjQ2OTY2WiIgZmlsbD0iIzk0OTQ5NCIvPgo8L3N2Zz4K",width:"24",height:"24",alt:(0,j.__)("Image upload icon","woocommerce"),className:"wc-settings-email-select-image-icon"})})}),{Fill:oi}=(0,u.createSlotFill)(k),si=({inputId:t,initImageUrl:n})=>{const[i,o]=(0,e.useState)(n),s=""!==i;return(0,N.jsxs)(oi,{children:[!s&&(0,N.jsx)(ii,{inputId:t,setImageUrl:o}),s&&(0,N.jsx)(ni,{inputId:t,imageUrl:i,setImageUrl:o})]})};var ri=r(66087);const ci="desktop",ai="mobile",ui=({deviceType:e,setDeviceType:t})=>{const n=e===ci,i=e===ai;return(0,N.jsxs)("div",{className:"wc-settings-email-preview-device-type",children:[(0,N.jsx)("button",{className:n?"active":"",onClick:()=>{n||((0,B.recordEvent)("settings_emails_preview_device_type_toggle",{device_type:ci}),t(ci))},title:(0,j.__)("Email preview on deskt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IvPgo8L3N2Zz4K",alt:(0,j.__)("Desktop icon","woocommerce")})}),(0,N.jsx)("button",{className:i?"active":"",onClick:()=>{i||((0,B.recordEvent)("settings_emails_preview_device_type_toggle",{device_type:ai}),t(ai))},title:(0,j.__)("Mobile preview on desktop","woocommerce"),type:"button",children:(0,N.jsx)("img",{src:i?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxyZWN0IHg9IjcuNzUiIHk9IjQuNzUiIHdpZHRoPSI4LjUiIGhlaWdodD0iMTQuNSIgcng9IjEuMjUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KCTxyZWN0IHg9IjExIiB5PSIxNiIgd2lkdGg9IjIiIGhlaWdodD0iMS41IiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxyZWN0IHg9IjcuNzUiIHk9IjQuNzUiIHdpZHRoPSI4LjUiIGhlaWdodD0iMTQuNSIgcng9IjEuMjUiIHN0cm9rZT0iIzFlMWUxZSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KCTxyZWN0IHg9IjExIiB5PSIxNiIgd2lkdGg9IjIiIGhlaWdodD0iMS41IiBmaWxsPSIjMWUxZTFlIi8+Cjwvc3ZnPgo=",alt:(0,j.__)("Mobile icon","woocommerce")})})]})};var li=r(31663);const Mi=({emailType:t})=>{const[n,i]=(0,e.useState)(""),[o,s]=(0,e.useState)(""),[r,c]=(0,e.useState)(""),a=(0,e.useRef)(null),u=(0,li.G)(),l=(0,e.useCallback)(async()=>{try{const e=await Le()({path:`wc-admin-email/settings/email/preview-subject?type=${t}&nonce=${u}`});c(e.subject),a.current&&a.current.dispatchEvent(new Event("subject-updated"))}catch(e){c("")}},[t,u,a]);return(0,e.useEffect)(()=>{const e=document.getElementById("woocommerce_email_from_name"),t=document.getElementById("woocommerce_email_from_address");if(!e||!t)return;i(e.value||""),s(t.value||"");const n=e=>{const t=e.target;i(t.value||"")},o=e=>{const t=e.target;s(t.value||"")};return e.addEventListener("change",n),t.addEventListener("change",o),()=>{e&&t&&(e.removeEventListener("change",n),t.removeEventListener("change",o))}},[]),(0,e.useEffect)(()=>{l()},[l]),(0,e.useEffect)(()=>{if(a.current=document.querySelector('[id^="woocommerce_"][id$="_subject"]'),a.current)return a.current.addEventListener("transient-saved",l),()=>{a.current&&a.current.removeEventListener("transient-saved",l)}},[l]),(0,N.jsxs)("div",{className:"wc-settings-email-preview-header",children:[(0,N.jsx)("h3",{className:"wc-settings-email-preview-header-subject",children:r}),(0,N.jsxs)("div",{className:"wc-settings-email-preview-header-data",children:[(0,N.jsx)("div",{className:"wc-settings-email-preview-header-icon",children:(0,N.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNy4yNSAxNi40MzcxQzYuMTY0NDUgMTUuMjc1NSA1LjUgMTMuNzE1MyA1LjUgMTJDNS41IDguNDEwMTUgOC40MTAxNSA1LjUgMTIgNS41QzE1LjU4OTkgNS41IDE4LjUgOC40MTAxNSAxOC41IDEyQzE4LjUgMTMuNzE1MyAxNy44MzU2IDE1LjI3NTUgMTYuNzUgMTYuNDM3MVYxNkMxNi43NSAxNC40ODEyIDE1LjUxODggMTMuMjUgMTQgMTMuMjVIMTBDOC40ODEyMiAxMy4yNSA3LjI1IDE0LjQ4MTIgNy4yNSAxNlYxNi40MzcxWk04Ljc1IDE3LjYzMDRDOS43MDYwNiAxOC4xODM1IDEwLjgxNjEgMTguNSAxMiAxOC41QzEzLjE4MzkgMTguNSAxNC4yOTM5IDE4LjE4MzUgMTUuMjUgMTcuNjMwNFYxNkMxNS4yNSAxNS4zMDk2IDE0LjY5MDQgMTQuNzUgMTQgMTQuNzVIMTBDOS4zMDk2NCAxNC43NSA4Ljc1IDE1LjMwOTYgOC43NSAxNlYxNy42MzA0Wk00IDEyQzQgNy41ODE3MiA3LjU4MTcyIDQgMTIgNEMxNi40MTgzIDQgMjAgNy41ODE3MiAyMCAxMkMyMCAxNi40MTgzIDE2LjQxODMgMjAgMTIgMjBDNy41ODE3MiAyMCA0IDE2LjQxODMgNCAxMlpNMTQgMTBDMTQgMTEuMTA0NiAxMy4xMDQ2IDEyIDEyIDEyQzEwLjg5NTQgMTIgMTAgMTEuMTA0NiAxMCAxMEMxMCA4Ljg5NTQzIDEwLjg5NTQgOCAxMiA4QzEzLjEwNDYgOCAxNCA4Ljg5NTQzIDE0IDEwWiIgZmlsbD0iIzg1MjZGRiIvPgo8L3N2Zz4K",alt:(0,j.__)("Avatar icon","woocommerce")})}),(0,N.jsxs)("div",{className:"wc-settings-email-preview-header-sender",children:[`${n} `,(0,N.jsxs)("span",{children:["<",o,">"]})]})]})]})},di=({src:t,isLoading:n,setIsLoading:i,settingsIds:o})=>{const[s,r]=(0,e.useState)(0),c=(0,li.G)(),a=(0,e.useRef)(null);return(0,e.useEffect)(()=>{const e=async e=>{const n=e.target,o=n.id,u=n.value;i(!0);try{await Le()({path:`wc-admin-email/settings/email/save-transient?nonce=${c}`,method:"POST",data:{key:o,value:u}})}finally{n.dispatchEvent(new Event("transient-saved")),r(e=>e+1),a.current&&a.current.contentWindow?.location.replace(`${t}&hash=${s+1}`)}},n={};return o.forEach(t=>{n[t]=(0,ri.debounce)(e,400);const i=jQuery(`#${t}`);i.length&&(i.hasClass("wc-enhanced-select")?i.one("select2:open",()=>{i.on("change",n[t])}):i.on("change",n[t]))}),()=>{o.forEach(e=>{const t=jQuery(`#${e}`);t.length&&t.off("change",n[e])})}},[c,i,o,r,t,s]),(0,N.jsx)("div",{children:(0,N.jsx)("iframe",{ref:a,className:n?"iframe-is-loading":"",src:t,title:(0,j.__)("Email preview frame","woocommerce"),onLoad:()=>i(!1)})})};var gi=r(91710);const ji=({type:t})=>{const[n,i]=(0,e.useState)(!1),{email:o,setEmail:s,isSending:r,setIsSending:c,notice:a,noticeType:l,sendEmail:M}=(0,gi.yx)({endpoint:"settings",emailType:t},"email_preview"),d=()=>{i(!1),c(!1)};return(0,N.jsxs)("div",{className:"wc-settings-email-preview-send",children:[(0,N.jsx)(u.Button,{variant:"secondary",onClick:()=>i(!0),children:(0,j.__)("Send a test email","woocommerce")}),n&&(0,N.jsx)(u.Modal,{title:(0,j.__)("Send a test email","woocommerce"),onRequestClose:d,className:"wc-settings-email-preview-send-modal",children:(0,N.jsx)(gi.$E,{email:o,onEmailChange:s,isSending:r,notice:a,noticeType:l,onSend:M,onCancel:d})})]})},mi=({emailTypes:e,emailType:t,setEmailType:n})=>(0,N.jsx)("div",{className:"wc-settings-email-preview-type wc-settings-prevent-change-event",children:(0,N.jsx)(u.SelectControl,{onChange:n,options:e,value:t,"aria-label":(0,j.__)("Email preview type","woocommerce")})});var Li=r(93832);const Ni=window.wc.customerEffortScore,yi=({size:e=12})=>(0,N.jsx)(P.SVG,{width:e,height:e+1,viewBox:"0 -1 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.45865 9.08341L1.6665 9.87639L1.6665 1.66675L10.3332 1.66675L10.3332 9.08341L2.45865 9.08341ZM2.87317 10.0834L10.6665 10.0834C11.0347 10.0834 11.3332 9.78494 11.3332 9.41675L11.3332 1.33342C11.3332 0.965226 11.0347 0.666748 10.6665 0.666748H1.33317C0.964982 0.666748 0.666504 0.965225 0.666504 1.33341V11.0166C0.666504 11.2116 0.773993 11.3907 0.946074 11.4825C1.15124 11.5919 1.40385 11.5543 1.56818 11.3898L2.87317 10.0834ZM8.6665 4.66673H3.33317V3.66673H8.6665V4.66673ZM3.33317 7.33339H6.6665V6.33339H3.33317V7.33339Z",fill:"currentColor"})}),Ii=({action:t,description:n,question:i,showOnLoad:o=!1})=>{const{showCesModal:s}=(0,G.useDispatch)(Ni.STORE_KEY),r=(0,e.useRef)(!1),c=(0,e.useCallback)(()=>{s({action:t,title:(0,j.__)("Share your experience","woocommerce"),showDescription:!!n,description:n,firstQuestion:i,getExtraFieldsToBeShown:(e,t,n)=>(0,N.jsxs)("div",{children:[(0,N.jsx)("br",{}),(0,N.jsx)(u.TextareaControl,{label:(0,j.__)("How can we improve the email customizer for you? (Optional)","woocommerce"),value:e.feedback_comment||"",onChange:n=>t({...e,feedback_comment:n}),placeholder:(0,j.__)("What did you try to achieve with the customizer? What did and didn't work?","woocommerce")}),(0,N.jsx)(u.TextControl,{label:(0,j.__)("Email address (Optional)","woocommerce"),type:"email",value:e.email||"",onChange:n=>t({...e,email:n}),help:n?.email?(0,N.jsx)("span",{className:"woocommerce-customer-effort-score__errors",children:n.email}):(0,j.__)("Share if you would like to discuss your experience or participate in future research.","woocommerce")})]}),validateExtraFields:({email:e=""})=>{const t={};return e.length>0&&!(0,Li.isEmail)(e)&&(t.email=(0,j.__)("Please enter a valid email address.","woocommerce")),t}})},[t,n,i,s]);return(0,e.useEffect)(()=>{window.wcTracks?.isEnabled&&o&&!r.current&&(r.current=!0,c())},[c,o]),window.wcTracks?.isEnabled&&!o&&(0,N.jsx)(u.Button,{variant:"tertiary",icon:(0,N.jsx)(yi,{}),iconSize:12,onClick:c,children:(0,j.__)("Help us improve","woocommerce")})},{Fill:pi}=(0,u.createSlotFill)(k),hi=(document.getElementById("adminmenu")?.clientWidth||160)+666+684+40,wi=({emailTypes:t,previewUrl:n,settingsIds:i})=>{const[o,s]=(0,e.useState)(ci),r=1===t.length,[c,a]=(0,e.useState)(r?t[0].value:"WC_Email_Customer_Processing_Order"),[l,M]=(0,e.useState)(!1),[d,g]=(0,e.useState)(!r&&window.innerWidth>hi),m=`${n}&type=${c}`;(0,e.useEffect)(()=>{if(r)return;const e=(0,ri.debounce)(()=>{g(window.innerWidth>hi)},400);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[r]);const L=(0,j.__)("I am able to customize my email designs to match my store’s brand.","woocommerce");return(0,N.jsxs)(pi,{children:[!d&&!r&&(0,N.jsx)("h2",{children:(0,j.__)("Email preview","woocommerce")}),(0,N.jsxs)("div",{className:"wc-settings-email-preview-container "+(d?"wc-settings-email-preview-container-floating":""),children:[(0,N.jsxs)("div",{className:"wc-settings-email-preview-controls",children:[!r&&(0,N.jsx)(mi,{emailTypes:t,emailType:c,setEmailType:e=>{M(!0),a(e)}}),(0,N.jsx)("div",{className:"wc-settings-email-preview-spinner",children:l&&(0,N.jsx)(u.Spinner,{})}),(0,N.jsx)("div",{style:{flexGrow:1}}),(0,N.jsx)(ui,{deviceType:o,setDeviceType:s}),(0,N.jsx)(ji,{type:c})]}),(0,N.jsxs)("div",{className:`wc-settings-email-preview wc-settings-email-preview-${o}`,children:[(0,N.jsx)(Mi,{emailType:c}),(0,N.jsx)(di,{src:m,isLoading:l,setIsLoading:M,settingsIds:i}),(0,N.jsx)("div",{className:"wc-settings-email-preview-ces-feedback",children:(0,N.jsx)(Ii,{action:"email_improvements_feedback",question:L})})]})]})]})},{Fill:Di}=(0,u.createSlotFill)(k),xi=()=>{const e=(0,j.__)("Thank you for trying out our new email customization features. We’d love to hear your feedback on how we could improve the experience.","woocommerce"),t=(0,j.__)("I was able to customize my email designs to match my store’s brand.","woocommerce");return(0,N.jsx)(Di,{children:(0,N.jsx)(Ii,{action:"email_improvements_disabled_feedback",description:e,question:t,showOnLoad:!0})})};var Si=r(75644),Ai=r(22701);const fi=()=>(0,N.jsx)(u.Notice,{status:"error",isDismissible:!1,children:(0,j.__)("The email list could not be loaded. Reload the page to try again.","woocommerce")}),Ti=(0,e.lazy)(()=>Promise.all([Promise.all([r.e(3590),r.e(4898),r.e(3665),r.e(7392)]).then(r.bind(r,92141)),(0,j.isRTL)()?r.e(7006).then(r.bind(r,9370)):r.e(3363).then(r.bind(r,20321))]).then(([e])=>({default:e.ListView})).catch(e=>(console.error(e),{default:fi}))),{Fill:zi}=(0,u.createSlotFill)(k),vi="wc_email_update_list_viewed",Ei=({editTemplateUrl:t,emailTemplateId:n,templateSessionEmailTypeId:i})=>{const[o,s]=(0,e.useState)(!1);return t?(0,N.jsx)(u.Button,{variant:"primary",href:t,className:"woocommerce-email-listing-edit-template-button",children:(0,j.__)("Edit template","woocommerce")}):n&&i?(0,N.jsx)(u.Button,{variant:"primary",isBusy:o,disabled:o,onClick:async()=>{s(!0);const e=await(0,Si.N)(i),t=parseInt(e?.post_id??"",10);Number.isInteger(t)&&t>0?window.location.href=(0,X.getAdminLink)(`post.php?post=${t}&action=edit&template=${encodeURIComponent(n)}`):(s(!1),(0,G.dispatch)("core/notices").createErrorNotice((0,j.__)("Could not prepare the email template for editing. Please try again.","woocommerce")))},className:"woocommerce-email-listing-edit-template-button",children:(0,j.__)("Edit template","woocommerce")}):null},Ci=()=>(0,N.jsx)("div",{className:"woocommerce-email-listing-placeholder",role:"status",children:(0,N.jsx)("p",{children:(0,j.__)("Loading…","woocommerce")})}),_i=({emailTypes:t,editTemplateUrl:n,emailTemplateId:i})=>((0,e.useEffect)(()=>{try{if(window.sessionStorage.getItem(vi))return;window.sessionStorage.setItem(vi,"1")}catch{}const e=t.filter(e=>(0,Ai.G)(e)).length;(0,B.recordEvent)("block_email_list_viewed",{viewed_from:"email_list",eligible_count:e,total_count:t.length})},[]),(0,N.jsxs)(zi,{children:[(0,N.jsxs)("div",{id:"email_notification_settings-description",className:"woocommerce-email-listing-description",children:[(0,N.jsx)("p",{children:(0,j.__)("Manage email notifications sent from WooCommerce below or click on 'Edit template' to customize your email template design.","woocommerce")}),(0,N.jsx)(Ei,{editTemplateUrl:n,emailTemplateId:i,templateSessionEmailTypeId:t[0]?.id??null})]}),(0,N.jsx)(e.Suspense,{fallback:(0,N.jsx)(Ci,{}),children:(0,N.jsx)(Ti,{emailTypes:t})})]}));[{id:"experimental_wc_settings_payments_main",component:(0,N.jsx)(Y,{})},{id:"experimental_wc_settings_payments_offline",component:(0,N.jsx)(E,{})},{id:"experimental_wc_settings_payments_bacs",component:(0,N.jsx)(_,{})},{id:"experimental_wc_settings_payments_cheque",component:(0,N.jsx)(O,{})},{id:"experimental_wc_settings_payments_cod",component:(0,N.jsx)(b,{})},{id:"experimental_wc_settings_payments_woocommerce_payments",component:(0,N.jsx)(C,{})}].forEach(({id:t,component:n})=>{const i=document.getElementById(t);if(i){const t=document.createElement("div");t.className="wc-settings-prevent-change-event",(0,e.createRoot)(i.insertBefore(t,null)).render(n)}}),(()=>{[{id:"wc_payments_settings_slotfill",scope:"woocommerce-payments-settings"},{id:"wc_tax_settings_slotfill",scope:"woocommerce-tax-settings"},{id:"wc_settings_slotfill",scope:"woocommerce-settings"},{id:"wc_settings_site_visibility_slotfill",scope:"woocommerce-site-visibility-settings"},{id:"wc_settings_blueprint_slotfill",scope:"woocommerce-blueprint-settings"},{id:"wc_settings_email_preview_slotfill",scope:"woocommerce-email-preview-settings"},{id:"wc_settings_email_listing_slotfill",scope:"woocommerce-email-listing"},{id:"wc_settings_features_email_feedback_slotfill",scope:"woocommerce-email-feedback-settings"},{id:"wc_settings_email_image_url_slotfill",scope:"woocommerce-email-image-url-settings"},{id:"wc_settings_email_color_palette_slotfill",scope:"woocommerce-email-color-palette-settings"}].forEach(t=>{const n=document.getElementById(t.id);n&&(0,e.createRoot)(n).render((0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(u.SlotFillProvider,{children:[(0,N.jsx)(U,{}),(0,N.jsx)(m.PluginArea,{scope:t.scope})]})}))}),(0,m.getPlugin)(V)||(0,m.registerPlugin)(V,{scope:"woocommerce-tax-settings",render:J}),(0,m.getPlugin)(oe)||(0,m.registerPlugin)(oe,{scope:"woocommerce-payments-settings",render:se});const n=window.wcAdminFeatures;(0,m.getPlugin)(de)||(0,m.registerPlugin)(de,{scope:"woocommerce-site-visibility-settings",render:je}),c("blueprint")&&((0,m.getPlugin)(Gn)||(0,m.registerPlugin)(Gn,{scope:"woocommerce-blueprint-settings",render:Hn})),c("block_email_editor")&&(()=>{const e=document.getElementById("wc_settings_email_listing_slotfill");if(!e)return null;const t=e.getAttribute("data-email-types"),n=e.getAttribute("data-edit-template-url"),i=e.getAttribute("data-email-template-id");let o=[];try{const e=JSON.parse(t||"");o=Array.isArray(e)?e.map(e=>(e=>{const t="string"==typeof e.template_status&&e.template_status.length>0?e.template_status:null,n="string"==typeof e.template_version&&e.template_version.length>0?e.template_version:null,i="string"==typeof e.current_version&&e.current_version.length>0?e.current_version:null,o=!0===e.was_backfilled||1===e.was_backfilled;return{...e,templateStatus:t,templateVersion:n,currentVersion:i,wasBackfilled:o}})(e)):[]}catch(e){}(0,m.registerPlugin)("woocommerce-admin-settings-email-listing",{scope:"woocommerce-email-listing",render:()=>(0,N.jsx)(_i,{emailTypes:o,editTemplateUrl:n,emailTemplateId:i})})})(),!0===n?.["settings-ui"]&&(()=>{const n=window.wc?.settingsUi?.SettingsUIErrorBoundary,i=window.wc?.settingsUi?.SettingsUIPage;n&&i?document.querySelectorAll('[data-wc-settings-ui="1"]').forEach(o=>{const s=o.dataset.wcSettingsPage||"",r=o.dataset.wcSettingsSection||"",c=((e,n)=>{const i=(0,t.Qk)("settingsUI",{}),o=n||"default";return i?.[e]?.[o]})(s,r);c?(0,e.createRoot)(o).render((0,e.createElement)(n,null,(0,e.createElement)(i,{schema:c,page:s,section:r}))):console.warn("[WooCommerce settings UI] Settings payload is missing.",{page:s,section:r})}):document.querySelector('[data-wc-settings-ui="1"]')&&console.warn("[WooCommerce settings UI] The wc-settings-ui script is missing.")})(),(()=>{const e=document.getElementById("woocommerce_email_auto_sync_with_theme");if(!e)return;const t="yes"===e.value,n=document.getElementById("wc_settings_email_color_palette_slotfill"),i=n?.getAttribute("data-default-colors");let o={};try{const{base:e,bg:t,body_bg:n,body_text:s,footer_text:r}=JSON.parse(i||"");o={baseColor:e,bgColor:t,bodyBgColor:n,bodyTextColor:s,footerTextColor:r}}catch(e){}const s=null!==n?.getAttribute("data-has-theme-json");(0,m.registerPlugin)("woocommerce-admin-settings-email-color-palette",{scope:"woocommerce-email-color-palette-settings",render:()=>(0,N.jsx)(ei,{autoSync:t,autoSyncInput:e,defaultColors:o,hasThemeJson:s})})})(),(()=>{if(!document.getElementById("wc_settings_features_email_feedback_slotfill"))return null;(0,m.registerPlugin)("woocommerce-admin-settings-email-feedback",{scope:"woocommerce-email-feedback-settings",render:()=>(0,N.jsx)(xi,{})})})(),(()=>{const e=document.getElementById("wc_settings_email_image_url_slotfill"),t=e?.getAttribute("data-image-url")||"",n=e?.getAttribute("data-id")||"";(0,m.registerPlugin)("woocommerce-admin-settings-email-image-url",{scope:"woocommerce-email-image-url-settings",render:()=>(0,N.jsx)(si,{inputId:n,initImageUrl:t})})})(),(()=>{const e=document.getElementById("wc_settings_email_preview_slotfill");if(!e)return null;const t=e.getAttribute("data-preview-url");if(!t)return null;const n=e.getAttribute("data-email-types");let i=[];try{i=JSON.parse(n||"")}catch(e){}const o=e.getAttribute("data-email-setting-ids");let s=[];try{s=JSON.parse(o||"")}catch(e){}(0,m.registerPlugin)("woocommerce-admin-settings-email-preview",{scope:"woocommerce-email-preview-settings",render:()=>(0,N.jsx)(wi,{settingsIds:s,emailTypes:i,previewUrl:t})})})()})()})(),(window.wc=window.wc||{}).settingsEmbed={}})();