%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/woocommerce/assets/client/admin/product-editor/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/woocommerce/assets/client/admin/product-editor/index.js |
/*! For license information please see index.js.LICENSE.txt */ (()=>{var __webpack_modules__={8213:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var r=o(69307);const n=(0,r.forwardRef)((function({icon:e,size:t=24,...o},n){return(0,r.cloneElement)(e,{width:t,height:t,...o,ref:n})}))},52798:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})})},17289:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},94392:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},25585:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})})},76875:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})})},42890:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})})},90622:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},57207:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},38192:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})})},74059:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},74621:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})})},51619:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},59538:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.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"})})},9759:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})})},91676:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8 4a4 4 0 0 0 4-4H8a4 4 0 0 0 4 4Z"})})},50529:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})})},78842:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});const r=o(24347).Z},46646:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},68782:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})})},36348:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},54617:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M10 17.5H14V16H10V17.5ZM6 6V7.5H18V6H6ZM8 12.5H16V11H8V12.5Z"})})},9622:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})})},71738:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},68617:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})})},96073:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5A6.5 6.5 0 0 1 6.93 7.931l9.139 9.138A6.473 6.473 0 0 1 12 18.5Zm5.123-2.498a6.5 6.5 0 0 0-9.124-9.124l9.124 9.124ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"})})},86243:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,n.jsx)(r.Path,{d:"M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z"}),(0,n.jsx)(r.Path,{d:"M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z"}),(0,n.jsx)(r.Path,{d:"M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})]})},24347:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},3338:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},16719:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"})})},34121:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm11.53-1.47-1.06-1.06L11 12.94l-1.47-1.47-1.06 1.06L11 15.06l4.53-4.53Z"})})},21571:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})})},36216:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm9 1V8h-1.5v3.5h-2V13H13Z"})})},37918:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})})},73453:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})})},65343:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},73091:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},13056:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(r.Path,{d:"M4.67 10.664s-2.09 1.11-2.917 1.582l.494.87 1.608-.914.002.002c.343.502.86 1.17 1.563 1.84.348.33.742.663 1.185.976L5.57 16.744l.858.515 1.02-1.701a9.1 9.1 0 0 0 4.051 1.18V19h1v-2.263a9.1 9.1 0 0 0 4.05-1.18l1.021 1.7.858-.514-1.034-1.723c.442-.313.837-.646 1.184-.977.703-.669 1.22-1.337 1.563-1.839l.002-.003 1.61.914.493-.87c-1.75-.994-2.918-1.58-2.918-1.58l-.003.005a8.29 8.29 0 0 1-.422.689 10.097 10.097 0 0 1-1.36 1.598c-1.218 1.16-3.042 2.293-5.544 2.293-2.503 0-4.327-1.132-5.546-2.293a10.099 10.099 0 0 1-1.359-1.599 8.267 8.267 0 0 1-.422-.689l-.003-.005Z"})})},45199:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var r=o(70444),n=o(61250);const a=(0,n.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,n.jsx)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})})},76664:(e,t,o)=>{"use strict";o.d(t,{tC:()=>D,Vi:()=>Z,v4:()=>U,Eo:()=>W,Ox:()=>j,h:()=>N});var r={};o.r(r),o.d(r,{disableComplementaryArea:()=>x,enableComplementaryArea:()=>C,pinItem:()=>y,setFeatureDefaults:()=>P,setFeatureValue:()=>S,toggleFeature:()=>A,unpinItem:()=>k});var n={};function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},a.apply(this,arguments)}o.r(n),o.d(n,{getActiveComplementaryArea:()=>B,isFeatureActive:()=>M,isItemPinned:()=>V});var c=o(69307),i=o(87608),l=o.n(i),s=o(55609),u=o(9818),d=o(65736),m=o(70444);const p=(0,c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(m.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),h=(0,c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(m.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})),_=(0,c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(m.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"})),v=window.wp.viewport,w=(0,c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(m.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=window.lodash;var f=o(37180),E=o.n(f),b=o(55815);const C=(e,t)=>o=>{let{registry:r}=o;t&&r.dispatch(b.store).set(e,"complementaryArea",t)},x=e=>t=>{let{registry:o}=t;o.dispatch(b.store).set(e,"complementaryArea",null)},y=(e,t)=>o=>{let{registry:r}=o;if(!t)return;const n=r.select(b.store).get(e,"pinnedItems");!0!==(null==n?void 0:n[t])&&r.dispatch(b.store).set(e,"pinnedItems",{...n,[t]:!0})},k=(e,t)=>o=>{let{registry:r}=o;if(!t)return;const n=r.select(b.store).get(e,"pinnedItems");r.dispatch(b.store).set(e,"pinnedItems",{...n,[t]:!1})};function A(e,t){return function(o){let{registry:r}=o;E()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),r.dispatch(b.store).toggle(e,t)}}function S(e,t,o){return function(r){let{registry:n}=r;E()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),n.dispatch(b.store).set(e,t,!!o)}}function P(e,t){return function(o){let{registry:r}=o;E()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),r.dispatch(b.store).setDefaults(e,t)}}const B=(0,u.createRegistrySelector)((e=>(t,o)=>e(b.store).get(o,"complementaryArea"))),V=(0,u.createRegistrySelector)((e=>(t,o,r)=>{var n;const a=e(b.store).get(o,"pinnedItems");return null===(n=null==a?void 0:a[r])||void 0===n||n})),M=(0,u.createRegistrySelector)((e=>(t,o,r)=>(E()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(b.store).get(o,r)))),N=(0,u.createReduxStore)("core/interface",{reducer:()=>{},actions:r,selectors:n});(0,u.register)(N);const T=(0,o(98817).withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}))),L=T((function(e){let{as:t=s.Button,scope:o,identifier:r,icon:n,selectedIcon:i,...l}=e;const d=t,m=(0,u.useSelect)((e=>e(N).getActiveComplementaryArea(o)===r),[r]),{enableComplementaryArea:p,disableComplementaryArea:h}=(0,u.useDispatch)(N);return(0,c.createElement)(d,a({icon:i&&m?i:n,onClick:()=>{m?h(o):p(o,r)}},(0,g.omit)(l,["name"])))})),F=e=>{let{smallScreenTitle:t,children:o,className:r,toggleButtonProps:n}=e;const i=(0,c.createElement)(L,a({icon:w},n));return(0,c.createElement)(c.Fragment,null,(0,c.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&(0,c.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),i),(0,c.createElement)("div",{className:l()("components-panel__header","interface-complementary-area-header",r),tabIndex:-1},o,i))};function R(e){let{name:t,as:o=s.Button,onClick:r,...n}=e;return(0,c.createElement)(s.Fill,{name:t},(e=>{let{onClick:t}=e;return(0,c.createElement)(o,a({onClick:r||t?function(){(r||g.noop)(...arguments),(t||g.noop)(...arguments)}:void 0},n))}))}R.Slot=function(e){let{name:t,as:o=s.ButtonGroup,fillProps:r={},bubblesVirtually:n,...a}=e;return(0,c.createElement)(s.Slot,{name:t,bubblesVirtually:n,fillProps:r},(e=>{if((0,g.isEmpty)(c.Children.toArray(e)))return null;const t=[];c.Children.forEach(e,(e=>{let{props:{__unstableExplicitMenuItem:o,__unstableTarget:r}}=e;r&&o&&t.push(r)}));const r=c.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e));return(0,c.createElement)(o,a,r)}))};const D=R,H=e=>(0,c.createElement)(s.MenuItem,(0,g.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function I(e){let{scope:t,target:o,__unstableExplicitMenuItem:r,...n}=e;return(0,c.createElement)(L,a({as:e=>(0,c.createElement)(D,a({__unstableExplicitMenuItem:r,__unstableTarget:`${t}/${o}`,as:H,name:`${t}/plugin-more-menu`},e)),role:"menuitemcheckbox",selectedIcon:p,name:o,scope:t},n))}function z(e){let{scope:t,...o}=e;return(0,c.createElement)(s.Fill,a({name:`PinnedItems/${t}`},o))}z.Slot=function(e){let{scope:t,className:o,...r}=e;return(0,c.createElement)(s.Slot,a({name:`PinnedItems/${t}`},r),(e=>!(0,g.isEmpty)(e)&&(0,c.createElement)("div",{className:l()(o,"interface-pinned-items")},e)))};const j=z;function O(e){let{scope:t,children:o,className:r}=e;return(0,c.createElement)(s.Fill,{name:`ComplementaryArea/${t}`},(0,c.createElement)("div",{className:r},o))}const G=T((function(e){let{children:t,className:o,closeLabel:r=(0,d.__)("Close plugin"),identifier:n,header:a,headerClassName:i,icon:m,isPinnable:w=!0,panelClassName:g,scope:f,name:E,smallScreenTitle:b,title:C,toggleShortcut:x,isActiveByDefault:y,showIconLabels:k=!1}=e;const{isActive:A,isPinned:S,activeArea:P,isSmall:B,isLarge:V}=(0,u.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:o}=e(N),r=t(f);return{isActive:r===n,isPinned:o(f,n),activeArea:r,isSmall:e(v.store).isViewportMatch("< medium"),isLarge:e(v.store).isViewportMatch("large")}}),[n,f]);!function(e,t,o,r,n){const a=(0,c.useRef)(!1),i=(0,c.useRef)(!1),{enableComplementaryArea:l,disableComplementaryArea:s}=(0,u.useDispatch)(N);(0,c.useEffect)((()=>{r&&n&&!a.current?(s(e),i.current=!0):i.current&&!n&&a.current?(i.current=!1,l(e,t)):i.current&&o&&o!==t&&(i.current=!1),n!==a.current&&(a.current=n)}),[r,n,e,t,o])}(f,n,P,A,B);const{enableComplementaryArea:M,disableComplementaryArea:T,pinItem:R,unpinItem:D}=(0,u.useDispatch)(N);return(0,c.useEffect)((()=>{y&&void 0===P&&!B&&M(f,n)}),[P,y,f,n,B]),(0,c.createElement)(c.Fragment,null,w&&(0,c.createElement)(j,{scope:f},S&&(0,c.createElement)(L,{scope:f,identifier:n,isPressed:A&&(!k||V),"aria-expanded":A,label:C,icon:k?p:m,showTooltip:!k,variant:k?"tertiary":void 0})),E&&w&&(0,c.createElement)(I,{target:E,scope:f,icon:m},C),A&&(0,c.createElement)(O,{className:l()("interface-complementary-area",o),scope:f},(0,c.createElement)(F,{className:i,closeLabel:r,onClose:()=>T(f),smallScreenTitle:b,toggleButtonProps:{label:r,shortcut:x,scope:f,identifier:n}},a||(0,c.createElement)(c.Fragment,null,(0,c.createElement)("strong",null,C),w&&(0,c.createElement)(s.Button,{className:"interface-complementary-area__pin-unpin-item",icon:S?h:_,label:S?(0,d.__)("Unpin from toolbar"):(0,d.__)("Pin to toolbar"),onClick:()=>(S?D:R)(f,n),isPressed:S,"aria-expanded":S}))),(0,c.createElement)(s.Panel,{className:g},t)))}));G.Slot=function(e){let{scope:t,...o}=e;return(0,c.createElement)(s.Slot,a({name:`ComplementaryArea/${t}`},o))};const Z=G;var $=o(94333);const U=(0,c.forwardRef)((function(e,t){let{footer:o,header:r,sidebar:n,secondarySidebar:i,notices:u,content:m,drawer:p,actions:h,labels:_,className:v,shortcuts:w}=e;const g=(0,s.__unstableUseNavigateRegions)(w);!function(e){(0,c.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const f={drawer:(0,d.__)("Drawer"),header:(0,d.__)("Header"),body:(0,d.__)("Content"),secondarySidebar:(0,d.__)("Block Library"),sidebar:(0,d.__)("Settings"),actions:(0,d.__)("Publish"),footer:(0,d.__)("Footer"),..._};return(0,c.createElement)("div",a({},g,{ref:(0,$.useMergeRefs)([t,g.ref]),className:l()(v,"interface-interface-skeleton",g.className,!!o&&"has-footer")}),!!p&&(0,c.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":f.drawer,tabIndex:"-1"},p),(0,c.createElement)("div",{className:"interface-interface-skeleton__editor"},!!r&&(0,c.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":f.header,tabIndex:"-1"},r),(0,c.createElement)("div",{className:"interface-interface-skeleton__body"},!!i&&(0,c.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":f.secondarySidebar,tabIndex:"-1"},i),!!u&&(0,c.createElement)("div",{className:"interface-interface-skeleton__notices"},u),(0,c.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":f.body,tabIndex:"-1"},m),!!n&&(0,c.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":f.sidebar,tabIndex:"-1"},n),!!h&&(0,c.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":f.actions,tabIndex:"-1"},h))),!!o&&(0,c.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":f.footer,tabIndex:"-1"},o))})),q=(0,c.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(m.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));function W(e){let{as:t=s.DropdownMenu,className:o,label:r=(0,d.__)("Options"),popoverProps:n,toggleProps:a,children:i}=e;return(0,c.createElement)(t,{className:l()("interface-more-menu-dropdown",o),icon:q,label:r,popoverProps:{position:"bottom left",...n,className:l()("interface-more-menu-dropdown__content",null==n?void 0:n.className)},toggleProps:{tooltipPosition:"bottom",...a}},(e=>i(e)))}},60107:(e,t,o)=>{"use strict";o.d(t,{c:()=>i});var r=o(69307),n=o(57207),a=o(55609),c=o(65736);function i({dropdownButtonLabel:e=(0,c.__)("More options","woocommerce"),controls:t,defaultOpen:o=!1,popoverProps:{placement:i="bottom-end",position:l="bottom left left",offset:s=0}={placement:"bottom-end",position:"bottom left left",offset:0},className:u,renderMenu:d,onToggle:m=(()=>{}),...p}){return(0,r.createElement)(a.Flex,{className:"woocommerce-button-with-dropdown-menu"+((null==u?void 0:u.length)?" "+u:""),justify:"left",gap:0,expanded:!1,role:"group"},(0,r.createElement)(a.FlexItem,{role:"none"},(0,r.createElement)(a.Button,{...p,className:"woocommerce-button-with-dropdown-menu__main-button"})),(0,r.createElement)(a.FlexItem,{role:"none"},(0,r.createElement)(a.DropdownMenu,{toggleProps:{className:"woocommerce-button-with-dropdown-menu__dropdown-button",variant:p.variant},controls:t,icon:n.Z,label:e,popoverProps:{placement:i,position:l,offset:s},defaultOpen:o,onToggle:m},d)))}},43279:(e,t,o)=>{"use strict";o.d(t,{H:()=>y});var r=o(55609),n=o(37798),a=o(9818),c=o(69307),i=o(10431),l=o(14599),s=o(50528),u=o(79297),d=o(63002),m=o(81514),p=o(75286),h=o(65736),_=o(24705),v=o(66572),w=o(97630),g=o(74617),f=o(60107),E=o(77792),b=o(95463);function C(e,t){const{createSuccessNotice:o}=(0,a.dispatch)("core/notices"),r=function(e,t){return"future"===e.status?(0,h.sprintf)((0,h.__)("Product scheduled for %s.","woocommerce"),(0,b.xI)(`${e.date_created_gmt}+00:00`)):"publish"===t||"future"===t?(0,h.__)("Product updated.","woocommerce"):(0,h.__)("Product published.","woocommerce")}(e,t);o(r,{icon:"🎉",actions:[{label:(0,h.__)("View in store","woocommerce"),url:e.permalink,onClick(t){t.preventDefault(),window.open(e.permalink,"_blank")}}]})}function x({postType:e,visibleTab:t="general",...o}){const{isScheduling:s,isScheduled:m,schedule:_,date:b,formattedDate:x}=(0,w.Q)(e),[y,k]=(0,c.useState)(),{copyToDraft:A,trash:S}=(0,v.j)(e),{createErrorNotice:P,createSuccessNotice:B}=(0,a.useDispatch)("core/notices"),[,,V]=(0,n.useEntityProp)("postType",e,"status"),{getProductErrorMessageAndProps:M}=(0,u.U)();function N(e){_(e).then((e=>{(0,d.E)("product_schedule",e),C(e)})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})).finally((()=>{k(void 0)}))}return(0,c.createElement)(c.Fragment,null,(0,c.createElement)(f.c,{...o,onToggle:e=>{var t;e&&(0,l.recordEvent)("product_publish_dropdown_open",{source:p.RG}),null===(t=o.onToggle)||void 0===t||t.call(o,e)},renderMenu:function({onClose:e}){return(0,c.createElement)(c.Fragment,null,(0,c.createElement)(r.MenuGroup,null,m?(0,c.createElement)(c.Fragment,null,(0,c.createElement)(r.MenuItem,{onClick:()=>{N(),e()}},(0,h.__)("Publish now","woocommerce")),(0,c.createElement)(r.MenuItem,{info:x,onClick:()=>{k("edit"),e()}},(0,h.__)("Edit schedule","woocommerce"))):(0,c.createElement)(r.MenuItem,{onClick:()=>{(0,l.recordEvent)("product_schedule_publish",{source:p.RG}),k("schedule"),e()}},(0,h.__)("Schedule publish","woocommerce"))),"trash"!==V&&(0,c.createElement)(r.MenuGroup,null,(0,c.createElement)(r.MenuItem,{onClick:()=>{A().then((e=>{(0,d.E)("product_copied_to_draft",e),B((0,h.__)("Product successfully duplicated","woocommerce"));const t=(0,i.getNewPath)({},`/product/${e.id}`);(0,i.navigateTo)({url:t})})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})),e()}},(0,h.__)("Copy to a new draft","woocommerce")),(0,c.createElement)(r.MenuItem,{isDestructive:!0,onClick:()=>{S().then((e=>{(0,d.E)("product_delete",e),B((0,h.__)("Product successfully deleted","woocommerce"));const t=(0,g.getAdminLink)("edit.php?post_type=product");(0,i.navigateTo)({url:t})})).catch((async e=>{const{message:o,errorProps:r}=await M(e,t);P(o,r)})),e()}},(0,h.__)("Move to trash","woocommerce"))))}}),y&&(0,c.createElement)(E.m,{postType:e,value:"edit"===y?b:void 0,isScheduling:s,onCancel:()=>k(void 0),onSchedule:N}))}function y({productType:e="product",isMenuButton:t,isPrePublishPanelVisible:o=!0,visibleTab:g="general",...f}){const{createErrorNotice:E}=(0,a.useDispatch)("core/notices"),{maybeShowFeedbackBar:b}=(0,m.U)(),{openPrepublishPanel:y}=(0,a.useDispatch)(s.h),{getProductErrorMessageAndProps:k}=(0,u.U)(),[A,,S]=(0,n.useEntityProp)("postType",e,"status"),P=function({productType:e="product",disabled:t,onClick:o,onPublishSuccess:r,onPublishError:a,...c}){const{isValidating:i,isDirty:l,isPublishing:s,publish:u}=(0,v.j)(e),[,,d]=(0,n.useEntityProp)("postType",e,"status"),{isScheduled:m}=(0,w.Q)(e),p=s||i,g="draft"!==d&&(t||p||!l),f=()=>u().then(r).catch(a);return(0,_.useShortcut)("core/editor/save",(e=>{e.preventDefault(),g||"publish"!==d&&"future"!==d||f()})),{children:m?(0,h.__)("Schedule","woocommerce"):"publish"===d||"future"===d?(0,h.__)("Update","woocommerce"):(0,h.__)("Publish","woocommerce"),...c,isBusy:p,"aria-disabled":g,variant:"primary",onClick:function(e){var t;g?null===(t=e.preventDefault)||void 0===t||t.call(e):(o&&o(e),f())}}}({productType:e,...f,onPublishSuccess(e){if(("publish"===e.status||"future"===e.status)&&(0,d.E)("product_update",e),C(e,S),b(),"auto-draft"===S||"draft"===S){const t=(0,i.getNewPath)({},`/product/${e.id}`);(0,i.navigateTo)({url:t})}},async onPublishError(e){const{message:t,errorProps:o}=await k(e,g);E(t,o)}});if("product"===e&&t){function B(t){return(0,c.createElement)(x,{...t,postType:e,visibleTab:g})}if("publish"!==A&&"future"!==A&&window.wcAdminFeatures["product-pre-publish-modal"]&&o){function V(e){P["aria-disabled"]?e.preventDefault():((0,l.recordEvent)("product_prepublish_panel",{source:p.RG,action:"view"}),y())}return(0,c.createElement)(x,{...P,postType:e,controls:void 0,onClick:V,renderMenu:B,visibleTab:g})}return(0,c.createElement)(x,{...P,postType:e,controls:void 0,renderMenu:B,visibleTab:g})}return(0,c.createElement)(r.Button,{...P})}},70250:(e,t,o)=>{"use strict";o.d(t,{ZX:()=>r,ai:()=>n,hB:()=>a});const r="woocommerce-product-editor-settings-sidebar",n="woocommerce/product-editor/modal-block-editor/sidebar",a=`${n}/plugin-more-menu`},1636:(e,t,o)=>{"use strict";o.d(t,{Q:()=>c});var r=o(69307),n=o(76664),a=o(70250);function c({className:e,...t}){return(0,r.createElement)(n.Vi,{panelClassName:e,className:"woocommerce-iframe-editor__sidebar",scope:a.ai,...t})}},77792:(e,t,o)=>{"use strict";o.d(t,{m:()=>u});var r=o(55609),n=o(69307),a=o(65736),c=o(87608),i=o.n(c),l=o(94211),s=o(80634);function u({postType:e,title:t=(0,a.__)("Schedule product","woocommerce"),description:o=(0,a.__)("Decide when this product should become visible to customers.","woocommerce"),value:c,className:u,onCancel:d,onSchedule:m,isScheduling:p,...h}){const[_,v]=(0,n.useState)((()=>null!=c?c:(0,l.L)()));function w(e){v(e)}return(0,n.createElement)(r.Modal,{...h,title:t,className:i()(u,"woocommerce-schedule-publish-modal"),onRequestClose:()=>null==d?void 0:d()},(0,n.createElement)("p",{className:"woocommerce-schedule-publish-modal__description"},o),(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__content"},(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__button-now"},(0,n.createElement)("strong",null,(0,a.__)("Publish","woocommerce")),(0,n.createElement)(r.Button,{variant:"link",onClick:()=>w((0,l.L)())},(0,a.__)("Now","woocommerce"))),(0,n.createElement)(r.DateTimePicker,{currentDate:_,onChange:w,is12Hour:(0,s.$)()})),(0,n.createElement)("div",{className:"woocommerce-schedule-publish-modal__buttons"},(0,n.createElement)(r.Button,{variant:"tertiary",onClick:d},(0,a.__)("Cancel","woocommerce")),(0,n.createElement)(r.Button,{variant:"primary",isBusy:p,disabled:p,onClick:()=>null==m?void 0:m(_)},(0,a.__)("Schedule","woocommerce"))))}},75286:(e,t,o)=>{"use strict";o.d(t,{B1:()=>s,D9:()=>_,EI:()=>n,QO:()=>w,RG:()=>h,UM:()=>l,Ux:()=>v,VY:()=>u,at:()=>c,dE:()=>a,ec:()=>i,ii:()=>p,o0:()=>m,rJ:()=>r,zi:()=>d});const r="woocommerce_product_editor_show_feedback_bar",n="product_editor",a="woocommerce_single_variation_notice_dismissed",c="woocommerce_show_prepublish_checks_enabled",i="[^-\\d\\%s]+",l="[%s](?=%s*[%s])",s="__ADD_NEW_SHIPPING_CLASS_OPTION__",u=32,d="tab/general",m=`${d}/details`,p="product-details",h="product-block-editor-v1",_="woocommerce/product-editor",v=5,w=[5,10,25]},50570:(e,t,o)=>{"use strict";o.d(t,{M:()=>a});var r=o(69307),n=o(50155);function a(){const e=(0,r.useContext)(n._),[t,o]=(0,r.useState)(!1);return{isValidating:t,validate:async t=>(o(!0),new Promise(((o,r)=>{e.validateAll(t).then((e=>{!function(e){return Object.values(e).some(Boolean)}(e)?o():r(e)})).catch((()=>{r(e.errors)}))})).finally((()=>{o(!1)}))),focusByValidatorId:async function(t){const o=await e.getFieldByValidatorId(t);if(!o)return;const r=o.closest(".wp-block-woocommerce-product-tab__content"),n=new MutationObserver((()=>{r&&"none"!==getComputedStyle(r).display&&(o.focus(),n.disconnect())}));r&&n.observe(r,{attributes:!0})},getFieldByValidatorId:e.getFieldByValidatorId}}},50155:(e,t,o)=>{"use strict";o.d(t,{_:()=>r});const r=(0,o(69307).createContext)({errors:{},getFieldByValidatorId:()=>({}),registerValidator:()=>()=>{},unRegisterValidator:()=>()=>{},validateField:()=>Promise.resolve(void 0),validateAll:()=>Promise.resolve({})})},79297:(e,t,o)=>{"use strict";o.d(t,{U:()=>s});var r=o(65736),n=o(69307),a=o(10431),c=o(50570),i=o(9818);function l(e="",t,o,n=(0,r.__)("View error","woocommerce")){return{explicitDismiss:!0,actions:[{label:n,onClick:async()=>{var r;await o(t),(0,a.navigateTo)({url:(r=e,(0,a.getNewPath)({tab:r}))})}}]}}const s=()=>{const{focusByValidatorId:e,getFieldByValidatorId:t}=(0,c.M)(),{getClientIdByField:o,getParentTabId:a,getParentTabIdByBlockName:s}=function(){function e(e){const[t]=(0,i.select)("core/block-editor").getBlockParentsByBlockName(e,"woocommerce/product-tab",!0);if(!t)return null;const{attributes:o}=(0,i.select)("core/block-editor").getBlock(t);return null==o?void 0:o.id}return{getClientIdByField:function(e){const t=e.closest("[data-block]");return null==t?void 0:t.dataset.block},getParentTabId:function(t){return t?e(t):null},getParentTabIdByBlockName:function(t){const o=(0,i.select)("core/block-editor").getBlocksByName(t);return o.length?e(o[0]):null}}}();return{getProductErrorMessageAndProps:(0,n.useCallback)((async(n,c)=>{const i={message:"",errorProps:{}},{code:u,message:d,validatorId:m=""}=n,p=await async function(e){if(!e)return null;const r=await t(e);return r?o(r):null}(m),h=a(p);switch(u){case"variable_product_no_variation_prices":i.message=d,"variations"!==c&&null!==h&&(i.errorProps=l(h,m,e));break;case"product_form_field_error":i.message=d,c!==h&&null!==h&&(i.errorProps=l(h,m,e));break;case"product_invalid_sku":i.message=(0,r.__)("Invalid or duplicated SKU.","woocommerce");const t=s("woocommerce/product-sku-field");c!==t&&null!==t&&(i.errorProps=l(t,"sku",e,(0,r.__)("View SKU field","woocommerce")));break;case"product_invalid_global_unique_id":i.message=(0,r.__)("Invalid or duplicated GTIN, UPC, EAN or ISBN.","woocommerce");const o=h||"inventory";c!==o&&(i.errorProps=l(o,"global_unique_id",e,(0,r.__)("View identifier field","woocommerce")));break;case"product_create_error":i.message=(0,r.__)("Failed to create product.","woocommerce");break;case"product_publish_error":i.message=(0,r.__)("Failed to publish product.","woocommerce");break;case"product_preview_error":i.message=(0,r.__)("Failed to preview product.","woocommerce");break;default:i.message=(0,r.__)("Failed to save product.","woocommerce")}return i}),[])}}},81514:(e,t,o)=>{"use strict";o.d(t,{U:()=>c});var r=o(9818),n=o(67221),a=o(75286);const c=()=>{const{updateOptions:e}=(0,r.useDispatch)(n.OPTIONS_STORE_NAME),{shouldShowFeedbackBar:t}=(0,r.useSelect)((e=>{var t;const{getOption:o,hasFinishedResolution:r}=e(n.OPTIONS_STORE_NAME),c=o(a.rJ);return{shouldShowFeedbackBar:!!r("getOption",[a.rJ])&&(null===(t=window.wcTracks)||void 0===t?void 0:t.isEnabled)&&"yes"===c}}),[]);return{shouldShowFeedbackBar:t,maybeShowFeedbackBar:async()=>{var t;const{showFeedbackBarOption:o}=await(async()=>{const{getOption:e}=(0,r.resolveSelect)(n.OPTIONS_STORE_NAME);return{showFeedbackBarOption:await e(a.rJ)}})();(null===(t=window.wcTracks)||void 0===t?void 0:t.isEnabled)&&"no"!==o&&e({[a.rJ]:"yes"})},hideFeedbackBar:()=>{e({[a.rJ]:"no"})}}}},66572:(e,t,o)=>{"use strict";o.d(t,{j:()=>u});var r=o(37798),n=o(9818),a=o(69307),c=o(67221),i=o(50570),l=o(5617),s=o(62116);function u(e){const[t]=(0,r.useEntityProp)("postType",e,"id"),[o,,u]=(0,r.useEntityProp)("postType",e,"name"),[d]=(0,r.useEntityProp)("postType",e,"status"),[m,p]=(0,a.useState)(!1),[h,_]=(0,a.useState)(!1),{isValidating:v,validate:w}=(0,i.M)(),{isDirty:g}=(0,n.useSelect)((o=>({isDirty:o("core").hasEditsForEntityRecord("postType",e,t)})),[e,t]);async function f(o={}){try{p(!0),await w(o);const{saveEntityRecord:r}=(0,n.dispatch)("core"),{blocks:a,content:c,selection:i,...l}=(0,n.select)("core").getEntityRecordEdits("postType",e,t);return await r("postType",e,{...l,...o,id:t},{throwOnError:!0})}catch(e){throw(0,s.U)(e,d)}finally{p(!1)}}return{isValidating:v,isDirty:g,isSaving:m,isPublishing:m,isTrashing:h,save:f,publish:async function(e={}){return f("publish"===d||"future"===d?e:{status:"publish",...e})},trash:async function(o=!1){try{_(!0),await w();const{deleteEntityRecord:r,saveEditedEntityRecord:a}=(0,n.dispatch)("core");return await a("postType",e,t,{throwOnError:!0}),await r("postType",e,t,{force:o,throwOnError:!0})}catch(e){throw(0,s.U)(e,d)}finally{_(!1)}},copyToDraft:async function(){try{const e=l.Ie===u&&o!==u?{name:o}:{};return p(!0),await(0,n.dispatch)(c.PRODUCTS_STORE_NAME).duplicateProduct(t,e)}catch(e){throw(0,s.U)(e,d)}finally{p(!1)}}}}},97630:(e,t,o)=>{"use strict";o.d(t,{Q:()=>s});var r=o(37798),n=o(69771),a=o(94211),c=o(95463),i=o(66572);const l="Y-m-d\\TH:i:s";function s(e){const{isSaving:t,save:o}=(0,i.j)(e),[s,u]=(0,r.useEntityProp)("postType",e,"date_created_gmt"),[d,m,p]=(0,r.useEntityProp)("postType",e,"status"),h=`${s}+00:00`,_=(0,a.L)(h);function v(e){const t=(0,n.getDate)(null!=e?e:null),o=(0,n.date)(l,t,"GMT");let r=p;return(0,n.isInTheFuture)(t.toISOString())?r="future":"future"===p&&(r="publish"),{status:r,date_created_gmt:o}}return{isScheduling:t,isScheduled:"future"===d||(0,n.isInTheFuture)(_),date:_,formattedDate:(0,c.xI)(h),setDate:async function(e){const t=v(e);u(t.date_created_gmt),m(t.status)},schedule:async function(e){const t=v(e);return o(t)}}}},50528:(e,t,o)=>{"use strict";o.d(t,{Z:()=>h,h:()=>m});var r=o(9818);const n="MODAL_EDITOR_OPEN",a="MODAL_EDITOR_CLOSE",c="MODAL_EDITOR_SET_BLOCKS",i="MODAL_EDITOR_CONTENT_HAS_CHANGED",l="PANEL_PREPUBLISH_OPEN",s="PANEL_PREPUBLISH_CLOSE",u={openModalEditor:()=>({type:n}),closeModalEditor:()=>({type:a}),setModalEditorBlocks:e=>({type:c,blocks:e}),setModalEditorContentHasChanged:e=>({type:i,hasChanged:e}),openPrepublishPanel:()=>({type:l}),closePrepublishPanel:()=>({type:s})},d={modalEditor:{isOpen:!1,blocks:[],hasChanged:!1},prepublishPanel:{isOpen:!1}},m="woo/product-editor-ui",p=(0,r.createReduxStore)(m,{actions:u,selectors:{isModalEditorOpen:function(e){var t;return null===(t=e.modalEditor)||void 0===t?void 0:t.isOpen},getModalEditorBlocks:function(e){var t;return(null===(t=e.modalEditor)||void 0===t?void 0:t.blocks)||[]},getModalEditorContentHasChanged:function(e){var t;return!!(null===(t=e.modalEditor)||void 0===t?void 0:t.hasChanged)},isPrepublishPanelOpen:function(e){var t;return null===(t=e.prepublishPanel)||void 0===t?void 0:t.isOpen}},reducer:function(e=d,t){switch(t.type){case n:return{...e,modalEditor:{...e.modalEditor,isOpen:!0}};case a:return{...e,modalEditor:{...e.modalEditor,isOpen:!1}};case c:return{...e,modalEditor:{...e.modalEditor,blocks:t.blocks||[]}};case i:return{...e,modalEditor:{...e.modalEditor,hasChanged:(null==t?void 0:t.hasChanged)||!1}};case l:return{...e,prepublishPanel:{isOpen:!0}};case s:return{...e,prepublishPanel:{isOpen:!1}}}return e}});function h(){(0,r.register)(p)}},5617:(e,t,o)=>{"use strict";o.d(t,{Ie:()=>a,VY:()=>n,aT:()=>r});const r="[^-0-9%s1%s2]",n=32,a="AUTO-DRAFT"},95463:(e,t,o)=>{"use strict";o.d(t,{X2:()=>u,e1:()=>s,u1:()=>l,xI:()=>d});var r=o(69771),n=o(65736),a=o(33266),c=o(40753),i=o(28280);const l="Y-m-d\\TH:i:s";function s(e,t){const{formats:o}=(0,r.__experimentalGetSettings)(),a=(0,n.sprintf)((0,n._x)("F j, Y %s","product schedule full date format","woocommerce"),o.time);return(0,r.dateI18n)(null!=t?t:a,e,void 0)}function u(e){const t=(0,a.s)(),o=s(e);return(0,n.isRTL)()?`${t} ${o}`:`${o} ${t}`}function d(e){const{formats:t}=(0,r.__experimentalGetSettings)(),o=(0,r.getDate)(e),a=(0,r.getDate)(null);if((0,c.K)(o,a)&&!(0,r.isInTheFuture)(e))return(0,n.__)("Immediately","woocommerce");if(!(0,i.Z)(a))return u(e);if((0,c.K)(o,a))return(0,n.sprintf)((0,n.__)("Today at %s","woocommerce"),s(e,t.time));const l=new Date(a);return l.setDate(l.getDate()+1),(0,c.K)(o,l)?(0,n.sprintf)((0,n.__)("Tomorrow at %s","woocommerce"),s(e,t.time)):o.getFullYear()===a.getFullYear()?s(o,(0,n.sprintf)((0,n._x)("F j %s","product schedule date format without year","woocommerce"),t.time)):s(e)}},94211:(e,t,o)=>{"use strict";o.d(t,{L:()=>n});var r=o(69771);function n(e){const t=(0,r.getDate)(null!=e?e:null);return(0,r.date)("Y-m-d\\TH:i:s",t,void 0)}},33266:(e,t,o)=>{"use strict";o.d(t,{s:()=>n});var r=o(69771);function n(){var e;const{timezone:t}=(0,r.__experimentalGetSettings)();return t.abbr&&isNaN(Number(t.abbr))?t.abbr:`UTC${Number(t.offset)<0?"":"+"}${null!==(e=t.offsetFormatted)&&void 0!==e?e:t.offset}`}},40753:(e,t,o)=>{"use strict";function r(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}o.d(t,{K:()=>r})},80634:(e,t,o)=>{"use strict";o.d(t,{$:()=>n});var r=o(69771);function n(){const e=(0,r.__experimentalGetSettings)();return/a(?!\\)/i.test(e.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""))}},28280:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var r=o(69771);function n(e){const{timezone:t}=(0,r.__experimentalGetSettings)();return Number(t.offset)===e.getTimezoneOffset()/60*-1}},62116:(e,t,o)=>{"use strict";function r(e,t){if(e.code)return e;const o=Object.values(e).find((e=>void 0!==e));return"variations"in e&&e.variations?{...o,code:"variable_product_no_variation_prices"}:void 0!==o?{...o,code:"product_form_field_error"}:{code:"publish"===t||"future"===t?"product_publish_error":"product_create_error"}}o.d(t,{U:()=>r})},56644:(e,t,o)=>{"use strict";o.d(t,{B:()=>n});var r=o(74617);function n(){const e=(0,r.getSetting)("admin");return e.gutenberg_version?parseFloat(null==e?void 0:e.gutenberg_version):0}},63002:(e,t,o)=>{"use strict";o.d(t,{E:()=>c});var r=o(14599);const n={cross_sell_ids:"cross_sells",reviews_allowed:"enable_reviews",downloadable:"is_downloadable",virtual:"is_virtual",images:"product_gallery",upsell_ids:"upsells"},a=["attributes","categories","description","manage_stock","menu_order","note","purchase_note","sale_price","short_description","tags","weight","cross_sell_ids","reviews_allowed","downloadable","virtual","images","upsell_ids"];function c(e,t){const{id:o,type:c}=t,i={product_id:o,source:"product-blocks-editor-v1",product_type:c};t.parent_id>0&&(t.note=t.description,delete t.description);for(const e of Object.keys(t))if(a.includes(e)){const o=n[e]||e;Array.isArray(t[e])||"string"==typeof t[e]?i[o]=t[e].length?"yes":"no":i[o]=t[e]?"yes":"no"}if(t.downloadable||t.virtual){const{downloadable:e,virtual:o}=t,r={virtual:o,downloadable:e};i.product_type_options=Object.keys(r).filter((e=>r[e])).join(",")}"images"in t&&(i.product_image=t.images.length?"yes":"no"),t.dimensions&&(i.dimensions=t.dimensions.length.length||t.dimensions.width.length||t.dimensions.height.length?"yes":"no"),(0,r.recordEvent)(e,i)}},87608:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var c=n.apply(null,o);c&&e.push(c)}}else if("object"===a){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var i in o)r.call(o,i)&&o[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},33561:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,o){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,o)}function o(e,r,n){return o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,o,r){var n=[null];n.push.apply(n,o);var a=new(Function.bind.apply(e,n));return r&&t(a,r.prototype),a},o.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var a=Object.hasOwnProperty,c=Object.setPrototypeOf,i=Object.isFrozen,l=Object.getPrototypeOf,s=Object.getOwnPropertyDescriptor,u=Object.freeze,d=Object.seal,m=Object.create,p="undefined"!=typeof Reflect&&Reflect,h=p.apply,_=p.construct;h||(h=function(e,t,o){return e.apply(t,o)}),u||(u=function(e){return e}),d||(d=function(e){return e}),_||(_=function(e,t){return o(e,r(t))});var v,w=P(Array.prototype.forEach),g=P(Array.prototype.pop),f=P(Array.prototype.push),E=P(String.prototype.toLowerCase),b=P(String.prototype.toString),C=P(String.prototype.match),x=P(String.prototype.replace),y=P(String.prototype.indexOf),k=P(String.prototype.trim),A=P(RegExp.prototype.test),S=(v=TypeError,function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return _(v,t)});function P(e){return function(t){for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return h(e,t,r)}}function B(e,t,o){var r;o=null!==(r=o)&&void 0!==r?r:E,c&&c(e,null);for(var n=t.length;n--;){var a=t[n];if("string"==typeof a){var l=o(a);l!==a&&(i(t)||(t[n]=l),a=l)}e[a]=!0}return e}function V(e){var t,o=m(null);for(t in e)!0===h(a,e,[t])&&(o[t]=e[t]);return o}function M(e,t){for(;null!==e;){var o=s(e,t);if(o){if(o.get)return P(o.get);if("function"==typeof o.value)return P(o.value)}e=l(e)}return function(e){return console.warn("fallback value for",e),null}}var N=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=u(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),R=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=u(["#text"]),I=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=u(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=u(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),O=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Z=d(/<%[\w\W]*|[\w\W]*%>/gm),$=d(/\${[\w\W]*}/gm),U=d(/^data-[\-\w.\u00B7-\uFFFF]/),q=d(/^aria-[\-\w]+$/),W=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=d(/^(?:\w+script|data):/i),Y=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=d(/^html$/i),K=function(){return"undefined"==typeof window?null:window};return function t(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(e){return t(e)};if(n.version="2.4.7",n.removed=[],!o||!o.document||9!==o.document.nodeType)return n.isSupported=!1,n;var a=o.document,c=o.document,i=o.DocumentFragment,l=o.HTMLTemplateElement,s=o.Node,d=o.Element,m=o.NodeFilter,p=o.NamedNodeMap,h=void 0===p?o.NamedNodeMap||o.MozNamedAttrMap:p,_=o.HTMLFormElement,v=o.DOMParser,P=o.trustedTypes,Q=d.prototype,ee=M(Q,"cloneNode"),te=M(Q,"nextSibling"),oe=M(Q,"childNodes"),re=M(Q,"parentNode");if("function"==typeof l){var ne=c.createElement("template");ne.content&&ne.content.ownerDocument&&(c=ne.content.ownerDocument)}var ae=function(t,o){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,n="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(n)&&(r=o.currentScript.getAttribute(n));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(P,a),ce=ae?ae.createHTML(""):"",ie=c,le=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,de=ie.getElementsByTagName,me=a.importNode,pe={};try{pe=V(c).documentMode?c.documentMode:{}}catch(e){}var he={};n.isSupported="function"==typeof re&&le&&void 0!==le.createHTMLDocument&&9!==pe;var _e,ve,we=G,ge=Z,fe=$,Ee=U,be=q,Ce=J,xe=Y,ye=W,ke=null,Ae=B({},[].concat(r(N),r(T),r(L),r(R),r(H))),Se=null,Pe=B({},[].concat(r(I),r(z),r(j),r(O))),Be=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ve=null,Me=null,Ne=!0,Te=!0,Le=!1,Fe=!0,Re=!1,De=!1,He=!1,Ie=!1,ze=!1,je=!1,Oe=!1,Ge=!0,Ze=!1,$e=!0,Ue=!1,qe={},We=null,Je=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=B({},["audio","video","img","source","image","track"]),Ke=null,Qe=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",rt=ot,nt=!1,at=null,ct=B({},[et,tt,ot],b),it=["application/xhtml+xml","text/html"],lt=null,st=c.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(t){lt&<===t||(t&&"object"===e(t)||(t={}),t=V(t),_e=_e=-1===it.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===_e?b:E,ke="ALLOWED_TAGS"in t?B({},t.ALLOWED_TAGS,ve):Ae,Se="ALLOWED_ATTR"in t?B({},t.ALLOWED_ATTR,ve):Pe,at="ALLOWED_NAMESPACES"in t?B({},t.ALLOWED_NAMESPACES,b):ct,Ke="ADD_URI_SAFE_ATTR"in t?B(V(Qe),t.ADD_URI_SAFE_ATTR,ve):Qe,Ye="ADD_DATA_URI_TAGS"in t?B(V(Xe),t.ADD_DATA_URI_TAGS,ve):Xe,We="FORBID_CONTENTS"in t?B({},t.FORBID_CONTENTS,ve):Je,Ve="FORBID_TAGS"in t?B({},t.FORBID_TAGS,ve):{},Me="FORBID_ATTR"in t?B({},t.FORBID_ATTR,ve):{},qe="USE_PROFILES"in t&&t.USE_PROFILES,Ne=!1!==t.ALLOW_ARIA_ATTR,Te=!1!==t.ALLOW_DATA_ATTR,Le=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Fe=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Re=t.SAFE_FOR_TEMPLATES||!1,De=t.WHOLE_DOCUMENT||!1,ze=t.RETURN_DOM||!1,je=t.RETURN_DOM_FRAGMENT||!1,Oe=t.RETURN_TRUSTED_TYPE||!1,Ie=t.FORCE_BODY||!1,Ge=!1!==t.SANITIZE_DOM,Ze=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,ye=t.ALLOWED_URI_REGEXP||ye,rt=t.NAMESPACE||ot,Be=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Be.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Be.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Be.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Re&&(Te=!1),je&&(ze=!0),qe&&(ke=B({},r(H)),Se=[],!0===qe.html&&(B(ke,N),B(Se,I)),!0===qe.svg&&(B(ke,T),B(Se,z),B(Se,O)),!0===qe.svgFilters&&(B(ke,L),B(Se,z),B(Se,O)),!0===qe.mathMl&&(B(ke,R),B(Se,j),B(Se,O))),t.ADD_TAGS&&(ke===Ae&&(ke=V(ke)),B(ke,t.ADD_TAGS,ve)),t.ADD_ATTR&&(Se===Pe&&(Se=V(Se)),B(Se,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&B(Ke,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(We===Je&&(We=V(We)),B(We,t.FORBID_CONTENTS,ve)),$e&&(ke["#text"]=!0),De&&B(ke,["html","head","body"]),ke.table&&(B(ke,["tbody"]),delete Ve.tbody),u&&u(t),lt=t)},mt=B({},["mi","mo","mn","ms","mtext"]),pt=B({},["foreignobject","desc","title","annotation-xml"]),ht=B({},["title","style","font","a","script"]),_t=B({},T);B(_t,L),B(_t,F);var vt=B({},R);B(vt,D);var wt=function(e){f(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ce}catch(t){e.remove()}}},gt=function(e,t){try{f(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(ze||je)try{wt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ft=function(e){var t,o;if(Ie)e="<remove></remove>"+e;else{var r=C(e,/^[\r\n\t ]+/);o=r&&r[0]}"application/xhtml+xml"===_e&&rt===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var n=ae?ae.createHTML(e):e;if(rt===ot)try{t=(new v).parseFromString(n,_e)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(rt,"template",null);try{t.documentElement.innerHTML=nt?ce:n}catch(e){}}var a=t.body||t.documentElement;return e&&o&&a.insertBefore(c.createTextNode(o),a.childNodes[0]||null),rt===ot?de.call(t,De?"html":"body")[0]:De?t.documentElement:a},Et=function(e){return se.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT,null,!1)},bt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ct=function(e,t,o){he[e]&&w(he[e],(function(e){e.call(n,t,o,lt)}))},xt=function(e){var t,o;if(Ct("beforeSanitizeElements",e,null),(o=e)instanceof _&&("string"!=typeof o.nodeName||"string"!=typeof o.textContent||"function"!=typeof o.removeChild||!(o.attributes instanceof h)||"function"!=typeof o.removeAttribute||"function"!=typeof o.setAttribute||"string"!=typeof o.namespaceURI||"function"!=typeof o.insertBefore||"function"!=typeof o.hasChildNodes))return wt(e),!0;if(A(/[\u0080-\uFFFF]/,e.nodeName))return wt(e),!0;var r=ve(e.nodeName);if(Ct("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!bt(e.firstElementChild)&&(!bt(e.content)||!bt(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent))return wt(e),!0;if("select"===r&&A(/<template/i,e.innerHTML))return wt(e),!0;if(!ke[r]||Ve[r]){if(!Ve[r]&&kt(r)){if(Be.tagNameCheck instanceof RegExp&&A(Be.tagNameCheck,r))return!1;if(Be.tagNameCheck instanceof Function&&Be.tagNameCheck(r))return!1}if($e&&!We[r]){var a=re(e)||e.parentNode,c=oe(e)||e.childNodes;if(c&&a)for(var i=c.length-1;i>=0;--i)a.insertBefore(ee(c[i],!0),te(e))}return wt(e),!0}return e instanceof d&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});var o=E(e.tagName),r=E(t.tagName);return!!at[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===ot?"svg"===o:t.namespaceURI===et?"svg"===o&&("annotation-xml"===r||mt[r]):Boolean(_t[o]):e.namespaceURI===et?t.namespaceURI===ot?"math"===o:t.namespaceURI===tt?"math"===o&&pt[r]:Boolean(vt[o]):e.namespaceURI===ot?!(t.namespaceURI===tt&&!pt[r])&&!(t.namespaceURI===et&&!mt[r])&&!vt[o]&&(ht[o]||!_t[o]):!("application/xhtml+xml"!==_e||!at[e.namespaceURI]))}(e)?(wt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!A(/<\/no(script|embed|frames)/i,e.innerHTML)?(Re&&3===e.nodeType&&(t=e.textContent,t=x(t,we," "),t=x(t,ge," "),t=x(t,fe," "),e.textContent!==t&&(f(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ct("afterSanitizeElements",e,null),!1):(wt(e),!0)},yt=function(e,t,o){if(Ge&&("id"===t||"name"===t)&&(o in c||o in st))return!1;if(Te&&!Me[t]&&A(Ee,t));else if(Ne&&A(be,t));else if(!Se[t]||Me[t]){if(!(kt(e)&&(Be.tagNameCheck instanceof RegExp&&A(Be.tagNameCheck,e)||Be.tagNameCheck instanceof Function&&Be.tagNameCheck(e))&&(Be.attributeNameCheck instanceof RegExp&&A(Be.attributeNameCheck,t)||Be.attributeNameCheck instanceof Function&&Be.attributeNameCheck(t))||"is"===t&&Be.allowCustomizedBuiltInElements&&(Be.tagNameCheck instanceof RegExp&&A(Be.tagNameCheck,o)||Be.tagNameCheck instanceof Function&&Be.tagNameCheck(o))))return!1}else if(Ke[t]);else if(A(ye,x(o,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(o,"data:")||!Ye[e])if(Le&&!A(Ce,x(o,xe,"")));else if(o)return!1;return!0},kt=function(e){return e.indexOf("-")>0},At=function(t){var o,r,a,c;Ct("beforeSanitizeAttributes",t,null);var i=t.attributes;if(i){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(c=i.length;c--;){var s=o=i[c],u=s.name,d=s.namespaceURI;if(r="value"===u?o.value:k(o.value),a=ve(u),l.attrName=a,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,Ct("uponSanitizeAttribute",t,l),r=l.attrValue,!l.forceKeepAttr&&(gt(u,t),l.keepAttr))if(Fe||!A(/\/>/i,r)){Re&&(r=x(r,we," "),r=x(r,ge," "),r=x(r,fe," "));var m=ve(t.nodeName);if(yt(m,a,r)){if(!Ze||"id"!==a&&"name"!==a||(gt(u,t),r="user-content-"+r),ae&&"object"===e(P)&&"function"==typeof P.getAttributeType)if(d);else switch(P.getAttributeType(m,a)){case"TrustedHTML":r=ae.createHTML(r);break;case"TrustedScriptURL":r=ae.createScriptURL(r)}try{d?t.setAttributeNS(d,u,r):t.setAttribute(u,r),g(n.removed)}catch(e){}}}else gt(u,t)}Ct("afterSanitizeAttributes",t,null)}},St=function e(t){var o,r=Et(t);for(Ct("beforeSanitizeShadowDOM",t,null);o=r.nextNode();)Ct("uponSanitizeShadowNode",o,null),xt(o)||(o.content instanceof i&&e(o.content),At(o));Ct("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(t){var r,c,l,u,d,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!bt(t)){if("function"!=typeof t.toString)throw S("toString is not a function");if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(o.toStaticHTML)||"function"==typeof o.toStaticHTML){if("string"==typeof t)return o.toStaticHTML(t);if(bt(t))return o.toStaticHTML(t.outerHTML)}return t}if(He||dt(m),n.removed=[],"string"==typeof t&&(Ue=!1),Ue){if(t.nodeName){var p=ve(t.nodeName);if(!ke[p]||Ve[p])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof s)1===(c=(r=ft("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?r=c:r.appendChild(c);else{if(!ze&&!Re&&!De&&-1===t.indexOf("<"))return ae&&Oe?ae.createHTML(t):t;if(!(r=ft(t)))return ze?null:Oe?ce:""}r&&Ie&&wt(r.firstChild);for(var h=Et(Ue?t:r);l=h.nextNode();)3===l.nodeType&&l===u||xt(l)||(l.content instanceof i&&St(l.content),At(l),u=l);if(u=null,Ue)return t;if(ze){if(je)for(d=ue.call(r.ownerDocument);r.firstChild;)d.appendChild(r.firstChild);else d=r;return(Se.shadowroot||Se.shadowrootmod)&&(d=me.call(a,d,!0)),d}var _=De?r.outerHTML:r.innerHTML;return De&&ke["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&A(X,r.ownerDocument.doctype.name)&&(_="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+_),Re&&(_=x(_,we," "),_=x(_,ge," "),_=x(_,fe," ")),ae&&Oe?ae.createHTML(_):_},n.setConfig=function(e){dt(e),He=!0},n.clearConfig=function(){lt=null,He=!1},n.isValidAttribute=function(e,t,o){lt||dt({});var r=ve(e),n=ve(t);return yt(r,n,o)},n.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],f(he[e],t))},n.removeHook=function(e){if(he[e])return g(he[e])},n.removeHooks=function(e){he[e]&&(he[e]=[])},n.removeAllHooks=function(){he={}},n}()}()},52458:e=>{"use strict";var t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var a,c,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var s in a=Object(arguments[l]))o.call(a,s)&&(i[s]=a[s]);if(t){c=t(a);for(var u=0;u<c.length;u++)r.call(a,c[u])&&(i[c[u]]=a[c[u]])}}return i}},86657:(e,t,o)=>{"use strict";const r=o(87602),n={findRule(e,t){for(let o=0;o<e.rules.length;o++)if(e.rules[o].name===t)return e.rules[o]},indexOfRule(e,t){for(let o=0;o<e.rules.length;o++)if(e.rules[o].name===t)return o;return-1},alwaysConsumesOnSuccess(e,t){function o(){return!0}function a(){return!1}const c=r.build({choice:e=>e.alternatives.every(c),sequence:e=>e.elements.some(c),simple_and:a,simple_not:a,optional:a,zero_or_more:a,repeated(e){const t=e.min?e.min:e.max;return!("constant"!==t.type||0===t.value||!c(e.expression)&&!(t.value>1&&e.delimiter&&c(e.delimiter)))},semantic_and:a,semantic_not:a,rule_ref(t){const o=n.findRule(e,t.name);return o?c(o):void 0},literal:e=>""!==e.value,class:o,any:o});return c(t)}};e.exports=n},73629:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const generateBytecode=__webpack_require__(27713),generateJS=__webpack_require__(72365),inferenceMatchResult=__webpack_require__(51358),removeProxyRules=__webpack_require__(47349),reportDuplicateLabels=__webpack_require__(13747),reportDuplicateRules=__webpack_require__(7937),reportInfiniteRecursion=__webpack_require__(47771),reportInfiniteRepetition=__webpack_require__(74414),reportUndefinedRules=__webpack_require__(78277),reportIncorrectPlucking=__webpack_require__(43046),Session=__webpack_require__(52399),visitor=__webpack_require__(87602),{base64}=__webpack_require__(93758);function processOptions(e,t){const o={};return Object.keys(e).forEach((t=>{o[t]=e[t]})),Object.keys(t).forEach((e=>{Object.prototype.hasOwnProperty.call(o,e)||(o[e]=t[e])})),o}function isSourceMapCapable(e){return"string"==typeof e?e.length>0:e&&"function"==typeof e.offset}const compiler={visitor,passes:{check:[reportUndefinedRules,reportDuplicateRules,reportDuplicateLabels,reportInfiniteRecursion,reportInfiniteRepetition,reportIncorrectPlucking],transform:[removeProxyRules,inferenceMatchResult],generate:[generateBytecode,generateJS]},compile(ast,passes,options){if(options=void 0!==options?options:{},options=processOptions(options,{allowedStartRules:[ast.rules[0].name],cache:!1,dependencies:{},exportVar:null,format:"bare",output:"parser",trace:!1}),!Array.isArray(options.allowedStartRules))throw new Error("allowedStartRules must be an array");if(0===options.allowedStartRules.length)throw new Error("Must have at least one start rule");const allRules=ast.rules.map((e=>e.name));if(options.allowedStartRules.some((e=>"*"===e)))options.allowedStartRules=allRules;else for(const e of options.allowedStartRules)if(-1===allRules.indexOf(e))throw new Error(`Unknown start rule "${e}"`);if(("source-and-map"===options.output||"source-with-inline-map"===options.output)&&!isSourceMapCapable(options.grammarSource))throw new Error("Must provide grammarSource (as a string or GrammarLocation) in order to generate source maps");const session=new Session(options);switch(Object.keys(passes).forEach((e=>{session.stage=e,session.info(`Process stage ${e}`),passes[e].forEach((t=>{session.info(`Process pass ${e}.${t.name}`),t(ast,options,session)})),session.checkErrors()})),options.output){case"parser":return eval(ast.code.toString());case"source":return ast.code.toString();case"source-and-map":return ast.code;case"source-with-inline-map":{if("undefined"==typeof TextEncoder)throw new Error("TextEncoder is not supported by this platform");const e=ast.code.toStringWithSourceMap(),t=new TextEncoder,o=base64(t.encode(JSON.stringify(e.map.toJSON())));return e.code+`//# sourceMappingURL=data:application/json;charset=utf-8;base64,${o}\n`}case"ast":return ast;default:throw new Error("Invalid output format: "+options.output+".")}}};module.exports=compiler},10818:e=>{"use strict";e.exports={PUSH:0,PUSH_EMPTY_STRING:35,PUSH_UNDEFINED:1,PUSH_NULL:2,PUSH_FAILED:3,PUSH_EMPTY_ARRAY:4,PUSH_CURR_POS:5,POP:6,POP_CURR_POS:7,POP_N:8,NIP:9,APPEND:10,WRAP:11,TEXT:12,PLUCK:36,IF:13,IF_ERROR:14,IF_NOT_ERROR:15,IF_LT:30,IF_GE:31,IF_LT_DYNAMIC:32,IF_GE_DYNAMIC:33,WHILE_NOT_ERROR:16,MATCH_ANY:17,MATCH_STRING:18,MATCH_STRING_IC:19,MATCH_CHAR_CLASS:20,MATCH_REGEXP:20,ACCEPT_N:21,ACCEPT_STRING:22,FAIL:23,LOAD_SAVED_POS:24,UPDATE_SAVED_POS:25,CALL:26,RULE:27,SILENT_FAILS_ON:28,SILENT_FAILS_OFF:29,SOURCE_MAP_PUSH:37,SOURCE_MAP_POP:38,SOURCE_MAP_LABEL_PUSH:39,SOURCE_MAP_LABEL_POP:40}},27713:(e,t,o)=>{"use strict";const r=o(86657),n=o(10818),a=o(87602),{ALWAYS_MATCH:c,SOMETIMES_MATCH:i,NEVER_MATCH:l}=o(51358);e.exports=function(e,t){const o=[],s=[],u=[],d=[],m=[];function p(e){const t=o.indexOf(e);return-1===t?o.push(e)-1:t}function h(e){const t=JSON.stringify(e),o=u.findIndex((e=>JSON.stringify(e)===t));return-1===o?u.push(e)-1:o}function _(e,t,o){const r={predicate:e,params:t,body:o.code,location:o.codeLocation},n=JSON.stringify(r),a=d.findIndex((e=>JSON.stringify(e)===n));return-1===a?d.push(r)-1:a}function v(e){return m.push(e)-1}function w(e){const t={};return Object.keys(e).forEach((o=>{t[o]=e[o]})),t}function g(e,...t){return e.concat(...t)}function f(e,t,o,r){return e===c?o:e===l?r:t.concat([o.length,r.length],o,r)}function E(e,t,o,r){const a=Object.keys(o).map((e=>r-o[e]));return[n.CALL,e,t,a.length].concat(a)}function b(e,t,o){const r=0|e.match;return g([n.PUSH_CURR_POS],[n.SILENT_FAILS_ON],A(e,{sp:o.sp+1,env:w(o.env),action:null}),[n.SILENT_FAILS_OFF],f(t?-r:r,[t?n.IF_ERROR:n.IF_NOT_ERROR],g([n.POP],[t?n.POP:n.POP_CURR_POS],[n.PUSH_UNDEFINED]),g([n.POP],[t?n.POP_CURR_POS:n.POP],[n.PUSH_FAILED])))}function C(e,t,o){const r=_(!0,Object.keys(o.env),e);return g([n.UPDATE_SAVED_POS],E(r,0,o.env,o.sp),f(0|e.match,[n.IF],g([n.POP],t?[n.PUSH_FAILED]:[n.PUSH_UNDEFINED]),g([n.POP],t?[n.PUSH_UNDEFINED]:[n.PUSH_FAILED])))}function x(e){return t=[n.WHILE_NOT_ERROR],o=g([n.APPEND],e),t.concat([o.length],o);var t,o}function y(e,t,o,r){switch(e.type){case"constant":return{pre:[],post:[],sp:o};case"variable":return e.sp=r+o-t[e.value],{pre:[],post:[],sp:o};case"function":return e.sp=r,{pre:E(_(!0,Object.keys(t),{code:e.value,codeLocation:e.codeLocation}),0,t,o),post:[n.NIP],sp:o+1};default:throw new Error(`Unknown boundary type "${e.type}" for the "repeated" node`)}}function k(e,t){if(null!==t.value){const o="constant"===t.type?[n.IF_GE,t.value]:[n.IF_GE_DYNAMIC,t.sp];return f(i,o,[n.PUSH_FAILED],e)}return e}const A=(S={grammar(e){e.rules.forEach(A),e.literals=o,e.classes=s,e.expectations=u,e.functions=d,e.locations=m},rule(e){e.bytecode=A(e.expression,{sp:-1,env:{},pluck:[],action:null})},named(e,t){const o=0|e.match,r=o===l?null:h({type:"rule",value:e.name});return g([n.SILENT_FAILS_ON],A(e.expression,t),[n.SILENT_FAILS_OFF],f(o,[n.IF_ERROR],[n.FAIL,r],[]))},choice:(e,t)=>function e(t,o){const r=0|t[0].match,a=A(t[0],{sp:o.sp,env:w(o.env),action:null});return r===c?a:g(a,t.length>1?f(i,[n.IF_ERROR],g([n.POP],e(t.slice(1),o)),[]):[])}(e.alternatives,t),action(e,t){const o=w(t.env),r="sequence"!==e.expression.type||0===e.expression.elements.length,a=A(e.expression,{sp:t.sp+(r?1:0),env:o,action:e}),c=0|e.expression.match,i=r&&c!==l?_(!1,Object.keys(o),e):null;return r?g([n.PUSH_CURR_POS],a,f(c,[n.IF_NOT_ERROR],g([n.LOAD_SAVED_POS,1],E(i,1,o,t.sp+2)),[]),[n.NIP]):a},sequence:(e,t)=>g([n.PUSH_CURR_POS],function t(o,r){if(o.length>0){const a=e.elements.length-o.length+1;return g(A(o[0],{sp:r.sp,env:r.env,pluck:r.pluck,action:null}),f(0|o[0].match,[n.IF_NOT_ERROR],t(o.slice(1),{sp:r.sp+1,env:r.env,pluck:r.pluck,action:r.action}),g(a>1?[n.POP_N,a]:[n.POP],[n.POP_CURR_POS],[n.PUSH_FAILED])))}if(r.pluck.length>0)return g([n.PLUCK,e.elements.length+1,r.pluck.length],r.pluck.map((e=>r.sp-e)));if(r.action){const t=_(!1,Object.keys(r.env),r.action);return g([n.LOAD_SAVED_POS,e.elements.length],E(t,e.elements.length+1,r.env,r.sp))}return g([n.WRAP,e.elements.length],[n.NIP])}(e.elements,{sp:t.sp+1,env:t.env,pluck:[],action:t.action})),labeled(e,o){let r=o.env;const a=e.label,c=o.sp+1;a&&(r=w(o.env),o.env[e.label]=c),e.pick&&o.pluck.push(c);const i=A(e.expression,{sp:o.sp,env:r,action:null});return a&&e.labelLocation&&t&&"source-and-map"===t.output?g([n.SOURCE_MAP_LABEL_PUSH,c,p(a),v(e.labelLocation)],i,[n.SOURCE_MAP_LABEL_POP,c]):i},text:(e,t)=>g([n.PUSH_CURR_POS],A(e.expression,{sp:t.sp+1,env:w(t.env),action:null}),f(0|e.match,[n.IF_NOT_ERROR],g([n.POP],[n.TEXT]),[n.NIP])),simple_and:(e,t)=>b(e.expression,!1,t),simple_not:(e,t)=>b(e.expression,!0,t),optional:(e,t)=>g(A(e.expression,{sp:t.sp,env:w(t.env),action:null}),f(-(0|e.expression.match),[n.IF_ERROR],g([n.POP],[n.PUSH_NULL]),[])),zero_or_more(e,t){const o=A(e.expression,{sp:t.sp+1,env:w(t.env),action:null});return g([n.PUSH_EMPTY_ARRAY],o,x(o),[n.POP])},one_or_more(e,t){const o=A(e.expression,{sp:t.sp+1,env:w(t.env),action:null});return g([n.PUSH_EMPTY_ARRAY],o,f(0|e.expression.match,[n.IF_NOT_ERROR],g(x(o),[n.POP]),g([n.POP],[n.POP],[n.PUSH_FAILED])))},repeated(e,t){const o=e.min?e.min:e.max,r="constant"!==o.type||o.value>0,a="constant"!==e.max.type&&null!==e.max.value,c=r?2:1,l=e.min?y(e.min,t.env,t.sp,2+("function"===e.max.type?1:0)):{pre:[],post:[],sp:t.sp},s=y(e.max,t.env,l.sp,c),u=A(e.expression,{sp:s.sp+c,env:w(t.env),action:null}),d=null!==e.delimiter?A(e.expression,{sp:s.sp+c+1,env:w(t.env),action:null}):u,m=function(e,t,o,r,a){return e?g([n.PUSH_CURR_POS],A(e,{sp:r.sp+a+1,env:w(r.env),action:null}),f(0|e.match,[n.IF_NOT_ERROR],g([n.POP],o,f(-t,[n.IF_ERROR],[n.POP,n.POP_CURR_POS,n.PUSH_FAILED],[n.NIP])),[n.NIP])):o}(e.delimiter,0|e.expression.match,d,t,c),p=k(m,e.max),h=a?k(u,e.max):u,_=g(r?[n.PUSH_CURR_POS]:[],[n.PUSH_EMPTY_ARRAY],h,x(p),[n.POP]);return g(l.pre,s.pre,r?function(e,t){const o="constant"===t.type?[n.IF_LT,t.value]:[n.IF_LT_DYNAMIC,t.sp];return g(e,f(i,o,[n.POP,n.POP_CURR_POS,n.PUSH_FAILED],[n.NIP]))}(_,o):_,s.post,l.post)},group:(e,t)=>A(e.expression,{sp:t.sp,env:w(t.env),action:null}),semantic_and:(e,t)=>C(e,!1,t),semantic_not:(e,t)=>C(e,!0,t),rule_ref:t=>[n.RULE,r.indexOfRule(e,t.name)],literal(e){if(e.value.length>0){const t=0|e.match,o=t===i||t===c&&!e.ignoreCase?p(e.ignoreCase?e.value.toLowerCase():e.value):null,r=t!==c?h({type:"literal",value:e.value,ignoreCase:e.ignoreCase}):null;return f(t,e.ignoreCase?[n.MATCH_STRING_IC,o]:[n.MATCH_STRING,o],e.ignoreCase?[n.ACCEPT_N,e.value.length]:[n.ACCEPT_STRING,o],[n.FAIL,r])}return[n.PUSH_EMPTY_STRING]},class(e){const t=0|e.match,o=t===i?function(e){const t={value:e.parts,inverted:e.inverted,ignoreCase:e.ignoreCase},o=JSON.stringify(t),r=s.findIndex((e=>JSON.stringify(e)===o));return-1===r?s.push(t)-1:r}(e):null,r=t!==c?h({type:"class",value:e.parts,inverted:e.inverted,ignoreCase:e.ignoreCase}):null;return f(t,[n.MATCH_CHAR_CLASS,o],[n.ACCEPT_N,1],[n.FAIL,r])},any(e){const t=0|e.match,o=t!==c?h({type:"any"}):null;return f(t,[n.MATCH_ANY],[n.ACCEPT_N,1],[n.FAIL,o])}},t&&"source-and-map"===t.output&&Object.entries(S).forEach((([e,t])=>{S[e]=function(e,...o){const r=t(e,...o);return void 0!==r&&e.location?g([n.SOURCE_MAP_PUSH,v(e.location)],r,[n.SOURCE_MAP_POP]):r}})),a.build(S));var S;A(e)}},72365:(e,t,o)=>{"use strict";const r=o(86657),n=o(10818),a=o(82169),c=o(62415),{stringEscape:i,regexpClassEscape:l}=o(93758),{SourceNode:s}=o(10782),u=o(49002);function d(e,t,o){const r=u.offsetStart(t),n=r.line,a=r.column-1,c=e.split("\n");return 1===c.length?new s(n,a,String(t.source),e,o):new s(null,null,String(t.source),c.map(((e,r)=>new s(n+r,0===r?a:0,String(t.source),r===c.length-1?e:[e,"\n"],o))))}function m(e,t,o,r,n){if(o){const a=u.offsetEnd(o);return new s(null,null,String(o.source),[e,d(t,o,n),new s(a.line,a.column-1,String(o.source),r)])}return new s(null,null,null,[e,t,r])}e.exports=function(e,t){function o(e){let t=!0,o=0;return function e(r){return Array.isArray(r)?r.map(e):r instanceof s?(o++,r.children=e(r.children),o--,r):(r=t?r.replace(/^(.+)$/gm," $1"):r.replace(/\n(\s*\S)/g,"\n $1"),t=!o||r.endsWith("\n"),r)}(e)}function u(e){return"peg$c"+e}function p(e){return"peg$r"+e}function h(e){return"peg$e"+e}function _(e){return"peg$f"+e}function v(e){return"peg$parse"+e}function w(e){return e.codeLocation?d(e.code,e.codeLocation,"$"+e.type):e.code}e.code=function(e){function r(){return[`// Generated by Peggy ${c}.`,"//","// https://peggyjs.org/"]}function n(){return t.trace?["{"," SyntaxError: peg$SyntaxError,"," DefaultTracer: peg$DefaultTracer,"," parse: peg$parse","}"].join("\n"):["{"," SyntaxError: peg$SyntaxError,"," parse: peg$parse","}"].join("\n")}const a={bare:()=>[...r(),"(function() {",' "use strict";',"",e,"",o("return "+n()+";"),"})()"],commonjs(){const o=Object.keys(t.dependencies),a=r();return a.push("",'"use strict";',""),o.length>0&&(o.forEach((e=>{a.push("var "+e+' = require("'+i(t.dependencies[e])+'");')})),a.push("")),a.push(e,"","module.exports = "+n()+";"),a},es(){const o=Object.keys(t.dependencies),n=r();return n.push(""),o.length>0&&(o.forEach((e=>{n.push("import "+e+' from "'+i(t.dependencies[e])+'";')})),n.push("")),n.push(e,"","export {"," peg$SyntaxError as SyntaxError,",t.trace?" peg$DefaultTracer as DefaultTracer,":""," peg$parse as parse","};"),n},amd(){const a=Object.keys(t.dependencies),c="["+a.map((e=>t.dependencies[e])).map((e=>'"'+i(e)+'"')).join(", ")+"]",l=a.join(", ");return[...r(),"define("+c+", function("+l+") {",' "use strict";',"",e,"",o("return "+n()+";"),"});"]},globals:()=>[...r(),"(function(root) {",' "use strict";',"",e,"",o("root."+t.exportVar+" = "+n()+";"),"})(this);"],umd(){const a=Object.keys(t.dependencies),c=a.map((e=>t.dependencies[e])),l="["+c.map((e=>'"'+i(e)+'"')).join(", ")+"]",s=c.map((e=>'require("'+i(e)+'")')).join(", "),u=a.join(", "),d=r();return d.push("(function(root, factory) {",' if (typeof define === "function" && define.amd) {'," define("+l+", factory);",' } else if (typeof module === "object" && module.exports) {'," module.exports = factory("+s+");"),null!==t.exportVar&&d.push(" } else {"," root."+t.exportVar+" = factory();"),d.push(" }","})(this, function("+u+") {",' "use strict";',"",e,"",o("return "+n()+";"),"});"),d}}[t.format]();return new s(null,null,t.grammarSource,a.map((e=>e instanceof s?e:e+"\n")))}(function(){const c=[];e.topLevelInitializer&&(c.push(w(e.topLevelInitializer)),c.push("")),c.push("function peg$subclass(child, parent) {"," function C() { this.constructor = child; }"," C.prototype = parent.prototype;"," child.prototype = new C();","}","","function peg$SyntaxError(message, expected, found, location) {"," var self = Error.call(this, message);"," // istanbul ignore next Check is a necessary evil to support older environments"," if (Object.setPrototypeOf) {"," Object.setPrototypeOf(self, peg$SyntaxError.prototype);"," }"," self.expected = expected;"," self.found = found;"," self.location = location;",' self.name = "SyntaxError";'," return self;","}","","peg$subclass(peg$SyntaxError, Error);","","function peg$padEnd(str, targetLength, padString) {",' padString = padString || " ";'," if (str.length > targetLength) { return str; }"," targetLength -= str.length;"," padString += padString.repeat(targetLength);"," return str + padString.slice(0, targetLength);","}","","peg$SyntaxError.prototype.format = function(sources) {",' var str = "Error: " + this.message;'," if (this.location) {"," var src = null;"," var k;"," for (k = 0; k < sources.length; k++) {"," if (sources[k].source === this.location.source) {"," src = sources[k].text.split(/\\r\\n|\\n|\\r/g);"," break;"," }"," }"," var s = this.location.start;",' var offset_s = (this.location.source && (typeof this.location.source.offset === "function"))'," ? this.location.source.offset(s)"," : s;",' var loc = this.location.source + ":" + offset_s.line + ":" + offset_s.column;'," if (src) {"," var e = this.location.end;"," var filler = peg$padEnd(\"\", offset_s.line.toString().length, ' ');"," var line = src[s.line - 1];"," var last = s.line === e.line ? e.column : line.length + 1;"," var hatLen = (last - s.column) || 1;",' str += "\\n --\x3e " + loc + "\\n"',' + filler + " |\\n"',' + offset_s.line + " | " + line + "\\n"',' + filler + " | " + peg$padEnd("", s.column - 1, \' \')',' + peg$padEnd("", hatLen, "^");'," } else {",' str += "\\n at " + loc;'," }"," }"," return str;","};","","peg$SyntaxError.buildMessage = function(expected, found) {"," var DESCRIBE_EXPECTATION_FNS = {"," literal: function(expectation) {",' return "\\"" + literalEscape(expectation.text) + "\\"";'," },",""," class: function(expectation) {"," var escapedParts = expectation.parts.map(function(part) {"," return Array.isArray(part)",' ? classEscape(part[0]) + "-" + classEscape(part[1])'," : classEscape(part);"," });","",' return "[" + (expectation.inverted ? "^" : "") + escapedParts.join("") + "]";'," },",""," any: function() {",' return "any character";'," },",""," end: function() {",' return "end of input";'," },",""," other: function(expectation) {"," return expectation.description;"," }"," };",""," function hex(ch) {"," return ch.charCodeAt(0).toString(16).toUpperCase();"," }",""," function literalEscape(s) {"," return s",' .replace(/\\\\/g, "\\\\\\\\")',' .replace(/"/g, "\\\\\\"")',' .replace(/\\0/g, "\\\\0")',' .replace(/\\t/g, "\\\\t")',' .replace(/\\n/g, "\\\\n")',' .replace(/\\r/g, "\\\\r")',' .replace(/[\\x00-\\x0F]/g, function(ch) { return "\\\\x0" + hex(ch); })',' .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return "\\\\x" + hex(ch); });'," }",""," function classEscape(s) {"," return s",' .replace(/\\\\/g, "\\\\\\\\")',' .replace(/\\]/g, "\\\\]")',' .replace(/\\^/g, "\\\\^")',' .replace(/-/g, "\\\\-")',' .replace(/\\0/g, "\\\\0")',' .replace(/\\t/g, "\\\\t")',' .replace(/\\n/g, "\\\\n")',' .replace(/\\r/g, "\\\\r")',' .replace(/[\\x00-\\x0F]/g, function(ch) { return "\\\\x0" + hex(ch); })',' .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return "\\\\x" + hex(ch); });'," }",""," function describeExpectation(expectation) {"," return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);"," }",""," function describeExpected(expected) {"," var descriptions = expected.map(describeExpectation);"," var i, j;",""," descriptions.sort();",""," if (descriptions.length > 0) {"," for (i = 1, j = 1; i < descriptions.length; i++) {"," if (descriptions[i - 1] !== descriptions[i]) {"," descriptions[j] = descriptions[i];"," j++;"," }"," }"," descriptions.length = j;"," }",""," switch (descriptions.length) {"," case 1:"," return descriptions[0];",""," case 2:",' return descriptions[0] + " or " + descriptions[1];',""," default:",' return descriptions.slice(0, -1).join(", ")',' + ", or "'," + descriptions[descriptions.length - 1];"," }"," }",""," function describeFound(found) {",' return found ? "\\"" + literalEscape(found) + "\\"" : "end of input";'," }","",' return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";',"};",""),t.trace&&c.push("function peg$DefaultTracer() {"," this.indentLevel = 0;","}","","peg$DefaultTracer.prototype.trace = function(event) {"," var that = this;",""," function log(event) {"," function repeat(string, n) {",' var result = "", i;',""," for (i = 0; i < n; i++) {"," result += string;"," }",""," return result;"," }",""," function pad(string, length) {",' return string + repeat(" ", length - string.length);'," }","",' if (typeof console === "object") {'," console.log(",' event.location.start.line + ":" + event.location.start.column + "-"',' + event.location.end.line + ":" + event.location.end.column + " "',' + pad(event.type, 10) + " "',' + repeat(" ", that.indentLevel) + event.rule'," );"," }"," }",""," switch (event.type) {",' case "rule.enter":'," log(event);"," this.indentLevel++;"," break;","",' case "rule.match":'," this.indentLevel--;"," log(event);"," break;","",' case "rule.fail":'," this.indentLevel--;"," log(event);"," break;",""," default:",' throw new Error("Invalid event type: " + event.type + ".");'," }","};","");const d="{ "+t.allowedStartRules.map((e=>e+": "+v(e))).join(", ")+" }",g=v(t.allowedStartRules[0]);return c.push("function peg$parse(input, options) {"," options = options !== undefined ? options : {};",""," var peg$FAILED = {};"," var peg$source = options.grammarSource;",""," var peg$startRuleFunctions = "+d+";"," var peg$startRuleFunction = "+g+";","",new s(null,null,t.grammarSource,[e.literals.map(((e,t)=>" var "+u(t)+' = "'+i(e)+'";')).concat("",e.classes.map(((e,t)=>{return" var "+p(t)+" = /^["+((o=e).inverted?"^":"")+o.value.map((e=>Array.isArray(e)?l(e[0])+"-"+l(e[1]):l(e))).join("")+"]/"+(o.ignoreCase?"i":"")+";";var o}))).concat("",e.expectations.map(((e,t)=>" var "+h(t)+" = "+function(e){switch(e.type){case"rule":return'peg$otherExpectation("'+i(e.value)+'")';case"literal":return'peg$literalExpectation("'+i(e.value)+'", '+e.ignoreCase+")";case"class":return"peg$classExpectation(["+e.value.map((e=>Array.isArray(e)?'["'+i(e[0])+'", "'+i(e[1])+'"]':'"'+i(e)+'"')).join(", ")+"], "+e.inverted+", "+e.ignoreCase+")";case"any":return"peg$anyExpectation()";default:throw new Error("Unknown expectation type ("+JSON.stringify(e)+")")}}(e)+";"))).concat("").join("\n"),e.functions.map((function(e,t){return m(`\n var ${_(t)} = function(${e.params.join(", ")}) {`,e.body,e.location,"};")}))]),""," var peg$currPos = 0;"," var peg$savedPos = 0;"," var peg$posDetailsCache = [{ line: 1, column: 1 }];"," var peg$maxFailPos = 0;"," var peg$maxFailExpected = [];"," var peg$silentFails = 0;",""),t.cache&&c.push(" var peg$resultsCache = {};",""),t.trace&&c.push(' var peg$tracer = "tracer" in options ? options.tracer : new peg$DefaultTracer();',""),c.push(" var peg$result;","",' if ("startRule" in options) {'," if (!(options.startRule in peg$startRuleFunctions)) {",' throw new Error("Can\'t start parsing from rule \\"" + options.startRule + "\\".");'," }",""," peg$startRuleFunction = peg$startRuleFunctions[options.startRule];"," }",""," function text() {"," return input.substring(peg$savedPos, peg$currPos);"," }",""," function offset() {"," return peg$savedPos;"," }",""," function range() {"," return {"," source: peg$source,"," start: peg$savedPos,"," end: peg$currPos"," };"," }",""," function location() {"," return peg$computeLocation(peg$savedPos, peg$currPos);"," }",""," function expected(description, location) {"," location = location !== undefined"," ? location"," : peg$computeLocation(peg$savedPos, peg$currPos);",""," throw peg$buildStructuredError("," [peg$otherExpectation(description)],"," input.substring(peg$savedPos, peg$currPos),"," location"," );"," }",""," function error(message, location) {"," location = location !== undefined"," ? location"," : peg$computeLocation(peg$savedPos, peg$currPos);",""," throw peg$buildSimpleError(message, location);"," }",""," function peg$literalExpectation(text, ignoreCase) {",' return { type: "literal", text: text, ignoreCase: ignoreCase };'," }",""," function peg$classExpectation(parts, inverted, ignoreCase) {",' return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase };'," }",""," function peg$anyExpectation() {",' return { type: "any" };'," }",""," function peg$endExpectation() {",' return { type: "end" };'," }",""," function peg$otherExpectation(description) {",' return { type: "other", description: description };'," }",""," function peg$computePosDetails(pos) {"," var details = peg$posDetailsCache[pos];"," var p;",""," if (details) {"," return details;"," } else {"," p = pos - 1;"," while (!peg$posDetailsCache[p]) {"," p--;"," }",""," details = peg$posDetailsCache[p];"," details = {"," line: details.line,"," column: details.column"," };",""," while (p < pos) {"," if (input.charCodeAt(p) === 10) {"," details.line++;"," details.column = 1;"," } else {"," details.column++;"," }",""," p++;"," }",""," peg$posDetailsCache[pos] = details;",""," return details;"," }"," }",""," function peg$computeLocation(startPos, endPos, offset) {"," var startPosDetails = peg$computePosDetails(startPos);"," var endPosDetails = peg$computePosDetails(endPos);",""," var res = {"," source: peg$source,"," start: {"," offset: startPos,"," line: startPosDetails.line,"," column: startPosDetails.column"," },"," end: {"," offset: endPos,"," line: endPosDetails.line,"," column: endPosDetails.column"," }"," };",' if (offset && peg$source && (typeof peg$source.offset === "function")) {'," res.start = peg$source.offset(res.start);"," res.end = peg$source.offset(res.end);"," }"," return res;"," }",""," function peg$fail(expected) {"," if (peg$currPos < peg$maxFailPos) { return; }",""," if (peg$currPos > peg$maxFailPos) {"," peg$maxFailPos = peg$currPos;"," peg$maxFailExpected = [];"," }",""," peg$maxFailExpected.push(expected);"," }",""," function peg$buildSimpleError(message, location) {"," return new peg$SyntaxError(message, null, null, location);"," }",""," function peg$buildStructuredError(expected, found, location) {"," return new peg$SyntaxError("," peg$SyntaxError.buildMessage(expected, found),"," expected,"," found,"," location"," );"," }",""),e.rules.forEach((l=>{c.push(...o(function(c){const l=[],s=new a(c.name,"s","var",c.bytecode),d=function t(r){let a=0;const i=r.length,l=[];let d;function m(e,n){const c=n+3,i=r[a+c-2],u=r[a+c-1];let d,m;s.checkedIf(a,(()=>{a+=c,d=t(r.slice(a,a+i)),a+=i}),u>0?()=>{m=t(r.slice(a,a+u)),a+=u}:null),l.push("if ("+e+") {"),l.push(...o(d)),u>0&&(l.push("} else {"),l.push(...o(m))),l.push("}")}function w(e){const n=r[a+2-1];let c;s.checkedLoop(a,(()=>{a+=2,c=t(r.slice(a,a+n)),a+=n})),l.push("while ("+e+") {"),l.push(...o(c)),l.push("}")}function g(e){const t=r[a+e-1];return _(r[a+1])+"("+r.slice(a+e,a+e+t).map((e=>s.index(e))).join(", ")+")"}for(;a<i;)switch(r[a]){case n.PUSH_EMPTY_STRING:l.push(s.push("''")),a++;break;case n.PUSH_CURR_POS:l.push(s.push("peg$currPos")),a++;break;case n.PUSH_UNDEFINED:l.push(s.push("undefined")),a++;break;case n.PUSH_NULL:l.push(s.push("null")),a++;break;case n.PUSH_FAILED:l.push(s.push("peg$FAILED")),a++;break;case n.PUSH_EMPTY_ARRAY:l.push(s.push("[]")),a++;break;case n.POP:s.pop(),a++;break;case n.POP_CURR_POS:l.push("peg$currPos = "+s.pop()+";"),a++;break;case n.POP_N:s.pop(r[a+1]),a+=2;break;case n.NIP:d=s.pop(),s.pop(),l.push(s.push(d)),a++;break;case n.APPEND:d=s.pop(),l.push(s.top()+".push("+d+");"),a++;break;case n.WRAP:l.push(s.push("["+s.pop(r[a+1]).join(", ")+"]")),a+=2;break;case n.TEXT:l.push(s.push("input.substring("+s.pop()+", peg$currPos)")),a++;break;case n.PLUCK:{const e=3,t=r[a+e-1],o=e+t;d=r.slice(a+e,a+o),d=1===t?s.index(d[0]):`[ ${d.map((e=>s.index(e))).join(", ")} ]`,s.pop(r[a+1]),l.push(s.push(d)),a+=o;break}case n.IF:m(s.top(),0);break;case n.IF_ERROR:m(s.top()+" === peg$FAILED",0);break;case n.IF_NOT_ERROR:m(s.top()+" !== peg$FAILED",0);break;case n.IF_LT:m(s.top()+".length < "+r[a+1],1);break;case n.IF_GE:m(s.top()+".length >= "+r[a+1],1);break;case n.IF_LT_DYNAMIC:m(s.top()+".length < ("+s.index(r[a+1])+"|0)",1);break;case n.IF_GE_DYNAMIC:m(s.top()+".length >= ("+s.index(r[a+1])+"|0)",1);break;case n.WHILE_NOT_ERROR:w(s.top()+" !== peg$FAILED");break;case n.MATCH_ANY:m("input.length > peg$currPos",0);break;case n.MATCH_STRING:m(e.literals[r[a+1]].length>1?"input.substr(peg$currPos, "+e.literals[r[a+1]].length+") === "+u(r[a+1]):"input.charCodeAt(peg$currPos) === "+e.literals[r[a+1]].charCodeAt(0),1);break;case n.MATCH_STRING_IC:m("input.substr(peg$currPos, "+e.literals[r[a+1]].length+").toLowerCase() === "+u(r[a+1]),1);break;case n.MATCH_CHAR_CLASS:m(p(r[a+1])+".test(input.charAt(peg$currPos))",1);break;case n.ACCEPT_N:l.push(s.push(r[a+1]>1?"input.substr(peg$currPos, "+r[a+1]+")":"input.charAt(peg$currPos)")),l.push(r[a+1]>1?"peg$currPos += "+r[a+1]+";":"peg$currPos++;"),a+=2;break;case n.ACCEPT_STRING:l.push(s.push(u(r[a+1]))),l.push(e.literals[r[a+1]].length>1?"peg$currPos += "+e.literals[r[a+1]].length+";":"peg$currPos++;"),a+=2;break;case n.FAIL:l.push(s.push("peg$FAILED")),l.push("if (peg$silentFails === 0) { peg$fail("+h(r[a+1])+"); }"),a+=2;break;case n.LOAD_SAVED_POS:l.push("peg$savedPos = "+s.index(r[a+1])+";"),a+=2;break;case n.UPDATE_SAVED_POS:l.push("peg$savedPos = peg$currPos;"),a++;break;case n.CALL:d=g(4),s.pop(r[a+2]),l.push(s.push(d)),a+=4+r[a+3];break;case n.RULE:l.push(s.push(v(e.rules[r[a+1]].name)+"()")),a+=2;break;case n.SILENT_FAILS_ON:l.push("peg$silentFails++;"),a++;break;case n.SILENT_FAILS_OFF:l.push("peg$silentFails--;"),a++;break;case n.SOURCE_MAP_PUSH:s.sourceMapPush(l,e.locations[r[a+1]]),a+=2;break;case n.SOURCE_MAP_POP:s.sourceMapPop(),a++;break;case n.SOURCE_MAP_LABEL_PUSH:s.labels[r[a+1]]={label:e.literals[r[a+2]],location:e.locations[r[a+3]]},a+=4;break;case n.SOURCE_MAP_LABEL_POP:delete s.labels[r[a+1]],a+=2;break;default:throw new Error("Invalid opcode: "+r[a]+".",{rule:c.name,bytecode:r})}return l}(c.bytecode);return l.push(m("function ",v(c.name),c.nameLocation,"() {\n",c.name)),t.trace&&l.push(" var startPos = peg$currPos;"),l.push(o(s.defines())),l.push(...o(function(o,r){const n=[];return n.push(""),t.trace&&n.push("peg$tracer.trace({",' type: "rule.enter",'," rule: "+o+","," location: peg$computeLocation(startPos, startPos, true)","});",""),t.cache&&(n.push("var key = peg$currPos * "+e.rules.length+" + "+r+";","var cached = peg$resultsCache[key];","","if (cached) {"," peg$currPos = cached.nextPos;",""),t.trace&&n.push("if (cached.result !== peg$FAILED) {"," peg$tracer.trace({",' type: "rule.match",'," rule: "+o+","," result: cached.result,"," location: peg$computeLocation(startPos, peg$currPos, true)"," });","} else {"," peg$tracer.trace({",' type: "rule.fail",'," rule: "+o+","," location: peg$computeLocation(startPos, startPos, true)"," });","}",""),n.push(" return cached.result;","}","")),n}('"'+i(c.name)+'"',r.indexOfRule(e,c.name)))),l.push(...o(d)),l.push(...o(function(e,o){const r=[];return t.cache&&r.push("","peg$resultsCache[key] = { nextPos: peg$currPos, result: "+o+" };"),t.trace&&r.push("","if ("+o+" !== peg$FAILED) {"," peg$tracer.trace({",' type: "rule.match",'," rule: "+e+","," result: "+o+","," location: peg$computeLocation(startPos, peg$currPos, true)"," });","} else {"," peg$tracer.trace({",' type: "rule.fail",'," rule: "+e+","," location: peg$computeLocation(startPos, startPos, true)"," });","}"),r.push("","return "+o+";"),r}('"'+i(c.name)+'"',s.result()))),l.push("}"),l}(l))),c.push("")})),e.initializer&&(c.push(w(e.initializer)),c.push("")),c.push(" peg$result = peg$startRuleFunction();",""," if (peg$result !== peg$FAILED && peg$currPos === input.length) {"," return peg$result;"," } else {"," if (peg$result !== peg$FAILED && peg$currPos < input.length) {"," peg$fail(peg$endExpectation());"," }",""," throw peg$buildStructuredError("," peg$maxFailExpected,"," peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,"," peg$maxFailPos < input.length"," ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)"," : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)"," );"," }","}"),new s(null,null,t.grammarSource,c.map((e=>e instanceof s?e:e+"\n")))}())}},51358:(e,t,o)=>{"use strict";const r=o(87602),n=o(86657),a=o(48256),c=-1;function i(e){function t(e){return e.match=0}function o(e){return s(e.expression),e.match=1}function i(e){return e.match=s(e.expression)}function l(e,t){const o=e.length;let r=0,n=0;for(let t=0;t<o;++t){const o=s(e[t]);1===o&&++r,o===c&&++n}return r===o?1:t?n===o?c:0:n>0?c:0}const s=r.build({rule(e){let t,o=0;if(void 0===e.match){e.match=0;do{if(t=e.match,e.match=s(e.expression),++o>6)throw new a("Infinity cycle detected when trying to evaluate node match result",e.location)}while(t!==e.match)}return e.match},named:i,choice:e=>e.match=l(e.alternatives,!0),action:i,sequence:e=>e.match=l(e.elements,!1),labeled:i,text:i,simple_and:i,simple_not:e=>e.match=-s(e.expression),optional:o,zero_or_more:o,one_or_more:i,repeated(e){const t=s(e.expression),o=e.delimiter?s(e.delimiter):c,r=e.min?e.min:e.max;return"constant"!==r.type||"constant"!==e.max.type?e.match=0:0===e.max.value||null!==e.max.value&&r.value>e.max.value?e.match=c:t===c?e.match=0===r.value?1:c:1===t?e.delimiter&&r.value>=2?e.match=o:e.match=1:e.delimiter&&r.value>=2?e.match=o===c?c:0:e.match=0===r.value?1:0},group:i,semantic_and:t,semantic_not:t,rule_ref(t){const o=n.findRule(e,t.name);return t.match=s(o)},literal(e){const t=0===e.value.length?1:0;return e.match=t},class(e){const t=0===e.parts.length?c:0;return e.match=t},any:t});s(e)}i.ALWAYS_MATCH=1,i.SOMETIMES_MATCH=0,i.NEVER_MATCH=c,e.exports=i},47349:(e,t,o)=>{"use strict";const r=o(86657),n=o(87602);e.exports=function(e,t,o){const a=[];e.rules.forEach(((c,i)=>{var l;"rule"===(l=c).type&&"rule_ref"===l.expression.type&&(function(e,t,a){n.build({rule_ref(n){n.name===t&&(n.name=a,o.info(`Proxy rule "${t}" replaced by the rule "${a}"`,n.location,[{message:"This rule will be used",location:r.findRule(e,a).nameLocation}]))}})(e)}(e,c.name,c.expression.name),-1===t.allowedStartRules.indexOf(c.name)&&a.push(i))})),a.reverse(),a.forEach((t=>{e.rules.splice(t,1)}))}},13747:(e,t,o)=>{"use strict";const r=o(87602);e.exports=function(e,t,o){function n(e){const t={};return Object.keys(e).forEach((o=>{t[o]=e[o]})),t}function a(e,t){c(e.expression,n(t))}const c=r.build({rule(e){c(e.expression,{})},choice(e,t){e.alternatives.forEach((e=>{c(e,n(t))}))},action:a,labeled(e,t){const r=e.label;r&&Object.prototype.hasOwnProperty.call(t,r)&&o.error(`Label "${e.label}" is already defined`,e.labelLocation,[{message:"Original label location",location:t[r]}]),c(e.expression,t),t[e.label]=e.labelLocation},text:a,simple_and:a,simple_not:a,optional:a,zero_or_more:a,one_or_more:a,repeated(e,t){e.delimiter&&c(e.delimiter,n(t)),c(e.expression,n(t))},group:a});c(e)}},7937:(e,t,o)=>{"use strict";const r=o(87602);e.exports=function(e,t,o){const n={};r.build({rule(e){Object.prototype.hasOwnProperty.call(n,e.name)?o.error(`Rule "${e.name}" is already defined`,e.nameLocation,[{message:"Original rule location",location:n[e.name]}]):n[e.name]=e.nameLocation}})(e)}},43046:(e,t,o)=>{"use strict";const r=o(87602);e.exports=function(e,t,o){const n=r.build({action(e){n(e.expression,e)},labeled(e,t){e.pick&&t&&o.error('"@" cannot be used with an action block',e.labelLocation,[{message:"Action block location",location:t.codeLocation}]),n(e.expression)}});n(e)}},47771:(e,t,o)=>{"use strict";const r=o(86657),n=o(87602);e.exports=function(e,t,o){const a=[],c=[],i=n.build({rule(e){a.push(e.name),i(e.expression),a.pop()},sequence(t){t.elements.every((t=>(i(t),!r.alwaysConsumesOnSuccess(e,t))))},repeated(t){i(t.expression),t.delimiter&&!r.alwaysConsumesOnSuccess(e,t.expression)&&i(t.delimiter)},rule_ref(t){c.push(t);const n=r.findRule(e,t.name);if(-1!==a.indexOf(t.name))return a.push(t.name),void o.error("Possible infinite loop when parsing (left recursion: "+a.join(" -> ")+")",n.nameLocation,c.map(((e,t,o)=>({message:t+1!==o.length?`Step ${t+1}: call of the rule "${e.name}" without input consumption`:`Step ${t+1}: call itself without input consumption - left recursion`,location:e.location}))));n&&i(n),c.pop()}});i(e)}},74414:(e,t,o)=>{"use strict";const r=o(86657),n=o(87602);e.exports=function(e,t,o){const a=n.build({zero_or_more(t){r.alwaysConsumesOnSuccess(e,t.expression)||o.error("Possible infinite loop when parsing (repetition used with an expression that may not consume any input)",t.location)},one_or_more(t){r.alwaysConsumesOnSuccess(e,t.expression)||o.error("Possible infinite loop when parsing (repetition used with an expression that may not consume any input)",t.location)},repeated(t){if(t.delimiter&&a(t.delimiter),!(r.alwaysConsumesOnSuccess(e,t.expression)||t.delimiter&&r.alwaysConsumesOnSuccess(e,t.delimiter)))if(null===t.max.value)o.error("Possible infinite loop when parsing (unbounded range repetition used with an expression that may not consume any input)",t.location);else{const e=t.min?t.min:t.max;o.warning("constant"===e.type&&"constant"===t.max.type?`An expression may not consume any input and may always match ${t.max.value} times`:"An expression may not consume any input and may always match with a maximum repetition count",t.location)}}});a(e)}},78277:(e,t,o)=>{"use strict";const r=o(86657),n=o(87602);e.exports=function(e,t,o){n.build({rule_ref(t){r.findRule(e,t.name)||o.error(`Rule "${t.name}" is not defined`,t.location)}})(e)}},52399:(e,t,o)=>{"use strict";const r=o(48256);class n{constructor(e){"function"==typeof(e=void 0!==e?e:{}).error&&(this.error=e.error),"function"==typeof e.warning&&(this.warning=e.warning),"function"==typeof e.info&&(this.info=e.info)}error(){}warning(){}info(){}}e.exports=class{constructor(e){this._callbacks=new n(e),this._firstError=null,this.errors=0,this.problems=[],this.stage=null}error(...e){++this.errors,null===this._firstError&&(this._firstError=new r(...e),this._firstError.stage=this.stage,this._firstError.problems=this.problems),this.problems.push(["error",...e]),this._callbacks.error(this.stage,...e)}warning(...e){this.problems.push(["warning",...e]),this._callbacks.warning(this.stage,...e)}info(...e){this.problems.push(["info",...e]),this._callbacks.info(this.stage,...e)}checkErrors(){if(0!==this.errors)throw this._firstError}}},82169:(e,t,o)=>{"use strict";const{SourceNode:r}=o(10782),n=o(49002);class a{constructor(e,t,o,r){this.sp=-1,this.maxSp=-1,this.varName=t,this.ruleName=e,this.type=o,this.bytecode=r,this.labels={},this.sourceMapStack=[]}name(e){if(e<0)throw new RangeError(`Rule '${this.ruleName}': The variable stack underflow: attempt to use a variable '${this.varName}<x>' at an index ${e}.\nBytecode: ${this.bytecode}`);return this.varName+e}static sourceNode(e,t,o){const a=n.offsetStart(e);return new r(a.line,a.column?a.column-1:null,String(e.source),t,o)}push(e){++this.sp>this.maxSp&&(this.maxSp=this.sp);const t=this.labels[this.sp],o=[this.name(this.sp)," = ",e,";"];if(t){if(this.sourceMapStack.length){const e=a.sourceNode(t.location,o.splice(0,2),t.label),{parts:n,location:c}=this.sourceMapPopInternal(),i=c.start.offset<t.location.end.offset?{start:t.location.end,end:c.end,source:c.source}:c,l=a.sourceNode(i,o.concat("\n"));return this.sourceMapStack.push([n,n.length+1,c]),new r(null,null,t.location.source,[e,l])}return a.sourceNode(t.location,o.concat("\n"))}return o.join("")}pop(e){return void 0!==e?(this.sp-=e,Array.from({length:e},((e,t)=>this.name(this.sp+1+t)))):this.name(this.sp--)}top(){return this.name(this.sp)}index(e){if(e<0)throw new RangeError(`Rule '${this.ruleName}': The variable stack overflow: attempt to get a variable at a negative index ${e}.\nBytecode: ${this.bytecode}`);return this.name(this.sp-e)}result(){if(this.maxSp<0)throw new RangeError(`Rule '${this.ruleName}': The variable stack is empty, can't get the result.\nBytecode: ${this.bytecode}`);return this.name(0)}defines(){return this.maxSp<0?"":this.type+" "+Array.from({length:this.maxSp+1},((e,t)=>this.name(t))).join(", ")+";"}checkedIf(e,t,o){const r=this.sp;if(t(),o){const t=this.sp;if(this.sp=r,o(),t!==this.sp)throw new Error("Rule '"+this.ruleName+"', position "+e+": Branches of a condition can't move the stack pointer differently (before: "+r+", after then: "+t+", after else: "+this.sp+"). Bytecode: "+this.bytecode)}}checkedLoop(e,t){const o=this.sp;if(t(),o!==this.sp)throw new Error("Rule '"+this.ruleName+"', position "+e+": Body of a loop can't move the stack pointer (before: "+o+", after: "+this.sp+"). Bytecode: "+this.bytecode)}sourceMapPush(e,t){if(this.sourceMapStack.length){const e=this.sourceMapStack[this.sourceMapStack.length-1];e[2].start.offset===t.start.offset&&e[2].end.offset>t.end.offset&&(e[2]={start:t.end,end:e[2].end,source:e[2].source})}this.sourceMapStack.push([e,e.length,t])}sourceMapPopInternal(){const[e,t,o]=this.sourceMapStack.pop(),a=e.splice(t).map((e=>e instanceof r?e:e+"\n"));if(a.length){const t=n.offsetStart(o);e.push(new r(t.line,t.column-1,String(o.source),a))}return{parts:e,location:o}}sourceMapPop(e){const{location:t}=this.sourceMapPopInternal();if(this.sourceMapStack.length&&t.end.offset<this.sourceMapStack[this.sourceMapStack.length-1][2].end.offset){const{parts:o,location:r}=this.sourceMapPopInternal(),n=r.start.offset<t.end.offset?{start:t.end,end:r.end,source:r.source}:r;this.sourceMapStack.push([o,o.length+(e||0),n])}}}e.exports=a},93758:(e,t)=>{"use strict";function o(e){return e.charCodeAt(0).toString(16).toUpperCase()}t.hex=o,t.stringEscape=function(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\v/g,"\\v").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(e=>"\\x0"+o(e))).replace(/[\x10-\x1F\x7F-\xFF]/g,(e=>"\\x"+o(e))).replace(/[\u0100-\u0FFF]/g,(e=>"\\u0"+o(e))).replace(/[\u1000-\uFFFF]/g,(e=>"\\u"+o(e)))},t.regexpClassEscape=function(e){return e.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\v/g,"\\v").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(e=>"\\x0"+o(e))).replace(/[\x10-\x1F\x7F-\xFF]/g,(e=>"\\x"+o(e))).replace(/[\u0100-\u0FFF]/g,(e=>"\\u0"+o(e))).replace(/[\u1000-\uFFFF]/g,(e=>"\\u"+o(e)))},t.base64=function(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=e.length%3,r=e.length-o;let n="";for(let o=0;o<r;o+=3)n+=t[e[o]>>2],n+=t[(3&e[o])<<4|e[o+1]>>4],n+=t[(15&e[o+1])<<2|e[o+2]>>6],n+=t[63&e[o+2]];return 1===o?(n+=t[e[r]>>2],n+=t[(3&e[r])<<4],n+="=="):2===o&&(n+=t[e[r]>>2],n+=t[(3&e[r])<<4|e[r+1]>>4],n+=t[(15&e[r+1])<<2],n+="="),n}},87602:e=>{"use strict";const t={build(e){function t(t,...o){return e[t.type](t,...o)}function o(){}function r(e,...o){return t(e.expression,...o)}function n(e){return function(o,...r){o[e].forEach((e=>t(e,...r)))}}const a={grammar(e,...o){e.topLevelInitializer&&t(e.topLevelInitializer,...o),e.initializer&&t(e.initializer,...o),e.rules.forEach((e=>t(e,...o)))},top_level_initializer:o,initializer:o,rule:r,named:r,choice:n("alternatives"),action:r,sequence:n("elements"),labeled:r,text:r,simple_and:r,simple_not:r,optional:r,zero_or_more:r,one_or_more:r,repeated:(e,...o)=>(e.delimiter&&t(e.delimiter,...o),t(e.expression,...o)),group:r,semantic_and:o,semantic_not:o,rule_ref:o,literal:o,class:o,any:o};return Object.keys(a).forEach((t=>{Object.prototype.hasOwnProperty.call(e,t)||(e[t]=a[t])})),t}};e.exports=t},48256:(e,t,o)=>{"use strict";const r=o(49002),n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])};class a extends Error{constructor(e,t,o){super(e),n(this,a.prototype),this.name="GrammarError",this.location=t,void 0===o&&(o=[]),this.diagnostics=o,this.stage=null,this.problems=[["error",e,t,o]]}toString(){let e=super.toString();this.location&&(e+="\n at ",void 0!==this.location.source&&null!==this.location.source&&(e+=`${this.location.source}:`),e+=`${this.location.start.line}:${this.location.start.column}`);for(const t of this.diagnostics)e+="\n from ",void 0!==t.location.source&&null!==t.location.source&&(e+=`${t.location.source}:`),e+=`${t.location.start.line}:${t.location.start.column}: ${t.message}`;return e}format(e){const t=e.map((({source:e,text:t})=>({source:e,text:null!=t?String(t).split(/\r\n|\n|\r/g):[]})));function o(e,o,n=""){let a="";const c=t.find((({source:t})=>t===e.source)),i=e.start,l=r.offsetStart(e);if(c){const t=e.end,r=c.text[i.line-1],s=(i.line===t.line?t.column:r.length+1)-i.column||1;n&&(a+=`\nnote: ${n}`),a+=`\n --\x3e ${e.source}:${l.line}:${l.column}\n${"".padEnd(o)} |\n${l.line.toString().padStart(o)} | ${r}\n${"".padEnd(o)} | ${"".padEnd(i.column-1)}${"".padEnd(s,"^")}`}else a+=`\n at ${e.source}:${l.line}:${l.column}`,n&&(a+=`: ${n}`);return a}return this.problems.filter((e=>"info"!==e[0])).map((e=>function(e,t,n,a=[]){let c=-1/0;c=n?a.reduce(((e,{location:t})=>Math.max(e,r.offsetStart(t).line)),n.start.line):Math.max.apply(null,a.map((e=>e.location.start.line))),c=c.toString().length;let i=`${e}: ${t}`;n&&(i+=o(n,c));for(const e of a)i+=o(e.location,c,e.message);return i}(...e))).join("\n\n")}}e.exports=a},49002:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.start=t}toString(){return String(this.source)}offset(e){return{line:e.line+this.start.line-1,column:1===e.line?e.column+this.start.column-1:e.column,offset:e.offset+this.start.offset}}static offsetStart(e){return e.source&&"function"==typeof e.source.offset?e.source.offset(e.start):e.start}static offsetEnd(e){return e.source&&"function"==typeof e.source.offset?e.source.offset(e.end):e.end}}},68189:e=>{"use strict";const t={$:"text","&":"simple_and","!":"simple_not"},o={"?":"optional","*":"zero_or_more","+":"one_or_more"},r={"&":"semantic_and","!":"semantic_not"};function n(e,t,o,r){var a=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(a,n.prototype),a.expected=t,a.found=o,a.location=r,a.name="SyntaxError",a}function a(e,t,o){return o=o||" ",e.length>t?e:(t-=e.length,e+(o+=o.repeat(t)).slice(0,t))}!function(e,t){function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o}(n,Error),n.prototype.format=function(e){var t="Error: "+this.message;if(this.location){var o,r=null;for(o=0;o<e.length;o++)if(e[o].source===this.location.source){r=e[o].text.split(/\r\n|\n|\r/g);break}var n=this.location.start,c=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(n):n,i=this.location.source+":"+c.line+":"+c.column;if(r){var l=this.location.end,s=a("",c.line.toString().length," "),u=r[n.line-1],d=(n.line===l.line?l.column:u.length+1)-n.column||1;t+="\n --\x3e "+i+"\n"+s+" |\n"+c.line+" | "+u+"\n"+s+" | "+a("",n.column-1," ")+a("",d,"^")}else t+="\n at "+i}return t},n.buildMessage=function(e,t){var o={literal:function(e){return'"'+n(e.text)+'"'},class:function(e){var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function c(e){return o[e.type](e)}return"Expected "+function(e){var t,o,r=e.map(c);if(r.sort(),r.length>0){for(t=1,o=1;t<r.length;t++)r[t-1]!==r[t]&&(r[o]=r[t],o++);r.length=o}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:n,parse:function(e,a){var c,i={},l=(a=void 0!==a?a:{}).grammarSource,s={Grammar:Yo},u=Yo,d="{",m="}",p="=",h="/",_="@",v=":",w="$",g="&",f="!",E="?",b="*",C="+",x="|",y=",",k="..",A="(",S=")",P="\t",B="\v",V="\f",M=" ",N=" ",T="\ufeff",L="\n",F="\r\n",R="\r",D="\u2028",H="\u2029",I="/*",z="*/",j="//",O="_",G="\\",Z="",$="",U="i",q='"',W="'",J="[",Y="^",X="]",K="-",Q="0",ee="b",te="f",oe="n",re="r",ne="t",ae="v",ce="x",ie="u",le=".",se=";",ue=/^[\n\r\u2028\u2029]/,de=/^[0-9]/,me=/^[0-9a-f]/i,pe=/^[{}]/,he=/^[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137-\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148-\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C-\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA-\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC-\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF-\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F-\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0-\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB-\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE-\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6-\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FC7\u1FD0-\u1FD3\u1FD6-\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6-\u1FF7\u210A\u210E-\u210F\u2113\u212F\u2134\u2139\u213C-\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65-\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73-\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3-\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]/,_e=/^[\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5-\u06E6\u07F4-\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C-\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D-\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C-\uA69D\uA717-\uA71F\uA770\uA788\uA7F8-\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3-\uAAF4\uAB5C-\uAB5F\uFF70\uFF9E-\uFF9F]/,ve=/^[\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A-\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,we=/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/,ge=/^[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178-\u0179\u017B\u017D\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018B\u018E-\u0191\u0193-\u0194\u0196-\u0198\u019C-\u019D\u019F-\u01A0\u01A2\u01A4\u01A6-\u01A7\u01A9\u01AC\u01AE-\u01AF\u01B1-\u01B3\u01B5\u01B7-\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A-\u023B\u023D-\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9-\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0-\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E-\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D-\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A]/,fe=/^[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0982-\u0983\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0B02-\u0B03\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82-\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82-\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2-\u0DF3\u0F3E-\u0F3F\u0F7F\u102B-\u102C\u1031\u1038\u103B-\u103C\u1056-\u1057\u1062-\u1064\u1067-\u106D\u1083-\u1084\u1087-\u108C\u108F\u109A-\u109C\u17B6\u17BE-\u17C5\u17C7-\u17C8\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1A19-\u1A1A\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B82\u1BA1\u1BA6-\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1C24-\u1C2B\u1C34-\u1C35\u1CE1\u1CF2-\u1CF3\u302E-\u302F\uA823-\uA824\uA827\uA880-\uA881\uA8B4-\uA8C3\uA952-\uA953\uA983\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uAA2F-\uAA30\uAA33-\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE-\uAAEF\uAAF5\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEC]/,Ee=/^[\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962-\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2-\u09E3\u0A01-\u0A02\u0A3C\u0A41-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A51\u0A70-\u0A71\u0A75\u0A81-\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7-\u0AC8\u0ACD\u0AE2-\u0AE3\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62-\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C62-\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC-\u0CCD\u0CE2-\u0CE3\u0D01\u0D41-\u0D44\u0D4D\u0D62-\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86-\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039-\u103A\u103D-\u103E\u1058-\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17B4-\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193B\u1A17-\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80-\u1B81\u1BA2-\u1BA5\u1BA8-\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8-\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8-\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099-\u309A\uA66F\uA674-\uA67D\uA69E-\uA69F\uA6F0-\uA6F1\uA802\uA806\uA80B\uA825-\uA826\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31-\uAA32\uAA35-\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7-\uAAB8\uAABE-\uAABF\uAAC1\uAAEC-\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/,be=/^[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/,Ce=/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/,xe=/^[_\u203F-\u2040\u2054\uFE33-\uFE34\uFE4D-\uFE4F\uFF3F]/,ye=/^[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ke=Zo("{",!1),Ae=Zo("}",!1),Se=Zo("=",!1),Pe=Zo("/",!1),Be=Zo("@",!1),Ve=Zo(":",!1),Me=Zo("$",!1),Ne=Zo("&",!1),Te=Zo("!",!1),Le=Zo("?",!1),Fe=Zo("*",!1),Re=Zo("+",!1),De=Zo("|",!1),He=Zo(",",!1),Ie=Zo("..",!1),ze=Zo("(",!1),je=Zo(")",!1),Oe={type:"any"},Ge=Uo("whitespace"),Ze=Zo("\t",!1),$e=Zo("\v",!1),Ue=Zo("\f",!1),qe=Zo(" ",!1),We=Zo(" ",!1),Je=Zo("\ufeff",!1),Ye=$o(["\n","\r","\u2028","\u2029"],!1,!1),Xe=Uo("end of line"),Ke=Zo("\n",!1),Qe=Zo("\r\n",!1),et=Zo("\r",!1),tt=Zo("\u2028",!1),ot=Zo("\u2029",!1),rt=Uo("comment"),nt=Zo("/*",!1),at=Zo("*/",!1),ct=Zo("//",!1),it=Uo("identifier"),lt=Zo("_",!1),st=Zo("\\",!1),ut=Zo("",!1),dt=Zo("",!1),mt=Uo("literal"),pt=Zo("i",!1),ht=Uo("string"),_t=Zo('"',!1),vt=Zo("'",!1),wt=Uo("character class"),gt=Zo("[",!1),ft=Zo("^",!1),Et=Zo("]",!1),bt=Zo("-",!1),Ct=Zo("0",!1),xt=Zo("b",!1),yt=Zo("f",!1),kt=Zo("n",!1),At=Zo("r",!1),St=Zo("t",!1),Pt=Zo("v",!1),Bt=Zo("x",!1),Vt=Zo("u",!1),Mt=$o([["0","9"]],!1,!1),Nt=$o([["0","9"],["a","f"]],!1,!0),Tt=Zo(".",!1),Lt=Uo("code block"),Ft=$o(["{","}"],!1,!1),Rt=$o([["a","z"],"µ",["ß","ö"],["ø","ÿ"],"ā","ă","ą","ć","ĉ","ċ","č","ď","đ","ē","ĕ","ė","ę","ě","ĝ","ğ","ġ","ģ","ĥ","ħ","ĩ","ī","ĭ","į","ı","ij","ĵ",["ķ","ĸ"],"ĺ","ļ","ľ","ŀ","ł","ń","ņ",["ň","ʼn"],"ŋ","ō","ŏ","ő","œ","ŕ","ŗ","ř","ś","ŝ","ş","š","ţ","ť","ŧ","ũ","ū","ŭ","ů","ű","ų","ŵ","ŷ","ź","ż",["ž","ƀ"],"ƃ","ƅ","ƈ",["ƌ","ƍ"],"ƒ","ƕ",["ƙ","ƛ"],"ƞ","ơ","ƣ","ƥ","ƨ",["ƪ","ƫ"],"ƭ","ư","ƴ","ƶ",["ƹ","ƺ"],["ƽ","ƿ"],"dž","lj","nj","ǎ","ǐ","ǒ","ǔ","ǖ","ǘ","ǚ",["ǜ","ǝ"],"ǟ","ǡ","ǣ","ǥ","ǧ","ǩ","ǫ","ǭ",["ǯ","ǰ"],"dz","ǵ","ǹ","ǻ","ǽ","ǿ","ȁ","ȃ","ȅ","ȇ","ȉ","ȋ","ȍ","ȏ","ȑ","ȓ","ȕ","ȗ","ș","ț","ȝ","ȟ","ȡ","ȣ","ȥ","ȧ","ȩ","ȫ","ȭ","ȯ","ȱ",["ȳ","ȹ"],"ȼ",["ȿ","ɀ"],"ɂ","ɇ","ɉ","ɋ","ɍ",["ɏ","ʓ"],["ʕ","ʯ"],"ͱ","ͳ","ͷ",["ͻ","ͽ"],"ΐ",["ά","ώ"],["ϐ","ϑ"],["ϕ","ϗ"],"ϙ","ϛ","ϝ","ϟ","ϡ","ϣ","ϥ","ϧ","ϩ","ϫ","ϭ",["ϯ","ϳ"],"ϵ","ϸ",["ϻ","ϼ"],["а","џ"],"ѡ","ѣ","ѥ","ѧ","ѩ","ѫ","ѭ","ѯ","ѱ","ѳ","ѵ","ѷ","ѹ","ѻ","ѽ","ѿ","ҁ","ҋ","ҍ","ҏ","ґ","ғ","ҕ","җ","ҙ","қ","ҝ","ҟ","ҡ","ң","ҥ","ҧ","ҩ","ҫ","ҭ","ү","ұ","ҳ","ҵ","ҷ","ҹ","һ","ҽ","ҿ","ӂ","ӄ","ӆ","ӈ","ӊ","ӌ",["ӎ","ӏ"],"ӑ","ӓ","ӕ","ӗ","ә","ӛ","ӝ","ӟ","ӡ","ӣ","ӥ","ӧ","ө","ӫ","ӭ","ӯ","ӱ","ӳ","ӵ","ӷ","ӹ","ӻ","ӽ","ӿ","ԁ","ԃ","ԅ","ԇ","ԉ","ԋ","ԍ","ԏ","ԑ","ԓ","ԕ","ԗ","ԙ","ԛ","ԝ","ԟ","ԡ","ԣ","ԥ","ԧ","ԩ","ԫ","ԭ","ԯ",["ա","և"],["ᏸ","ᏽ"],["ᴀ","ᴫ"],["ᵫ","ᵷ"],["ᵹ","ᶚ"],"ḁ","ḃ","ḅ","ḇ","ḉ","ḋ","ḍ","ḏ","ḑ","ḓ","ḕ","ḗ","ḙ","ḛ","ḝ","ḟ","ḡ","ḣ","ḥ","ḧ","ḩ","ḫ","ḭ","ḯ","ḱ","ḳ","ḵ","ḷ","ḹ","ḻ","ḽ","ḿ","ṁ","ṃ","ṅ","ṇ","ṉ","ṋ","ṍ","ṏ","ṑ","ṓ","ṕ","ṗ","ṙ","ṛ","ṝ","ṟ","ṡ","ṣ","ṥ","ṧ","ṩ","ṫ","ṭ","ṯ","ṱ","ṳ","ṵ","ṷ","ṹ","ṻ","ṽ","ṿ","ẁ","ẃ","ẅ","ẇ","ẉ","ẋ","ẍ","ẏ","ẑ","ẓ",["ẕ","ẝ"],"ẟ","ạ","ả","ấ","ầ","ẩ","ẫ","ậ","ắ","ằ","ẳ","ẵ","ặ","ẹ","ẻ","ẽ","ế","ề","ể","ễ","ệ","ỉ","ị","ọ","ỏ","ố","ồ","ổ","ỗ","ộ","ớ","ờ","ở","ỡ","ợ","ụ","ủ","ứ","ừ","ử","ữ","ự","ỳ","ỵ","ỷ","ỹ","ỻ","ỽ",["ỿ","ἇ"],["ἐ","ἕ"],["ἠ","ἧ"],["ἰ","ἷ"],["ὀ","ὅ"],["ὐ","ὗ"],["ὠ","ὧ"],["ὰ","ώ"],["ᾀ","ᾇ"],["ᾐ","ᾗ"],["ᾠ","ᾧ"],["ᾰ","ᾴ"],["ᾶ","ᾷ"],"ι",["ῂ","ῄ"],["ῆ","ῇ"],["ῐ","ΐ"],["ῖ","ῗ"],["ῠ","ῧ"],["ῲ","ῴ"],["ῶ","ῷ"],"ℊ",["ℎ","ℏ"],"ℓ","ℯ","ℴ","ℹ",["ℼ","ℽ"],["ⅆ","ⅉ"],"ⅎ","ↄ",["ⰰ","ⱞ"],"ⱡ",["ⱥ","ⱦ"],"ⱨ","ⱪ","ⱬ","ⱱ",["ⱳ","ⱴ"],["ⱶ","ⱻ"],"ⲁ","ⲃ","ⲅ","ⲇ","ⲉ","ⲋ","ⲍ","ⲏ","ⲑ","ⲓ","ⲕ","ⲗ","ⲙ","ⲛ","ⲝ","ⲟ","ⲡ","ⲣ","ⲥ","ⲧ","ⲩ","ⲫ","ⲭ","ⲯ","ⲱ","ⲳ","ⲵ","ⲷ","ⲹ","ⲻ","ⲽ","ⲿ","ⳁ","ⳃ","ⳅ","ⳇ","ⳉ","ⳋ","ⳍ","ⳏ","ⳑ","ⳓ","ⳕ","ⳗ","ⳙ","ⳛ","ⳝ","ⳟ","ⳡ",["ⳣ","ⳤ"],"ⳬ","ⳮ","ⳳ",["ⴀ","ⴥ"],"ⴧ","ⴭ","ꙁ","ꙃ","ꙅ","ꙇ","ꙉ","ꙋ","ꙍ","ꙏ","ꙑ","ꙓ","ꙕ","ꙗ","ꙙ","ꙛ","ꙝ","ꙟ","ꙡ","ꙣ","ꙥ","ꙧ","ꙩ","ꙫ","ꙭ","ꚁ","ꚃ","ꚅ","ꚇ","ꚉ","ꚋ","ꚍ","ꚏ","ꚑ","ꚓ","ꚕ","ꚗ","ꚙ","ꚛ","ꜣ","ꜥ","ꜧ","ꜩ","ꜫ","ꜭ",["ꜯ","ꜱ"],"ꜳ","ꜵ","ꜷ","ꜹ","ꜻ","ꜽ","ꜿ","ꝁ","ꝃ","ꝅ","ꝇ","ꝉ","ꝋ","ꝍ","ꝏ","ꝑ","ꝓ","ꝕ","ꝗ","ꝙ","ꝛ","ꝝ","ꝟ","ꝡ","ꝣ","ꝥ","ꝧ","ꝩ","ꝫ","ꝭ","ꝯ",["ꝱ","ꝸ"],"ꝺ","ꝼ","ꝿ","ꞁ","ꞃ","ꞅ","ꞇ","ꞌ","ꞎ","ꞑ",["ꞓ","ꞕ"],"ꞗ","ꞙ","ꞛ","ꞝ","ꞟ","ꞡ","ꞣ","ꞥ","ꞧ","ꞩ","ꞵ","ꞷ","ꟺ",["ꬰ","ꭚ"],["ꭠ","ꭥ"],["ꭰ","ꮿ"],["ff","st"],["ﬓ","ﬗ"],["a","z"]],!1,!1),Dt=$o([["ʰ","ˁ"],["ˆ","ˑ"],["ˠ","ˤ"],"ˬ","ˮ","ʹ","ͺ","ՙ","ـ",["ۥ","ۦ"],["ߴ","ߵ"],"ߺ","ࠚ","ࠤ","ࠨ","ॱ","ๆ","ໆ","ჼ","ៗ","ᡃ","ᪧ",["ᱸ","ᱽ"],["ᴬ","ᵪ"],"ᵸ",["ᶛ","ᶿ"],"ⁱ","ⁿ",["ₐ","ₜ"],["ⱼ","ⱽ"],"ⵯ","ⸯ","々",["〱","〵"],"〻",["ゝ","ゞ"],["ー","ヾ"],"ꀕ",["ꓸ","ꓽ"],"ꘌ","ꙿ",["ꚜ","ꚝ"],["ꜗ","ꜟ"],"ꝰ","ꞈ",["ꟸ","ꟹ"],"ꧏ","ꧦ","ꩰ","ꫝ",["ꫳ","ꫴ"],["ꭜ","ꭟ"],"ー",["゙","゚"]],!1,!1),Ht=$o(["ª","º","ƻ",["ǀ","ǃ"],"ʔ",["א","ת"],["װ","ײ"],["ؠ","ؿ"],["ف","ي"],["ٮ","ٯ"],["ٱ","ۓ"],"ە",["ۮ","ۯ"],["ۺ","ۼ"],"ۿ","ܐ",["ܒ","ܯ"],["ݍ","ޥ"],"ޱ",["ߊ","ߪ"],["ࠀ","ࠕ"],["ࡀ","ࡘ"],["ࢠ","ࢴ"],["ऄ","ह"],"ऽ","ॐ",["क़","ॡ"],["ॲ","ঀ"],["অ","ঌ"],["এ","ঐ"],["ও","ন"],["প","র"],"ল",["শ","হ"],"ঽ","ৎ",["ড়","ঢ়"],["য়","ৡ"],["ৰ","ৱ"],["ਅ","ਊ"],["ਏ","ਐ"],["ਓ","ਨ"],["ਪ","ਰ"],["ਲ","ਲ਼"],["ਵ","ਸ਼"],["ਸ","ਹ"],["ਖ਼","ੜ"],"ਫ਼",["ੲ","ੴ"],["અ","ઍ"],["એ","ઑ"],["ઓ","ન"],["પ","ર"],["લ","ળ"],["વ","હ"],"ઽ","ૐ",["ૠ","ૡ"],"ૹ",["ଅ","ଌ"],["ଏ","ଐ"],["ଓ","ନ"],["ପ","ର"],["ଲ","ଳ"],["ଵ","ହ"],"ଽ",["ଡ଼","ଢ଼"],["ୟ","ୡ"],"ୱ","ஃ",["அ","ஊ"],["எ","ஐ"],["ஒ","க"],["ங","ச"],"ஜ",["ஞ","ட"],["ண","த"],["ந","ப"],["ம","ஹ"],"ௐ",["అ","ఌ"],["ఎ","ఐ"],["ఒ","న"],["ప","హ"],"ఽ",["ౘ","ౚ"],["ౠ","ౡ"],["ಅ","ಌ"],["ಎ","ಐ"],["ಒ","ನ"],["ಪ","ಳ"],["ವ","ಹ"],"ಽ","ೞ",["ೠ","ೡ"],["ೱ","ೲ"],["അ","ഌ"],["എ","ഐ"],["ഒ","ഺ"],"ഽ","ൎ",["ൟ","ൡ"],["ൺ","ൿ"],["අ","ඖ"],["ක","න"],["ඳ","ර"],"ල",["ව","ෆ"],["ก","ะ"],["า","ำ"],["เ","ๅ"],["ກ","ຂ"],"ຄ",["ງ","ຈ"],"ຊ","ຍ",["ດ","ທ"],["ນ","ຟ"],["ມ","ຣ"],"ລ","ວ",["ສ","ຫ"],["ອ","ະ"],["າ","ຳ"],"ຽ",["ເ","ໄ"],["ໜ","ໟ"],"ༀ",["ཀ","ཇ"],["ཉ","ཬ"],["ྈ","ྌ"],["က","ဪ"],"ဿ",["ၐ","ၕ"],["ၚ","ၝ"],"ၡ",["ၥ","ၦ"],["ၮ","ၰ"],["ၵ","ႁ"],"ႎ",["ა","ჺ"],["ჽ","ቈ"],["ቊ","ቍ"],["ቐ","ቖ"],"ቘ",["ቚ","ቝ"],["በ","ኈ"],["ኊ","ኍ"],["ነ","ኰ"],["ኲ","ኵ"],["ኸ","ኾ"],"ዀ",["ዂ","ዅ"],["ወ","ዖ"],["ዘ","ጐ"],["ጒ","ጕ"],["ጘ","ፚ"],["ᎀ","ᎏ"],["ᐁ","ᙬ"],["ᙯ","ᙿ"],["ᚁ","ᚚ"],["ᚠ","ᛪ"],["ᛱ","ᛸ"],["ᜀ","ᜌ"],["ᜎ","ᜑ"],["ᜠ","ᜱ"],["ᝀ","ᝑ"],["ᝠ","ᝬ"],["ᝮ","ᝰ"],["ក","ឳ"],"ៜ",["ᠠ","ᡂ"],["ᡄ","ᡷ"],["ᢀ","ᢨ"],"ᢪ",["ᢰ","ᣵ"],["ᤀ","ᤞ"],["ᥐ","ᥭ"],["ᥰ","ᥴ"],["ᦀ","ᦫ"],["ᦰ","ᧉ"],["ᨀ","ᨖ"],["ᨠ","ᩔ"],["ᬅ","ᬳ"],["ᭅ","ᭋ"],["ᮃ","ᮠ"],["ᮮ","ᮯ"],["ᮺ","ᯥ"],["ᰀ","ᰣ"],["ᱍ","ᱏ"],["ᱚ","ᱷ"],["ᳩ","ᳬ"],["ᳮ","ᳱ"],["ᳵ","ᳶ"],["ℵ","ℸ"],["ⴰ","ⵧ"],["ⶀ","ⶖ"],["ⶠ","ⶦ"],["ⶨ","ⶮ"],["ⶰ","ⶶ"],["ⶸ","ⶾ"],["ⷀ","ⷆ"],["ⷈ","ⷎ"],["ⷐ","ⷖ"],["ⷘ","ⷞ"],"〆","〼",["ぁ","ゖ"],"ゟ",["ァ","ヺ"],"ヿ",["ㄅ","ㄭ"],["ㄱ","ㆎ"],["ㆠ","ㆺ"],["ㇰ","ㇿ"],["㐀","䶵"],["一","鿕"],["ꀀ","ꀔ"],["ꀖ","ꒌ"],["ꓐ","ꓷ"],["ꔀ","ꘋ"],["ꘐ","ꘟ"],["ꘪ","ꘫ"],"ꙮ",["ꚠ","ꛥ"],"ꞏ","ꟷ",["ꟻ","ꠁ"],["ꠃ","ꠅ"],["ꠇ","ꠊ"],["ꠌ","ꠢ"],["ꡀ","ꡳ"],["ꢂ","ꢳ"],["ꣲ","ꣷ"],"ꣻ","ꣽ",["ꤊ","ꤥ"],["ꤰ","ꥆ"],["ꥠ","ꥼ"],["ꦄ","ꦲ"],["ꧠ","ꧤ"],["ꧧ","ꧯ"],["ꧺ","ꧾ"],["ꨀ","ꨨ"],["ꩀ","ꩂ"],["ꩄ","ꩋ"],["ꩠ","ꩯ"],["ꩱ","ꩶ"],"ꩺ",["ꩾ","ꪯ"],"ꪱ",["ꪵ","ꪶ"],["ꪹ","ꪽ"],"ꫀ","ꫂ",["ꫛ","ꫜ"],["ꫠ","ꫪ"],"ꫲ",["ꬁ","ꬆ"],["ꬉ","ꬎ"],["ꬑ","ꬖ"],["ꬠ","ꬦ"],["ꬨ","ꬮ"],["ꯀ","ꯢ"],["가","힣"],["ힰ","ퟆ"],["ퟋ","ퟻ"],["豈","舘"],["並","龎"],"יִ",["ײַ","ﬨ"],["שׁ","זּ"],["טּ","לּ"],"מּ",["נּ","סּ"],["ףּ","פּ"],["צּ","ﮱ"],["ﯓ","ﴽ"],["ﵐ","ﶏ"],["ﶒ","ﷇ"],["ﷰ","ﷻ"],["ﹰ","ﹴ"],["ﹶ","ﻼ"],["ヲ","ッ"],["ア","ン"],["ᅠ","ᄒ"],["ᅡ","ᅦ"],["ᅧ","ᅬ"],["ᅭ","ᅲ"],["ᅳ","ᅵ"]],!1,!1),It=$o(["Dž","Lj","Nj","Dz",["ᾈ","ᾏ"],["ᾘ","ᾟ"],["ᾨ","ᾯ"],"ᾼ","ῌ","ῼ"],!1,!1),zt=$o([["A","Z"],["À","Ö"],["Ø","Þ"],"Ā","Ă","Ą","Ć","Ĉ","Ċ","Č","Ď","Đ","Ē","Ĕ","Ė","Ę","Ě","Ĝ","Ğ","Ġ","Ģ","Ĥ","Ħ","Ĩ","Ī","Ĭ","Į","İ","IJ","Ĵ","Ķ","Ĺ","Ļ","Ľ","Ŀ","Ł","Ń","Ņ","Ň","Ŋ","Ō","Ŏ","Ő","Œ","Ŕ","Ŗ","Ř","Ś","Ŝ","Ş","Š","Ţ","Ť","Ŧ","Ũ","Ū","Ŭ","Ů","Ű","Ų","Ŵ","Ŷ",["Ÿ","Ź"],"Ż","Ž",["Ɓ","Ƃ"],"Ƅ",["Ɔ","Ƈ"],["Ɖ","Ƌ"],["Ǝ","Ƒ"],["Ɠ","Ɣ"],["Ɩ","Ƙ"],["Ɯ","Ɲ"],["Ɵ","Ơ"],"Ƣ","Ƥ",["Ʀ","Ƨ"],"Ʃ","Ƭ",["Ʈ","Ư"],["Ʊ","Ƴ"],"Ƶ",["Ʒ","Ƹ"],"Ƽ","DŽ","LJ","NJ","Ǎ","Ǐ","Ǒ","Ǔ","Ǖ","Ǘ","Ǚ","Ǜ","Ǟ","Ǡ","Ǣ","Ǥ","Ǧ","Ǩ","Ǫ","Ǭ","Ǯ","DZ","Ǵ",["Ƕ","Ǹ"],"Ǻ","Ǽ","Ǿ","Ȁ","Ȃ","Ȅ","Ȇ","Ȉ","Ȋ","Ȍ","Ȏ","Ȑ","Ȓ","Ȕ","Ȗ","Ș","Ț","Ȝ","Ȟ","Ƞ","Ȣ","Ȥ","Ȧ","Ȩ","Ȫ","Ȭ","Ȯ","Ȱ","Ȳ",["Ⱥ","Ȼ"],["Ƚ","Ⱦ"],"Ɂ",["Ƀ","Ɇ"],"Ɉ","Ɋ","Ɍ","Ɏ","Ͱ","Ͳ","Ͷ","Ϳ","Ά",["Έ","Ί"],"Ό",["Ύ","Ώ"],["Α","Ρ"],["Σ","Ϋ"],"Ϗ",["ϒ","ϔ"],"Ϙ","Ϛ","Ϝ","Ϟ","Ϡ","Ϣ","Ϥ","Ϧ","Ϩ","Ϫ","Ϭ","Ϯ","ϴ","Ϸ",["Ϲ","Ϻ"],["Ͻ","Я"],"Ѡ","Ѣ","Ѥ","Ѧ","Ѩ","Ѫ","Ѭ","Ѯ","Ѱ","Ѳ","Ѵ","Ѷ","Ѹ","Ѻ","Ѽ","Ѿ","Ҁ","Ҋ","Ҍ","Ҏ","Ґ","Ғ","Ҕ","Җ","Ҙ","Қ","Ҝ","Ҟ","Ҡ","Ң","Ҥ","Ҧ","Ҩ","Ҫ","Ҭ","Ү","Ұ","Ҳ","Ҵ","Ҷ","Ҹ","Һ","Ҽ","Ҿ",["Ӏ","Ӂ"],"Ӄ","Ӆ","Ӈ","Ӊ","Ӌ","Ӎ","Ӑ","Ӓ","Ӕ","Ӗ","Ә","Ӛ","Ӝ","Ӟ","Ӡ","Ӣ","Ӥ","Ӧ","Ө","Ӫ","Ӭ","Ӯ","Ӱ","Ӳ","Ӵ","Ӷ","Ӹ","Ӻ","Ӽ","Ӿ","Ԁ","Ԃ","Ԅ","Ԇ","Ԉ","Ԋ","Ԍ","Ԏ","Ԑ","Ԓ","Ԕ","Ԗ","Ԙ","Ԛ","Ԝ","Ԟ","Ԡ","Ԣ","Ԥ","Ԧ","Ԩ","Ԫ","Ԭ","Ԯ",["Ա","Ֆ"],["Ⴀ","Ⴥ"],"Ⴧ","Ⴭ",["Ꭰ","Ᏽ"],"Ḁ","Ḃ","Ḅ","Ḇ","Ḉ","Ḋ","Ḍ","Ḏ","Ḑ","Ḓ","Ḕ","Ḗ","Ḙ","Ḛ","Ḝ","Ḟ","Ḡ","Ḣ","Ḥ","Ḧ","Ḩ","Ḫ","Ḭ","Ḯ","Ḱ","Ḳ","Ḵ","Ḷ","Ḹ","Ḻ","Ḽ","Ḿ","Ṁ","Ṃ","Ṅ","Ṇ","Ṉ","Ṋ","Ṍ","Ṏ","Ṑ","Ṓ","Ṕ","Ṗ","Ṙ","Ṛ","Ṝ","Ṟ","Ṡ","Ṣ","Ṥ","Ṧ","Ṩ","Ṫ","Ṭ","Ṯ","Ṱ","Ṳ","Ṵ","Ṷ","Ṹ","Ṻ","Ṽ","Ṿ","Ẁ","Ẃ","Ẅ","Ẇ","Ẉ","Ẋ","Ẍ","Ẏ","Ẑ","Ẓ","Ẕ","ẞ","Ạ","Ả","Ấ","Ầ","Ẩ","Ẫ","Ậ","Ắ","Ằ","Ẳ","Ẵ","Ặ","Ẹ","Ẻ","Ẽ","Ế","Ề","Ể","Ễ","Ệ","Ỉ","Ị","Ọ","Ỏ","Ố","Ồ","Ổ","Ỗ","Ộ","Ớ","Ờ","Ở","Ỡ","Ợ","Ụ","Ủ","Ứ","Ừ","Ử","Ữ","Ự","Ỳ","Ỵ","Ỷ","Ỹ","Ỻ","Ỽ","Ỿ",["Ἀ","Ἇ"],["Ἐ","Ἕ"],["Ἠ","Ἧ"],["Ἰ","Ἷ"],["Ὀ","Ὅ"],"Ὑ","Ὓ","Ὕ","Ὗ",["Ὠ","Ὧ"],["Ᾰ","Ά"],["Ὲ","Ή"],["Ῐ","Ί"],["Ῠ","Ῥ"],["Ὸ","Ώ"],"ℂ","ℇ",["ℋ","ℍ"],["ℐ","ℒ"],"ℕ",["ℙ","ℝ"],"ℤ","Ω","ℨ",["K","ℭ"],["ℰ","ℳ"],["ℾ","ℿ"],"ⅅ","Ↄ",["Ⰰ","Ⱞ"],"Ⱡ",["Ɫ","Ɽ"],"Ⱨ","Ⱪ","Ⱬ",["Ɑ","Ɒ"],"Ⱳ","Ⱶ",["Ȿ","Ⲁ"],"Ⲃ","Ⲅ","Ⲇ","Ⲉ","Ⲋ","Ⲍ","Ⲏ","Ⲑ","Ⲓ","Ⲕ","Ⲗ","Ⲙ","Ⲛ","Ⲝ","Ⲟ","Ⲡ","Ⲣ","Ⲥ","Ⲧ","Ⲩ","Ⲫ","Ⲭ","Ⲯ","Ⲱ","Ⲳ","Ⲵ","Ⲷ","Ⲹ","Ⲻ","Ⲽ","Ⲿ","Ⳁ","Ⳃ","Ⳅ","Ⳇ","Ⳉ","Ⳋ","Ⳍ","Ⳏ","Ⳑ","Ⳓ","Ⳕ","Ⳗ","Ⳙ","Ⳛ","Ⳝ","Ⳟ","Ⳡ","Ⳣ","Ⳬ","Ⳮ","Ⳳ","Ꙁ","Ꙃ","Ꙅ","Ꙇ","Ꙉ","Ꙋ","Ꙍ","Ꙏ","Ꙑ","Ꙓ","Ꙕ","Ꙗ","Ꙙ","Ꙛ","Ꙝ","Ꙟ","Ꙡ","Ꙣ","Ꙥ","Ꙧ","Ꙩ","Ꙫ","Ꙭ","Ꚁ","Ꚃ","Ꚅ","Ꚇ","Ꚉ","Ꚋ","Ꚍ","Ꚏ","Ꚑ","Ꚓ","Ꚕ","Ꚗ","Ꚙ","Ꚛ","Ꜣ","Ꜥ","Ꜧ","Ꜩ","Ꜫ","Ꜭ","Ꜯ","Ꜳ","Ꜵ","Ꜷ","Ꜹ","Ꜻ","Ꜽ","Ꜿ","Ꝁ","Ꝃ","Ꝅ","Ꝇ","Ꝉ","Ꝋ","Ꝍ","Ꝏ","Ꝑ","Ꝓ","Ꝕ","Ꝗ","Ꝙ","Ꝛ","Ꝝ","Ꝟ","Ꝡ","Ꝣ","Ꝥ","Ꝧ","Ꝩ","Ꝫ","Ꝭ","Ꝯ","Ꝺ","Ꝼ",["Ᵹ","Ꝿ"],"Ꞁ","Ꞃ","Ꞅ","Ꞇ","Ꞌ","Ɥ","Ꞑ","Ꞓ","Ꞗ","Ꞙ","Ꞛ","Ꞝ","Ꞟ","Ꞡ","Ꞣ","Ꞥ","Ꞧ","Ꞩ",["Ɦ","Ɬ"],["Ʞ","Ꞵ"],"Ꞷ",["A","Z"]],!1,!1),jt=$o(["ः","ऻ",["ा","ी"],["ॉ","ौ"],["ॎ","ॏ"],["ং","ঃ"],["া","ী"],["ে","ৈ"],["ো","ৌ"],"ৗ","ਃ",["ਾ","ੀ"],"ઃ",["ા","ી"],"ૉ",["ો","ૌ"],["ଂ","ଃ"],"ା","ୀ",["େ","ୈ"],["ୋ","ୌ"],"ୗ",["ா","ி"],["ு","ூ"],["ெ","ை"],["ொ","ௌ"],"ௗ",["ఁ","ః"],["ు","ౄ"],["ಂ","ಃ"],"ಾ",["ೀ","ೄ"],["ೇ","ೈ"],["ೊ","ೋ"],["ೕ","ೖ"],["ം","ഃ"],["ാ","ീ"],["െ","ൈ"],["ൊ","ൌ"],"ൗ",["ං","ඃ"],["ා","ෑ"],["ෘ","ෟ"],["ෲ","ෳ"],["༾","༿"],"ཿ",["ါ","ာ"],"ေ","း",["ျ","ြ"],["ၖ","ၗ"],["ၢ","ၤ"],["ၧ","ၭ"],["ႃ","ႄ"],["ႇ","ႌ"],"ႏ",["ႚ","ႜ"],"ា",["ើ","ៅ"],["ះ","ៈ"],["ᤣ","ᤦ"],["ᤩ","ᤫ"],["ᤰ","ᤱ"],["ᤳ","ᤸ"],["ᨙ","ᨚ"],"ᩕ","ᩗ","ᩡ",["ᩣ","ᩤ"],["ᩭ","ᩲ"],"ᬄ","ᬵ","ᬻ",["ᬽ","ᭁ"],["ᭃ","᭄"],"ᮂ","ᮡ",["ᮦ","ᮧ"],"᮪","ᯧ",["ᯪ","ᯬ"],"ᯮ",["᯲","᯳"],["ᰤ","ᰫ"],["ᰴ","ᰵ"],"᳡",["ᳲ","ᳳ"],["〮","〯"],["ꠣ","ꠤ"],"ꠧ",["ꢀ","ꢁ"],["ꢴ","ꣃ"],["ꥒ","꥓"],"ꦃ",["ꦴ","ꦵ"],["ꦺ","ꦻ"],["ꦽ","꧀"],["ꨯ","ꨰ"],["ꨳ","ꨴ"],"ꩍ","ꩻ","ꩽ","ꫫ",["ꫮ","ꫯ"],"ꫵ",["ꯣ","ꯤ"],["ꯦ","ꯧ"],["ꯩ","ꯪ"],"꯬"],!1,!1),Ot=$o([["̀","ͯ"],["҃","҇"],["֑","ֽ"],"ֿ",["ׁ","ׂ"],["ׄ","ׅ"],"ׇ",["ؐ","ؚ"],["ً","ٟ"],"ٰ",["ۖ","ۜ"],["۟","ۤ"],["ۧ","ۨ"],["۪","ۭ"],"ܑ",["ܰ","݊"],["ަ","ް"],["߫","߳"],["ࠖ","࠙"],["ࠛ","ࠣ"],["ࠥ","ࠧ"],["ࠩ","࠭"],["࡙","࡛"],["ࣣ","ं"],"ऺ","़",["ु","ै"],"्",["॑","ॗ"],["ॢ","ॣ"],"ঁ","়",["ু","ৄ"],"্",["ৢ","ৣ"],["ਁ","ਂ"],"਼",["ੁ","ੂ"],["ੇ","ੈ"],["ੋ","੍"],"ੑ",["ੰ","ੱ"],"ੵ",["ઁ","ં"],"઼",["ુ","ૅ"],["ે","ૈ"],"્",["ૢ","ૣ"],"ଁ","଼","ି",["ୁ","ୄ"],"୍","ୖ",["ୢ","ୣ"],"ஂ","ீ","்","ఀ",["ా","ీ"],["ె","ై"],["ొ","్"],["ౕ","ౖ"],["ౢ","ౣ"],"ಁ","಼","ಿ","ೆ",["ೌ","್"],["ೢ","ೣ"],"ഁ",["ു","ൄ"],"്",["ൢ","ൣ"],"්",["ි","ු"],"ූ","ั",["ิ","ฺ"],["็","๎"],"ັ",["ິ","ູ"],["ົ","ຼ"],["່","ໍ"],["༘","༙"],"༵","༷","༹",["ཱ","ཾ"],["ྀ","྄"],["྆","྇"],["ྍ","ྗ"],["ྙ","ྼ"],"࿆",["ိ","ူ"],["ဲ","့"],["္","်"],["ွ","ှ"],["ၘ","ၙ"],["ၞ","ၠ"],["ၱ","ၴ"],"ႂ",["ႅ","ႆ"],"ႍ","ႝ",["፝","፟"],["ᜒ","᜔"],["ᜲ","᜴"],["ᝒ","ᝓ"],["ᝲ","ᝳ"],["឴","឵"],["ិ","ួ"],"ំ",["៉","៓"],"៝",["᠋","᠍"],"ᢩ",["ᤠ","ᤢ"],["ᤧ","ᤨ"],"ᤲ",["᤹","᤻"],["ᨗ","ᨘ"],"ᨛ","ᩖ",["ᩘ","ᩞ"],"᩠","ᩢ",["ᩥ","ᩬ"],["ᩳ","᩼"],"᩿",["᪰","᪽"],["ᬀ","ᬃ"],"᬴",["ᬶ","ᬺ"],"ᬼ","ᭂ",["᭫","᭳"],["ᮀ","ᮁ"],["ᮢ","ᮥ"],["ᮨ","ᮩ"],["᮫","ᮭ"],"᯦",["ᯨ","ᯩ"],"ᯭ",["ᯯ","ᯱ"],["ᰬ","ᰳ"],["ᰶ","᰷"],["᳐","᳒"],["᳔","᳠"],["᳢","᳨"],"᳭","᳴",["᳸","᳹"],["᷀","᷵"],["᷼","᷿"],["⃐","⃜"],"⃡",["⃥","⃰"],["⳯","⳱"],"⵿",["ⷠ","ⷿ"],["〪","〭"],["゙","゚"],"꙯",["ꙴ","꙽"],["ꚞ","ꚟ"],["꛰","꛱"],"ꠂ","꠆","ꠋ",["ꠥ","ꠦ"],"꣄",["꣠","꣱"],["ꤦ","꤭"],["ꥇ","ꥑ"],["ꦀ","ꦂ"],"꦳",["ꦶ","ꦹ"],"ꦼ","ꧥ",["ꨩ","ꨮ"],["ꨱ","ꨲ"],["ꨵ","ꨶ"],"ꩃ","ꩌ","ꩼ","ꪰ",["ꪲ","ꪴ"],["ꪷ","ꪸ"],["ꪾ","꪿"],"꫁",["ꫬ","ꫭ"],"꫶","ꯥ","ꯨ","꯭","ﬞ",["︀","️"],["︠","︯"]],!1,!1),Gt=$o([["0","9"],["٠","٩"],["۰","۹"],["߀","߉"],["०","९"],["০","৯"],["੦","੯"],["૦","૯"],["୦","୯"],["௦","௯"],["౦","౯"],["೦","೯"],["൦","൯"],["෦","෯"],["๐","๙"],["໐","໙"],["༠","༩"],["၀","၉"],["႐","႙"],["០","៩"],["᠐","᠙"],["᥆","᥏"],["᧐","᧙"],["᪀","᪉"],["᪐","᪙"],["᭐","᭙"],["᮰","᮹"],["᱀","᱉"],["᱐","᱙"],["꘠","꘩"],["꣐","꣙"],["꤀","꤉"],["꧐","꧙"],["꧰","꧹"],["꩐","꩙"],["꯰","꯹"],["0","9"]],!1,!1),Zt=$o([["ᛮ","ᛰ"],["Ⅰ","ↂ"],["ↅ","ↈ"],"〇",["〡","〩"],["〸","〺"],["ꛦ","ꛯ"]],!1,!1),$t=$o(["_",["‿","⁀"],"⁔",["︳","︴"],["﹍","﹏"],"_"],!1,!1),Ut=$o([" "," "," ",[" "," "]," "," "," "],!1,!1),qt=Zo(";",!1),Wt=function(e,t,o){return{type:"grammar",topLevelInitializer:e,initializer:t,rules:o,location:Oo()}},Jt=function(e){return{type:"top_level_initializer",code:e[0],codeLocation:e[1],location:Oo()}},Yt=function(e){return{type:"initializer",code:e[0],codeLocation:e[1],location:Oo()}},Xt=function(e,t,o){return{type:"rule",name:e[0],nameLocation:e[1],expression:null!==t?{type:"named",name:t,expression:o,location:Oo()}:o,location:Oo()}},Kt=function(e,t){return t.length>0?{type:"choice",alternatives:[e].concat(t),location:Oo()}:e},Qt=function(e,t){return null!==t?{type:"action",expression:e,code:t[0],codeLocation:t[1],location:Oo()}:e},eo=function(e,t){return t.length>0||"labeled"===e.type&&e.pick?{type:"sequence",elements:[e].concat(t),location:Oo()}:e},to=function(e,t,o){return o.type.startsWith("semantic_")&&Go('"@" cannot be used on a semantic predicate',e),{type:"labeled",label:null!==t?t[0]:null,labelLocation:null!==t?t[1]:e,pick:!0,expression:o,location:Oo()}},oo=function(e,t){return{type:"labeled",label:e[0],labelLocation:e[1],expression:t,location:Oo()}},ro=function(){return Oo()},no=function(e){return Mr.indexOf(e[0])>=0&&Go(`Label can't be a reserved word "${e[0]}"`,e[1]),e},ao=function(e,o){return{type:t[e],expression:o,location:Oo()}},co=function(e,t){return{type:o[t],expression:e,location:Oo()}},io=function(e,t,o){let r=t[0],n=t[1];return"constant"===n.type&&0===n.value&&Go("The maximum count of repetitions of the rule must be > 0",n.location),{type:"repeated",min:r,max:n,expression:e,delimiter:o,location:Oo()}},lo=function(e,t){return[null!==e?e:{type:"constant",value:0},null!==t?t:{type:"constant",value:null}]},so=function(e){return[null,e]},uo=function(e){return{type:"constant",value:e,location:Oo()}},mo=function(e){return{type:"variable",value:e[0],location:Oo()}},po=function(e){return{type:"function",value:e[0],codeLocation:e[1],location:Oo()}},ho=function(e){return"labeled"===e.type||"sequence"===e.type?{type:"group",expression:e,location:Oo()}:e},_o=function(e){return{type:"rule_ref",name:e[0],location:Oo()}},vo=function(e,t){return{type:r[e],code:t[0],codeLocation:t[1],location:Oo()}},wo=function(e,t){return[e+t.join(""),Oo()]},go=function(e,t){return{type:"literal",value:e,ignoreCase:null!==t,location:Oo()}},fo=function(e){return e.join("")},Eo=function(e){return e.join("")},bo=function(e,t,o){return{type:"class",parts:t.filter((e=>""!==e)),inverted:null!==e,ignoreCase:null!==o,location:Oo()}},Co=function(t,o){return t.charCodeAt(0)>o.charCodeAt(0)&&Go("Invalid character range: "+e.substring(Do,Ro)+"."),[t,o]},xo=function(){return""},yo=function(){return"\0"},ko=function(){return"\b"},Ao=function(){return"\f"},So=function(){return"\n"},Po=function(){return"\r"},Bo=function(){return"\t"},Vo=function(){return"\v"},Mo=function(e){return String.fromCharCode(parseInt(e,16))},No=function(e){return String.fromCharCode(parseInt(e,16))},To=function(){return{type:"any",location:Oo()}},Lo=function(e){return[e,Oo()]},Fo=function(e){return parseInt(e,10)},Ro=0,Do=0,Ho=[{line:1,column:1}],Io=0,zo=[],jo=0;if("startRule"in a){if(!(a.startRule in s))throw new Error("Can't start parsing from rule \""+a.startRule+'".');u=s[a.startRule]}function Oo(){return Wo(Do,Ro)}function Go(e,t){throw function(e,t){return new n(e,null,null,t)}(e,t=void 0!==t?t:Wo(Do,Ro))}function Zo(e,t){return{type:"literal",text:e,ignoreCase:t}}function $o(e,t,o){return{type:"class",parts:e,inverted:t,ignoreCase:o}}function Uo(e){return{type:"other",description:e}}function qo(t){var o,r=Ho[t];if(r)return r;for(o=t-1;!Ho[o];)o--;for(r={line:(r=Ho[o]).line,column:r.column};o<t;)10===e.charCodeAt(o)?(r.line++,r.column=1):r.column++,o++;return Ho[t]=r,r}function Wo(e,t,o){var r=qo(e),n=qo(t),a={source:l,start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}};return o&&l&&"function"==typeof l.offset&&(a.start=l.offset(a.start),a.end=l.offset(a.end)),a}function Jo(e){Ro<Io||(Ro>Io&&(Io=Ro,zo=[]),zo.push(e))}function Yo(){var t,o,r,n,a,c;if(t=Ro,Br(),o=Ro,r=function(){var t,o,r,n;return t=Ro,123===e.charCodeAt(Ro)?(o=d,Ro++):(o=i,0===jo&&Jo(ke)),o!==i&&(r=Sr())!==i?(125===e.charCodeAt(Ro)?(n=m,Ro++):(n=i,0===jo&&Jo(Ae)),n!==i&&Vr()!==i?(Do=t,t=Jt(r)):(Ro=t,t=i)):(Ro=t,t=i),t}(),r!==i?(n=Br(),o=r):(Ro=o,o=i),o===i&&(o=null),r=Ro,n=function(){var e,t;return e=Ro,(t=Sr())!==i&&Vr()!==i?(Do=e,e=Yt(t)):(Ro=e,e=i),e}(),n!==i?(a=Br(),r=n):(Ro=r,r=i),r===i&&(r=null),n=[],a=Ro,(c=Xo())!==i?(Br(),a=c):(Ro=a,a=i),a!==i)for(;a!==i;)n.push(a),a=Ro,(c=Xo())!==i?(Br(),a=c):(Ro=a,a=i);else n=i;return n!==i?(Do=t,t=Wt(o,r,n)):(Ro=t,t=i),t}function Xo(){var t,o,r,n,a;return t=Ro,(o=pr())!==i?(Br(),r=Ro,(n=vr())!==i?(Br(),r=n):(Ro=r,r=i),r===i&&(r=null),61===e.charCodeAt(Ro)?(n=p,Ro++):(n=i,0===jo&&Jo(Se)),n!==i?(Br(),(a=Ko())!==i&&Vr()!==i?(Do=t,t=Xt(o,r,a)):(Ro=t,t=i)):(Ro=t,t=i)):(Ro=t,t=i),t}function Ko(){var t,o,r,n,a,c;if(t=Ro,(o=Qo())!==i){for(r=[],n=Ro,Br(),47===e.charCodeAt(Ro)?(a=h,Ro++):(a=i,0===jo&&Jo(Pe)),a!==i?(Br(),(c=Qo())!==i?n=c:(Ro=n,n=i)):(Ro=n,n=i);n!==i;)r.push(n),n=Ro,Br(),47===e.charCodeAt(Ro)?(a=h,Ro++):(a=i,0===jo&&Jo(Pe)),a!==i?(Br(),(c=Qo())!==i?n=c:(Ro=n,n=i)):(Ro=n,n=i);Do=t,t=Kt(o,r)}else Ro=t,t=i;return t}function Qo(){var e,t,o,r;return e=Ro,t=function(){var e,t,o,r,n;if(e=Ro,(t=er())!==i){for(o=[],r=Ro,Br(),(n=er())!==i?r=n:(Ro=r,r=i);r!==i;)o.push(r),r=Ro,Br(),(n=er())!==i?r=n:(Ro=r,r=i);Do=e,e=eo(t,o)}else Ro=e,e=i;return e}(),t!==i?(o=Ro,Br(),(r=Sr())!==i?o=r:(Ro=o,o=i),o===i&&(o=null),Do=e,e=Qt(t,o)):(Ro=e,e=i),e}function er(){var t,o,r,n;return t=Ro,o=function(){var t,o;return t=Ro,64===e.charCodeAt(Ro)?(o=_,Ro++):(o=i,0===jo&&Jo(Be)),o!==i&&(Do=t,o=ro()),t=o}(),o!==i?((r=tr())===i&&(r=null),(n=or())!==i?(Do=t,t=to(o,r,n)):(Ro=t,t=i)):(Ro=t,t=i),t===i&&(t=Ro,(o=tr())!==i?(r=Br(),(n=or())!==i?(Do=t,t=oo(o,n)):(Ro=t,t=i)):(Ro=t,t=i),t===i&&(t=or())),t}function tr(){var t,o,r;return t=Ro,(o=pr())!==i?(Br(),58===e.charCodeAt(Ro)?(r=v,Ro++):(r=i,0===jo&&Jo(Ve)),r!==i?(Do=t,t=no(o)):(Ro=t,t=i)):(Ro=t,t=i),t}function or(){var t,o,r;return t=Ro,o=function(){var t;return 36===e.charCodeAt(Ro)?(t=w,Ro++):(t=i,0===jo&&Jo(Me)),t===i&&(38===e.charCodeAt(Ro)?(t=g,Ro++):(t=i,0===jo&&Jo(Ne)),t===i&&(33===e.charCodeAt(Ro)?(t=f,Ro++):(t=i,0===jo&&Jo(Te)))),t}(),o!==i?(Br(),(r=rr())!==i?(Do=t,t=ao(o,r)):(Ro=t,t=i)):(Ro=t,t=i),t===i&&(t=rr()),t}function rr(){var t,o,r;return t=Ro,(o=ar())!==i?(Br(),r=function(){var t;return 63===e.charCodeAt(Ro)?(t=E,Ro++):(t=i,0===jo&&Jo(Le)),t===i&&(42===e.charCodeAt(Ro)?(t=b,Ro++):(t=i,0===jo&&Jo(Fe)),t===i&&(43===e.charCodeAt(Ro)?(t=C,Ro++):(t=i,0===jo&&Jo(Re)))),t}(),r!==i?(Do=t,t=co(o,r)):(Ro=t,t=i)):(Ro=t,t=i),t===i&&(t=function(){var t,o,r,n,a,c,l;return t=Ro,(o=ar())!==i?(Br(),124===e.charCodeAt(Ro)?(r=x,Ro++):(r=i,0===jo&&Jo(De)),r!==i?(Br(),n=function(){var t,o,r,n;return t=Ro,(o=nr())===i&&(o=null),Br(),e.substr(Ro,2)===k?(r=k,Ro+=2):(r=i,0===jo&&Jo(Ie)),r!==i?(Br(),(n=nr())===i&&(n=null),Do=t,t=lo(o,n)):(Ro=t,t=i),t===i&&(t=Ro,(o=nr())!==i&&(Do=t,o=so(o)),t=o),t}(),n!==i?(Br(),a=Ro,44===e.charCodeAt(Ro)?(c=y,Ro++):(c=i,0===jo&&Jo(He)),c!==i?(Br(),(l=Ko())!==i?(Br(),a=l):(Ro=a,a=i)):(Ro=a,a=i),a===i&&(a=null),124===e.charCodeAt(Ro)?(c=x,Ro++):(c=i,0===jo&&Jo(De)),c!==i?(Do=t,t=io(o,n,a)):(Ro=t,t=i)):(Ro=t,t=i)):(Ro=t,t=i)):(Ro=t,t=i),t}(),t===i&&(t=ar())),t}function nr(){var t,o;return t=Ro,o=function(){var t,o,r,n;if(t=Ro,o=Ro,r=[],(n=kr())!==i)for(;n!==i;)r.push(n),n=kr();else r=i;return(o=r!==i?e.substring(o,Ro):r)!==i&&(Do=t,o=Fo(o)),t=o}(),o!==i&&(Do=t,o=uo(o)),(t=o)===i&&(t=Ro,(o=pr())!==i&&(Do=t,o=mo(o)),(t=o)===i&&(t=Ro,(o=Sr())!==i&&(Do=t,o=po(o)),t=o)),t}function ar(){var t,o,r,n;return t=function(){var t,o,r;return jo++,t=Ro,(o=vr())!==i?(105===e.charCodeAt(Ro)?(r=U,Ro++):(r=i,0===jo&&Jo(pt)),r===i&&(r=null),Do=t,t=go(o,r)):(Ro=t,t=i),jo--,t===i&&(o=i,0===jo&&Jo(mt)),t}(),t===i&&(t=function(){var t,o,r,n,a,c;if(jo++,t=Ro,91===e.charCodeAt(Ro)?(o=J,Ro++):(o=i,0===jo&&Jo(gt)),o!==i){for(94===e.charCodeAt(Ro)?(r=Y,Ro++):(r=i,0===jo&&Jo(ft)),r===i&&(r=null),n=[],(a=fr())===i&&(a=Er());a!==i;)n.push(a),(a=fr())===i&&(a=Er());93===e.charCodeAt(Ro)?(a=X,Ro++):(a=i,0===jo&&Jo(Et)),a!==i?(105===e.charCodeAt(Ro)?(c=U,Ro++):(c=i,0===jo&&Jo(pt)),c===i&&(c=null),Do=t,t=bo(r,n,c)):(Ro=t,t=i)}else Ro=t,t=i;return jo--,t===i&&(o=i,0===jo&&Jo(wt)),t}(),t===i&&(t=function(){var t,o;return t=Ro,46===e.charCodeAt(Ro)?(o=le,Ro++):(o=i,0===jo&&Jo(Tt)),o!==i&&(Do=t,o=To()),t=o}(),t===i&&(t=function(){var t,o,r,n,a,c,l;return t=Ro,(o=pr())!==i?(r=Ro,jo++,n=Ro,a=Br(),c=Ro,(l=vr())!==i?c=l=[l,Br()]:(Ro=c,c=i),c===i&&(c=null),61===e.charCodeAt(Ro)?(l=p,Ro++):(l=i,0===jo&&Jo(Se)),l!==i?n=a=[a,c,l]:(Ro=n,n=i),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i?(Do=t,t=_o(o)):(Ro=t,t=i)):(Ro=t,t=i),t}(),t===i&&(t=function(){var t,o,r;return t=Ro,o=function(){var t;return 38===e.charCodeAt(Ro)?(t=g,Ro++):(t=i,0===jo&&Jo(Ne)),t===i&&(33===e.charCodeAt(Ro)?(t=f,Ro++):(t=i,0===jo&&Jo(Te))),t}(),o!==i?(Br(),(r=Sr())!==i?(Do=t,t=vo(o,r)):(Ro=t,t=i)):(Ro=t,t=i),t}(),t===i&&(t=Ro,40===e.charCodeAt(Ro)?(o=A,Ro++):(o=i,0===jo&&Jo(ze)),o!==i?(Br(),(r=Ko())!==i?(Br(),41===e.charCodeAt(Ro)?(n=S,Ro++):(n=i,0===jo&&Jo(je)),n!==i?(Do=t,t=ho(r)):(Ro=t,t=i)):(Ro=t,t=i)):(Ro=t,t=i)))))),t}function cr(){var t;return e.length>Ro?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Oe)),t}function ir(){var t;return jo++,9===e.charCodeAt(Ro)?(t=P,Ro++):(t=i,0===jo&&Jo(Ze)),t===i&&(11===e.charCodeAt(Ro)?(t=B,Ro++):(t=i,0===jo&&Jo($e)),t===i&&(12===e.charCodeAt(Ro)?(t=V,Ro++):(t=i,0===jo&&Jo(Ue)),t===i&&(32===e.charCodeAt(Ro)?(t=M,Ro++):(t=i,0===jo&&Jo(qe)),t===i&&(160===e.charCodeAt(Ro)?(t=N,Ro++):(t=i,0===jo&&Jo(We)),t===i&&(65279===e.charCodeAt(Ro)?(t=T,Ro++):(t=i,0===jo&&Jo(Je)),t===i&&(t=function(){var t;return ye.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Ut)),t}())))))),jo--,t===i&&0===jo&&Jo(Ge),t}function lr(){var t;return ue.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Ye)),t}function sr(){var t;return jo++,10===e.charCodeAt(Ro)?(t=L,Ro++):(t=i,0===jo&&Jo(Ke)),t===i&&(e.substr(Ro,2)===F?(t=F,Ro+=2):(t=i,0===jo&&Jo(Qe)),t===i&&(13===e.charCodeAt(Ro)?(t=R,Ro++):(t=i,0===jo&&Jo(et)),t===i&&(8232===e.charCodeAt(Ro)?(t=D,Ro++):(t=i,0===jo&&Jo(tt)),t===i&&(8233===e.charCodeAt(Ro)?(t=H,Ro++):(t=i,0===jo&&Jo(ot)))))),jo--,t===i&&0===jo&&Jo(Xe),t}function ur(){var t;return jo++,(t=function(){var t,o,r,n,a,c;if(t=Ro,e.substr(Ro,2)===I?(o=I,Ro+=2):(o=i,0===jo&&Jo(nt)),o!==i){for(r=[],n=Ro,a=Ro,jo++,e.substr(Ro,2)===z?(c=z,Ro+=2):(c=i,0===jo&&Jo(at)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);n!==i;)r.push(n),n=Ro,a=Ro,jo++,e.substr(Ro,2)===z?(c=z,Ro+=2):(c=i,0===jo&&Jo(at)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);e.substr(Ro,2)===z?(n=z,Ro+=2):(n=i,0===jo&&Jo(at)),n!==i?t=o=[o,r,n]:(Ro=t,t=i)}else Ro=t,t=i;return t}())===i&&(t=mr()),jo--,t===i&&0===jo&&Jo(rt),t}function dr(){var t,o,r,n,a,c;if(t=Ro,e.substr(Ro,2)===I?(o=I,Ro+=2):(o=i,0===jo&&Jo(nt)),o!==i){for(r=[],n=Ro,a=Ro,jo++,e.substr(Ro,2)===z?(c=z,Ro+=2):(c=i,0===jo&&Jo(at)),c===i&&(c=lr()),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);n!==i;)r.push(n),n=Ro,a=Ro,jo++,e.substr(Ro,2)===z?(c=z,Ro+=2):(c=i,0===jo&&Jo(at)),c===i&&(c=lr()),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);e.substr(Ro,2)===z?(n=z,Ro+=2):(n=i,0===jo&&Jo(at)),n!==i?t=o=[o,r,n]:(Ro=t,t=i)}else Ro=t,t=i;return t}function mr(){var t,o,r,n,a,c;if(t=Ro,e.substr(Ro,2)===j?(o=j,Ro+=2):(o=i,0===jo&&Jo(ct)),o!==i){for(r=[],n=Ro,a=Ro,jo++,c=lr(),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);n!==i;)r.push(n),n=Ro,a=Ro,jo++,c=lr(),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);t=o=[o,r]}else Ro=t,t=i;return t}function pr(){var e,t,o,r;if(jo++,e=Ro,(t=hr())!==i){for(o=[],r=_r();r!==i;)o.push(r),r=_r();Do=e,e=wo(t,o)}else Ro=e,e=i;return jo--,e===i&&(t=i,0===jo&&Jo(it)),e}function hr(){var t,o,r;return(t=function(){var t;return(t=function(){var t;return ge.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(zt)),t}())===i&&(t=function(){var t;return he.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Rt)),t}())===i&&(t=function(){var t;return we.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(It)),t}())===i&&(t=function(){var t;return _e.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Dt)),t}())===i&&(t=function(){var t;return ve.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Ht)),t}())===i&&(t=function(){var t;return Ce.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Zt)),t}()),t}())===i&&(95===e.charCodeAt(Ro)?(t=O,Ro++):(t=i,0===jo&&Jo(lt)),t===i&&(t=Ro,92===e.charCodeAt(Ro)?(o=G,Ro++):(o=i,0===jo&&Jo(st)),o!==i&&(r=yr())!==i?t=r:(Ro=t,t=i))),t}function _r(){var t;return(t=hr())===i&&(36===e.charCodeAt(Ro)?(t=w,Ro++):(t=i,0===jo&&Jo(Me)),t===i&&(t=function(){var t;return(t=function(){var t;return Ee.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Ot)),t}())===i&&(t=function(){var t;return fe.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(jt)),t}()),t}())===i&&(t=function(){var t;return be.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Gt)),t}())===i&&(t=function(){var t;return xe.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo($t)),t}())===i&&(8204===e.charCodeAt(Ro)?(t=Z,Ro++):(t=i,0===jo&&Jo(ut)),t===i&&(8205===e.charCodeAt(Ro)?(t=$,Ro++):(t=i,0===jo&&Jo(dt))))),t}function vr(){var t,o,r,n;if(jo++,t=Ro,34===e.charCodeAt(Ro)?(o=q,Ro++):(o=i,0===jo&&Jo(_t)),o!==i){for(r=[],n=wr();n!==i;)r.push(n),n=wr();34===e.charCodeAt(Ro)?(n=q,Ro++):(n=i,0===jo&&Jo(_t)),n!==i?(Do=t,t=fo(r)):(Ro=t,t=i)}else Ro=t,t=i;if(t===i)if(t=Ro,39===e.charCodeAt(Ro)?(o=W,Ro++):(o=i,0===jo&&Jo(vt)),o!==i){for(r=[],n=gr();n!==i;)r.push(n),n=gr();39===e.charCodeAt(Ro)?(n=W,Ro++):(n=i,0===jo&&Jo(vt)),n!==i?(Do=t,t=Eo(r)):(Ro=t,t=i)}else Ro=t,t=i;return jo--,t===i&&(o=i,0===jo&&Jo(ht)),t}function wr(){var t,o,r,n;return t=Ro,o=Ro,r=Ro,jo++,34===e.charCodeAt(Ro)?(n=q,Ro++):(n=i,0===jo&&Jo(_t)),n===i&&(92===e.charCodeAt(Ro)?(n=G,Ro++):(n=i,0===jo&&Jo(st)),n===i&&(n=lr())),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i&&(n=cr())!==i?o=r=[r,n]:(Ro=o,o=i),(t=o!==i?e.substring(t,Ro):o)===i&&(t=Ro,92===e.charCodeAt(Ro)?(o=G,Ro++):(o=i,0===jo&&Jo(st)),o!==i&&(r=Cr())!==i?t=r:(Ro=t,t=i),t===i&&(t=br())),t}function gr(){var t,o,r,n;return t=Ro,o=Ro,r=Ro,jo++,39===e.charCodeAt(Ro)?(n=W,Ro++):(n=i,0===jo&&Jo(vt)),n===i&&(92===e.charCodeAt(Ro)?(n=G,Ro++):(n=i,0===jo&&Jo(st)),n===i&&(n=lr())),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i&&(n=cr())!==i?o=r=[r,n]:(Ro=o,o=i),(t=o!==i?e.substring(t,Ro):o)===i&&(t=Ro,92===e.charCodeAt(Ro)?(o=G,Ro++):(o=i,0===jo&&Jo(st)),o!==i&&(r=Cr())!==i?t=r:(Ro=t,t=i),t===i&&(t=br())),t}function fr(){var t,o,r,n;return t=Ro,(o=Er())!==i?(45===e.charCodeAt(Ro)?(r=K,Ro++):(r=i,0===jo&&Jo(bt)),r!==i&&(n=Er())!==i?(Do=t,t=Co(o,n)):(Ro=t,t=i)):(Ro=t,t=i),t}function Er(){var t,o,r,n;return t=Ro,o=Ro,r=Ro,jo++,93===e.charCodeAt(Ro)?(n=X,Ro++):(n=i,0===jo&&Jo(Et)),n===i&&(92===e.charCodeAt(Ro)?(n=G,Ro++):(n=i,0===jo&&Jo(st)),n===i&&(n=lr())),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i&&(n=cr())!==i?o=r=[r,n]:(Ro=o,o=i),(t=o!==i?e.substring(t,Ro):o)===i&&(t=Ro,92===e.charCodeAt(Ro)?(o=G,Ro++):(o=i,0===jo&&Jo(st)),o!==i&&(r=Cr())!==i?t=r:(Ro=t,t=i),t===i&&(t=br())),t}function br(){var t,o;return t=Ro,92===e.charCodeAt(Ro)?(o=G,Ro++):(o=i,0===jo&&Jo(st)),o!==i&&sr()!==i?(Do=t,t=xo()):(Ro=t,t=i),t}function Cr(){var t,o,r,n;return t=function(){var t;return(t=xr())===i&&(t=function(){var t,o,r,n;return t=Ro,o=Ro,r=Ro,jo++,n=function(){var t;return(t=xr())===i&&(t=kr())===i&&(120===e.charCodeAt(Ro)?(t=ce,Ro++):(t=i,0===jo&&Jo(Bt)),t===i&&(117===e.charCodeAt(Ro)?(t=ie,Ro++):(t=i,0===jo&&Jo(Vt)))),t}(),n===i&&(n=lr()),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i&&(n=cr())!==i?o=r=[r,n]:(Ro=o,o=i),t=o!==i?e.substring(t,Ro):o}()),t}(),t===i&&(t=Ro,48===e.charCodeAt(Ro)?(o=Q,Ro++):(o=i,0===jo&&Jo(Ct)),o!==i?(r=Ro,jo++,n=kr(),jo--,n===i?r=void 0:(Ro=r,r=i),r!==i?(Do=t,t=yo()):(Ro=t,t=i)):(Ro=t,t=i),t===i&&(t=function(){var t,o,r,n,a,c;return t=Ro,120===e.charCodeAt(Ro)?(o=ce,Ro++):(o=i,0===jo&&Jo(Bt)),o!==i?(r=Ro,n=Ro,(a=Ar())!==i&&(c=Ar())!==i?n=a=[a,c]:(Ro=n,n=i),(r=n!==i?e.substring(r,Ro):n)!==i?(Do=t,t=Mo(r)):(Ro=t,t=i)):(Ro=t,t=i),t}(),t===i&&(t=yr()))),t}function xr(){var t,o;return 39===e.charCodeAt(Ro)?(t=W,Ro++):(t=i,0===jo&&Jo(vt)),t===i&&(34===e.charCodeAt(Ro)?(t=q,Ro++):(t=i,0===jo&&Jo(_t)),t===i&&(92===e.charCodeAt(Ro)?(t=G,Ro++):(t=i,0===jo&&Jo(st)),t===i&&(t=Ro,98===e.charCodeAt(Ro)?(o=ee,Ro++):(o=i,0===jo&&Jo(xt)),o!==i&&(Do=t,o=ko()),(t=o)===i&&(t=Ro,102===e.charCodeAt(Ro)?(o=te,Ro++):(o=i,0===jo&&Jo(yt)),o!==i&&(Do=t,o=Ao()),(t=o)===i&&(t=Ro,110===e.charCodeAt(Ro)?(o=oe,Ro++):(o=i,0===jo&&Jo(kt)),o!==i&&(Do=t,o=So()),(t=o)===i&&(t=Ro,114===e.charCodeAt(Ro)?(o=re,Ro++):(o=i,0===jo&&Jo(At)),o!==i&&(Do=t,o=Po()),(t=o)===i&&(t=Ro,116===e.charCodeAt(Ro)?(o=ne,Ro++):(o=i,0===jo&&Jo(St)),o!==i&&(Do=t,o=Bo()),(t=o)===i&&(t=Ro,118===e.charCodeAt(Ro)?(o=ae,Ro++):(o=i,0===jo&&Jo(Pt)),o!==i&&(Do=t,o=Vo()),t=o)))))))),t}function yr(){var t,o,r,n,a,c,l,s;return t=Ro,117===e.charCodeAt(Ro)?(o=ie,Ro++):(o=i,0===jo&&Jo(Vt)),o!==i?(r=Ro,n=Ro,(a=Ar())!==i&&(c=Ar())!==i&&(l=Ar())!==i&&(s=Ar())!==i?n=a=[a,c,l,s]:(Ro=n,n=i),(r=n!==i?e.substring(r,Ro):n)!==i?(Do=t,t=No(r)):(Ro=t,t=i)):(Ro=t,t=i),t}function kr(){var t;return de.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Mt)),t}function Ar(){var t;return me.test(e.charAt(Ro))?(t=e.charAt(Ro),Ro++):(t=i,0===jo&&Jo(Nt)),t}function Sr(){var t,o,r,n;return jo++,t=Ro,123===e.charCodeAt(Ro)?(o=d,Ro++):(o=i,0===jo&&Jo(ke)),o!==i?(r=function(){var e,t;return e=Ro,t=Pr(),Do=e,e=t=Lo(t)}(),125===e.charCodeAt(Ro)?(n=m,Ro++):(n=i,0===jo&&Jo(Ae)),n!==i?t=r:(Ro=t,t=i)):(Ro=t,t=i),jo--,t===i&&(o=i,0===jo&&Jo(Lt)),t}function Pr(){var t,o,r,n,a,c;if(t=Ro,o=[],r=[],n=Ro,a=Ro,jo++,pe.test(e.charAt(Ro))?(c=e.charAt(Ro),Ro++):(c=i,0===jo&&Jo(Ft)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ro,a=Ro,jo++,pe.test(e.charAt(Ro))?(c=e.charAt(Ro),Ro++):(c=i,0===jo&&Jo(Ft)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);else r=i;for(r===i&&(r=Ro,123===e.charCodeAt(Ro)?(n=d,Ro++):(n=i,0===jo&&Jo(ke)),n!==i?(a=Pr(),125===e.charCodeAt(Ro)?(c=m,Ro++):(c=i,0===jo&&Jo(Ae)),c!==i?r=n=[n,a,c]:(Ro=r,r=i)):(Ro=r,r=i));r!==i;){if(o.push(r),r=[],n=Ro,a=Ro,jo++,pe.test(e.charAt(Ro))?(c=e.charAt(Ro),Ro++):(c=i,0===jo&&Jo(Ft)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ro,a=Ro,jo++,pe.test(e.charAt(Ro))?(c=e.charAt(Ro),Ro++):(c=i,0===jo&&Jo(Ft)),jo--,c===i?a=void 0:(Ro=a,a=i),a!==i&&(c=cr())!==i?n=a=[a,c]:(Ro=n,n=i);else r=i;r===i&&(r=Ro,123===e.charCodeAt(Ro)?(n=d,Ro++):(n=i,0===jo&&Jo(ke)),n!==i?(a=Pr(),125===e.charCodeAt(Ro)?(c=m,Ro++):(c=i,0===jo&&Jo(Ae)),c!==i?r=n=[n,a,c]:(Ro=r,r=i)):(Ro=r,r=i))}return e.substring(t,Ro)}function Br(){var e,t;for(e=[],(t=ir())===i&&(t=sr())===i&&(t=ur());t!==i;)e.push(t),(t=ir())===i&&(t=sr())===i&&(t=ur());return e}function Vr(){var t,o,r,n;if(t=[],o=Ro,r=Br(),59===e.charCodeAt(Ro)?(n=se,Ro++):(n=i,0===jo&&Jo(qt)),n!==i?o=r=[r,n]:(Ro=o,o=i),o!==i)for(;o!==i;)t.push(o),o=Ro,r=Br(),59===e.charCodeAt(Ro)?(n=se,Ro++):(n=i,0===jo&&Jo(qt)),n!==i?o=r=[r,n]:(Ro=o,o=i);else t=i;return t===i&&(t=Ro,o=function(){var e,t;for(e=[],(t=ir())===i&&(t=dr());t!==i;)e.push(t),(t=ir())===i&&(t=dr());return e}(),(r=mr())===i&&(r=null),(n=sr())!==i?t=o=[o,r,n]:(Ro=t,t=i),t===i&&(t=Ro,o=Br(),r=function(){var t,o;return t=Ro,jo++,e.length>Ro?(o=e.charAt(Ro),Ro++):(o=i,0===jo&&Jo(Oe)),jo--,o===i?t=void 0:(Ro=t,t=i),t}(),r!==i?t=o=[o,r]:(Ro=t,t=i))),t}const Mr=a.reservedWords||[];if((c=u())!==i&&Ro===e.length)return c;throw c!==i&&Ro<e.length&&Jo({type:"end"}),function(e,t,o){return new n(n.buildMessage(e,t),e,t,o)}(zo,Io<e.length?e.charAt(Io):null,Io<e.length?Wo(Io,Io+1):Wo(Io,Io))}}},80154:(e,t,o)=>{"use strict";const r=o(48256),n=o(49002),a=o(73629),c=o(68189),i={VERSION:o(62415),RESERVED_WORDS:["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","null","true","false","enum","implements","interface","let","package","private","protected","public","static","yield","await","arguments","eval"],GrammarError:r,GrammarLocation:n,parser:c,compiler:a,generate(e,t){const o="plugins"in(t=void 0!==t?t:{})?t.plugins:[],r={parser:i.parser,passes:function(e){const t={};return Object.keys(e).forEach((o=>{t[o]=e[o].slice()})),t}(i.compiler.passes),reservedWords:i.RESERVED_WORDS.slice()};return o.forEach((e=>{e.use(r,t)})),i.compiler.compile(r.parser.parse(e,{grammarSource:t.grammarSource,reservedWords:r.reservedWords}),r.passes,t)}};e.exports=i},62415:e=>{"use strict";e.exports="3.0.2"},31772:(e,t,o)=>{"use strict";var r=o(25148);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,o,n,a,c){if(c!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return o.PropTypes=o,o}},7862:(e,t,o)=>{e.exports=o(31772)()},25148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95472:(e,t,o)=>{"use strict";o(52458);var r=o(99196),n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;n=a("react.element"),t.Fragment=a("react.fragment")}var c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,o){var r,a={},s=null,u=null;for(r in void 0!==o&&(s=""+o),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:n,type:e,key:s,ref:u,props:a,_owner:c.current}}t.jsx=s,t.jsxs=s},61250:(e,t,o)=>{"use strict";e.exports=o(95472)},12443:(e,t)=>{class o{constructor(){this._array=[],this._set=new Map}static fromArray(e,t){const r=new o;for(let o=0,n=e.length;o<n;o++)r.add(e[o],t);return r}size(){return this._set.size}add(e,t){const o=this.has(e),r=this._array.length;o&&!t||this._array.push(e),o||this._set.set(e,r)}has(e){return this._set.has(e)}indexOf(e){const t=this._set.get(e);if(t>=0)return t;throw new Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)}toArray(){return this._array.slice()}}t.I=o},61944:(e,t,o)=>{const r=o(39286);t.encode=function(e){let t,o="",n=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&n,n>>>=5,n>0&&(t|=32),o+=r.encode(t)}while(n>0);return o}},39286:(e,t)=>{const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<o.length)return o[e];throw new TypeError("Must be between 0 and 63: "+e)}},85460:(e,t,o)=>{const r=o(8023);t.H=class{constructor(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){!function(e,t){const o=e.generatedLine,n=t.generatedLine,a=e.generatedColumn,c=t.generatedColumn;return n>o||n==o&&c>=a||r.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))}toArray(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array}}},41393:(e,t,o)=>{const r=o(61944),n=o(8023),a=o(12443).I,c=o(85460).H;class i{constructor(e){e||(e={}),this._file=n.getArg(e,"file",null),this._sourceRoot=n.getArg(e,"sourceRoot",null),this._skipValidation=n.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new c,this._sourcesContents=null}static fromSourceMap(e){const t=e.sourceRoot,o=new i({file:e.file,sourceRoot:t});return e.eachMapping((function(e){const r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=n.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),o.addMapping(r)})),e.sources.forEach((function(r){let a=r;null!=t&&(a=n.relative(t,r)),o._sources.has(a)||o._sources.add(a);const c=e.sourceContentFor(r);null!=c&&o.setSourceContent(r,c)})),o}addMapping(e){const t=n.getArg(e,"generated"),o=n.getArg(e,"original",null);let r=n.getArg(e,"source",null),a=n.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,o,r,a),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:o&&o.line,originalColumn:o&&o.column,source:r,name:a})}setSourceContent(e,t){let o=e;null!=this._sourceRoot&&(o=n.relative(this._sourceRoot,o)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(o)]=t):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(o)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))}applySourceMap(e,t,o){let r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}const c=this._sourceRoot;null!=c&&(r=n.relative(c,r));const i=this._mappings.toArray().length>0?new a:this._sources,l=new a;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){const r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=o&&(t.source=n.join(o,t.source)),null!=c&&(t.source=n.relative(c,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}const a=t.source;null==a||i.has(a)||i.add(a);const s=t.name;null==s||l.has(s)||l.add(s)}),this),this._sources=i,this._names=l,e.sources.forEach((function(t){const r=e.sourceContentFor(t);null!=r&&(null!=o&&(t=n.join(o,t)),null!=c&&(t=n.relative(c,t)),this.setSourceContent(t,r))}),this)}_validateMapping(e,t,o,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!o&&!r);else if(!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&o))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:o,original:t,name:r}))}_serializeMappings(){let e,t,o,a,c=0,i=1,l=0,s=0,u=0,d=0,m="";const p=this._mappings.toArray();for(let h=0,_=p.length;h<_;h++){if(t=p[h],e="",t.generatedLine!==i)for(c=0;t.generatedLine!==i;)e+=";",i++;else if(h>0){if(!n.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-c),c=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=r.encode(a-d),d=a,e+=r.encode(t.originalLine-1-s),s=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(o=this._names.indexOf(t.name),e+=r.encode(o-u),u=o)),m+=e}return m}_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=n.relative(t,e));const o=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null}),this)}toJSON(){const e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e}toString(){return JSON.stringify(this.toJSON())}}i.prototype._version=3,t.SourceMapGenerator=i},5440:(e,t,o)=>{const r=o(41393).SourceMapGenerator,n=o(8023),a=/(\r?\n)/,c="$$$isSourceNode$$$";class i{constructor(e,t,o,r,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==o?null:o,this.name=null==n?null:n,this[c]=!0,null!=r&&this.add(r)}static fromStringWithSourceMap(e,t,o){const r=new i,c=e.split(a);let l=0;const s=function(){return e()+(e()||"");function e(){return l<c.length?c[l++]:void 0}};let u,d=1,m=0,p=null;return t.eachMapping((function(e){if(null!==p){if(!(d<e.generatedLine)){u=c[l]||"";const t=u.substr(0,e.generatedColumn-m);return c[l]=u.substr(e.generatedColumn-m),m=e.generatedColumn,h(p,t),void(p=e)}h(p,s()),d++,m=0}for(;d<e.generatedLine;)r.add(s()),d++;m<e.generatedColumn&&(u=c[l]||"",r.add(u.substr(0,e.generatedColumn)),c[l]=u.substr(e.generatedColumn),m=e.generatedColumn),p=e}),this),l<c.length&&(p&&h(p,s()),r.add(c.splice(l).join(""))),t.sources.forEach((function(e){const a=t.sourceContentFor(e);null!=a&&(null!=o&&(e=n.join(o,e)),r.setSourceContent(e,a))})),r;function h(e,t){if(null===e||void 0===e.source)r.add(t);else{const a=o?n.join(o,e.source):e.source;r.add(new i(e.originalLine,e.originalColumn,a,t,e.name))}}}add(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[c]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this}prepend(e){if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[c]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this}walk(e){let t;for(let o=0,r=this.children.length;o<r;o++)t=this.children[o],t[c]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}join(e){let t,o;const r=this.children.length;if(r>0){for(t=[],o=0;o<r-1;o++)t.push(this.children[o]),t.push(e);t.push(this.children[o]),this.children=t}return this}replaceRight(e,t){const o=this.children[this.children.length-1];return o[c]?o.replaceRight(e,t):"string"==typeof o?this.children[this.children.length-1]=o.replace(e,t):this.children.push("".replace(e,t)),this}setSourceContent(e,t){this.sourceContents[n.toSetString(e)]=t}walkSourceContents(e){for(let t=0,o=this.children.length;t<o;t++)this.children[t][c]&&this.children[t].walkSourceContents(e);const t=Object.keys(this.sourceContents);for(let o=0,r=t.length;o<r;o++)e(n.fromSetString(t[o]),this.sourceContents[t[o]])}toString(){let e="";return this.walk((function(t){e+=t})),e}toStringWithSourceMap(e){const t={code:"",line:1,column:0},o=new r(e);let n=!1,a=null,c=null,i=null,l=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(a===r.source&&c===r.line&&i===r.column&&l===r.name||o.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),a=r.source,c=r.line,i=r.column,l=r.name,n=!0):n&&(o.addMapping({generated:{line:t.line,column:t.column}}),a=null,n=!1);for(let c=0,i=e.length;c<i;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===i?(a=null,n=!1):n&&o.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){o.setSourceContent(e,t)})),{code:t.code,map:o}}}t.SourceNode=i},8023:(e,t)=>{t.getArg=function(e,t,o){if(t in e)return e[t];if(3===arguments.length)return o;throw new Error('"'+t+'" is a required argument.')};const o=!("__proto__"in Object.create(null));function r(e){return e}function n(e){if(!e)return!1;const t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(let o=t-10;o>=0;o--)if(36!==e.charCodeAt(o))return!1;return!0}function a(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=o?r:function(e){return n(e)?"$"+e:e},t.fromSetString=o?r:function(e){return n(e)?e.slice(1):e},t.compareByGeneratedPositionsInflated=function(e,t){let o=e.generatedLine-t.generatedLine;return 0!==o?o:(o=e.generatedColumn-t.generatedColumn,0!==o?o:(o=a(e.source,t.source),0!==o?o:(o=e.originalLine-t.originalLine,0!==o?o:(o=e.originalColumn-t.originalColumn,0!==o?o:a(e.name,t.name)))))};const c="http://host";function i(e){return t=>{const o=d(t),r=s(t),n=new URL(t,r);e(n);const a=n.toString();return"absolute"===o?a:"scheme-relative"===o?a.slice(5):"path-absolute"===o?a.slice(c.length):m(r,a)}}function l(e,t){return new URL(e,t).toString()}function s(e){const t=e.split("..").length-1,o=function(e,t){let o=0;for(;;){const e="p"+o++;if(-1===t.indexOf(e))return e}}(0,e);let r=`${c}/`;for(let e=0;e<t;e++)r+=`${o}/`;return r}const u=/^[A-Za-z0-9\+\-\.]+:/;function d(e){return"/"===e[0]?"/"===e[1]?"scheme-relative":"path-absolute":u.test(e)?"absolute":"path-relative"}function m(e,t){"string"==typeof e&&(e=new URL(e)),"string"==typeof t&&(t=new URL(t));const o=t.pathname.split("/"),r=e.pathname.split("/");for(r.length>0&&!r[r.length-1]&&r.pop();o.length>0&&r.length>0&&o[0]===r[0];)o.shift(),r.shift();return r.map((()=>"..")).concat(o).join("/")+t.search+t.hash}const p=i((e=>{e.pathname=e.pathname.replace(/\/?$/,"/")})),h=i((e=>{}));t.normalize=h,t.join=function(e,t){const o=d(t),r=d(e);if(e=p(e),"absolute"===o)return l(t,void 0);if("absolute"===r)return l(t,e);if("scheme-relative"===o)return h(t);if("scheme-relative"===r)return l(t,l(e,c)).slice(5);if("path-absolute"===o)return h(t);if("path-absolute"===r)return l(t,l(e,c)).slice(c.length);const n=s(t+e);return m(n,l(t,l(e,n)))},t.relative=function(e,t){const o=function(e,t){if(d(e)!==d(t))return null;const o=s(e+t),r=new URL(e,o),n=new URL(t,o);try{new URL("",n.toString())}catch(e){return null}return n.protocol!==r.protocol||n.user!==r.user||n.password!==r.password||n.hostname!==r.hostname||n.port!==r.port?null:m(r,n)}(e,t);return"string"==typeof o?o:h(t)}},10782:(e,t,o)=>{t.SourceMapGenerator=o(41393).SourceMapGenerator,t.SourceNode=o(5440).SourceNode},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},67221:e=>{"use strict";e.exports=window.wc.data},10431:e=>{"use strict";e.exports=window.wc.navigation},14599:e=>{"use strict";e.exports=window.wc.tracks},74617:e=>{"use strict";e.exports=window.wc.wcSettings},52175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},37798:e=>{"use strict";e.exports=window.wp.coreData},9818:e=>{"use strict";e.exports=window.wp.data},69771:e=>{"use strict";e.exports=window.wp.date},37180:e=>{"use strict";e.exports=window.wp.deprecated},12238:e=>{"use strict";e.exports=window.wp.editor},69307:e=>{"use strict";e.exports=window.wp.element},22629:e=>{"use strict";e.exports=window.wp.htmlEntities},65736:e=>{"use strict";e.exports=window.wp.i18n},24705:e=>{"use strict";e.exports=window.wp.keyboardShortcuts},39630:e=>{"use strict";e.exports=window.wp.keycodes},98817:e=>{"use strict";e.exports=window.wp.plugins},55815:e=>{"use strict";e.exports=window.wp.preferences},70444:e=>{"use strict";e.exports=window.wp.primitives},74776:e=>{"use strict";e.exports=window.wp.privateApis},86802:e=>{"use strict";e.exports=window.wp.router},96483:e=>{"use strict";e.exports=window.wp.url},12560:e=>{"use strict";e.exports=window.wp.warning}},__webpack_module_cache__={},leafPrototypes,getProto,inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);__webpack_require__.r(o);var r={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var n=2&t&&e;"object"==typeof n&&!~leafPrototypes.indexOf(n);n=getProto(n))Object.getOwnPropertyNames(n).forEach((t=>r[t]=()=>e[t]));return r.default=()=>e,__webpack_require__.d(o,r),o},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,o)=>(__webpack_require__.f[o](e,t),t)),[])),__webpack_require__.u=e=>"chunks/"+e+".js?ver="+{4098:"9da0ba9b5024419bd5ff",5546:"617f1fc42848cb8f11f4",5691:"5a71b99006d92956abde",6479:"72e7e4f64fc1a6193066"}[e],__webpack_require__.miniCssF=e=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="__wcAdmin_webpackJsonp:",__webpack_require__.l=(e,t,o,r)=>{if(inProgress[e])inProgress[e].push(t);else{var n,a;if(void 0!==o)for(var c=document.getElementsByTagName("script"),i=0;i<c.length;i++){var l=c[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+o){n=l;break}}n||(a=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",dataWebpackPrefix+o),n.src=e),inProgress[e]=[t];var s=(t,o)=>{n.onerror=n.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach((e=>e(o))),t)return t(o)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=s.bind(null,n.onerror),n.onload=s.bind(null,n.onload),a&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&!e;)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e+"../"})(),(()=>{var e={9388:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise(((o,n)=>r=e[t]=[o,n]));o.push(r[2]=n);var a=__webpack_require__.p+__webpack_require__.u(t),c=new Error;__webpack_require__.l(a,(o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[a,c,i]=o,l=0;if(a.some((t=>0!==e[t]))){for(r in c)__webpack_require__.o(c,r)&&(__webpack_require__.m[r]=c[r]);i&&i(__webpack_require__)}for(t&&t(o);l<a.length;l++)n=a[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var __webpack_exports__={};(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AUTO_DRAFT_NAME:()=>L.Ie,AddNewShippingClassModal:()=>Pn,DETAILS_SECTION_ID:()=>S.o0,PRODUCT_STATUS_LABELS:()=>dh,PostTypeContext:()=>Ne,RemoveConfirmationModal:()=>oc,TAB_GENERAL_ID:()=>S.zi,TIMEZONELESS_FORMAT:()=>wh.u1,TRACKS_SOURCE:()=>S.RG,__experimentalAddProductsModal:()=>Ed,__experimentalAttributeControl:()=>rc,__experimentalAttributes:()=>Kp,__experimentalBlockFill:()=>it,__experimentalBlockIcon:()=>Gp,__experimentalBlockSlot:()=>on,__experimentalButtonWithDropdownMenu:()=>rh.c,__experimentalCheckboxControl:()=>Zt,__experimentalClearSelectedBlockOnBlur:()=>Kn,__experimentalComboboxControl:()=>xt,__experimentalCustomFields:()=>Vt,__experimentalDetailsDescriptionField:()=>G,__experimentalDetailsFeatureField:()=>z,__experimentalDetailsNameField:()=>H,__experimentalDetailsSummaryField:()=>O,__experimentalEditor:()=>Ke,__experimentalEditorLoadingContext:()=>ie,__experimentalFormattedPrice:()=>hp,__experimentalInitBlocks:()=>Op,__experimentalLabel:()=>wt,__experimentalManageDownloadLimitsModal:()=>Io,__experimentalModalBlockEditorPluginMoreMenuItem:()=>lh,__experimentalModalBlockEditorPluginSidebar:()=>ah.Q,__experimentalNotice:()=>Fa,__experimentalNumberControl:()=>To,__experimentalPluginHeaderItemModal:()=>Y,__experimentalPluginHeaderItemPopover:()=>X,__experimentalProductFieldSection:()=>w,__experimentalProductImage:()=>vp,__experimentalProductList:()=>wp,__experimentalProductMVPCESFooter:()=>Up,__experimentalProductMVPFeedbackModal:()=>Yp,__experimentalProductMVPFeedbackModalContainer:()=>Xp,__experimentalProductSectionLayout:()=>_,__experimentalProductSelect:()=>Ep,__experimentalSchedulePublishModal:()=>nh.m,__experimentalSectionActions:()=>st,__experimentalShippingDimensionsImage:()=>Hn,__experimentalTextControl:()=>gt,__experimentalUseCurrencyInputProps:()=>Sr,__experimentalUseCustomFields:()=>dt,__experimentalUseFeedbackBar:()=>we.U,__experimentalUseMetaboxHiddenProduct:()=>Rt,__experimentalUseProductEdits:()=>Ve,__experimentalUseProductEntityProp:()=>Gt,__experimentalUseProductHelper:()=>R,__experimentalUseProductManager:()=>Nh.j,__experimentalUseProductMetadata:()=>Mh,__experimentalUseProductScheduled:()=>Ue.Q,__experimentalUseProductTemplate:()=>Me,__experimentalUseVariationSwitcher:()=>th,__experimentalUseVariationsOrder:()=>Vh,__experimentalVariationQuickUpdateMenuItem:()=>Yd,__experimentalVariationSwitcherFooter:()=>oh,__experimentalWooProductFieldItem:()=>C,__experimentalWooProductMoreMenuItem:()=>$,__experimentalWooProductSectionItem:()=>x,__experimentalWooProductTabItem:()=>y,createOrderedChildren:()=>f,deferSelectInFocus:()=>Mo,formatCurrencyDisplayValue:()=>kr,formatScheduleDatetime:()=>wh.xI,getCheckboxTracks:()=>I,getCurrencySymbolProps:()=>sh,getDerivedProductType:()=>T,getEmptyStateSequentialNames:()=>Bt,getFormattedDateTime:()=>wh.e1,getFullScheduleLabel:()=>wh.X2,getHeaderTitle:()=>le,getPermalinkParts:()=>D,getProductStatus:()=>mh,getProductStockStatus:()=>kd,getProductStockStatusClass:()=>Ad,getProductTitle:()=>ph,getProductVariationTitle:()=>hh,getSiteDatetime:()=>gh.L,getSiteSettingsTimezoneAbbreviation:()=>fh.s,getTruncatedProductVariationTitle:()=>_h,handleConfirm:()=>vh,handlePrompt:()=>Zd,hasAttributesUsedForVariations:()=>Zm,initBlock:()=>Ch,initializeProductsDashboard:()=>Lh,isSameDay:()=>Eh.K,isSiteSettingsTime12HourFormatted:()=>qe.$,isSiteSettingsTimezoneSameAsDateTimezone:()=>bh.Z,isValidEmail:()=>$p,preventLeavingProductForm:()=>Pe,productApiFetchMiddleware:()=>kh,productEditorHeaderApiFetchMiddleware:()=>Ah,registerProductEditorBlockType:()=>m,sift:()=>nc,sortFillsByOrder:()=>E,store:()=>r.h,truncate:()=>Gd,useEvaluationContext:()=>d,useValidation:()=>lr,useValidations:()=>de.M});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{Icon:()=>oe.Z,addCard:()=>vc,addSubmenu:()=>wc,addTemplate:()=>gc,alignCenter:()=>Wn,alignJustify:()=>Yn,alignLeft:()=>qn,alignNone:()=>fc,alignRight:()=>Jn,archive:()=>Ec,arrowDown:()=>bc.Z,arrowLeft:()=>Cc.Z,arrowRight:()=>xc.Z,arrowUp:()=>yc.Z,aspectRatio:()=>Ac,atSymbol:()=>kc,audio:()=>Sc,backup:()=>Pc,blockDefault:()=>Bc,blockMeta:()=>Vc,blockTable:()=>Mc.Z,border:()=>Nc,box:()=>ne,brush:()=>Tc,bug:()=>Lc,button:()=>Fc,buttons:()=>Rc,calendar:()=>Dc,cancelCircleFilled:()=>Hc,caption:()=>Ic,capturePhoto:()=>zc,captureVideo:()=>jc,category:()=>Oc.Z,chartBar:()=>Gc,check:()=>ve.Z,chevronDown:()=>bo.Z,chevronDownSmall:()=>Zc,chevronLeft:()=>te.Z,chevronLeftSmall:()=>$c.Z,chevronRight:()=>Uc.Z,chevronRightSmall:()=>qc.Z,chevronUp:()=>Eo,chevronUpDown:()=>Wc,classic:()=>Jc,close:()=>Yc,closeSmall:()=>ze.Z,cloud:()=>Kc,cloudUpload:()=>Xc,code:()=>Qc,cog:()=>ei.Z,color:()=>ti,column:()=>oi,columns:()=>ri,comment:()=>ci,commentAuthorAvatar:()=>ii,commentAuthorName:()=>li,commentContent:()=>si,commentEditLink:()=>di,commentReplyLink:()=>ui,connection:()=>mi,copy:()=>ni,copySmall:()=>ai,cover:()=>pi,create:()=>hi,crop:()=>_i,currencyDollar:()=>vi,currencyEuro:()=>wi,currencyPound:()=>gi,customLink:()=>Co,customPostType:()=>fi,desktop:()=>Ei,details:()=>bi,download:()=>Ai,drafts:()=>Ci.Z,dragHandle:()=>xi,drawerLeft:()=>yi,drawerRight:()=>ki.Z,edit:()=>Si.Z,external:()=>Pi.Z,file:()=>Bi,filter:()=>Vi,flipHorizontal:()=>Mi,flipVertical:()=>Ni,footer:()=>Ru,formatBold:()=>Ti,formatCapitalize:()=>Li,formatIndent:()=>Fi,formatIndentRTL:()=>Ri,formatItalic:()=>Di,formatListBullets:()=>Hi.Z,formatListBulletsRTL:()=>Ii.Z,formatListNumbered:()=>zi,formatListNumberedRTL:()=>ji,formatLowercase:()=>Oi,formatLtr:()=>$n,formatOutdent:()=>Gi,formatOutdentRTL:()=>Zi,formatRtl:()=>$i,formatStrikethrough:()=>Ui,formatUnderline:()=>qi,formatUppercase:()=>Wi,fullscreen:()=>Ji,funnel:()=>Yi.Z,gallery:()=>Xi,globe:()=>Ki,grid:()=>Qi,group:()=>re,handle:()=>el,header:()=>Du,heading:()=>il,headingLevel1:()=>tl,headingLevel2:()=>ol,headingLevel3:()=>rl,headingLevel4:()=>nl,headingLevel5:()=>al,headingLevel6:()=>cl,help:()=>mt,helpFilled:()=>ll,home:()=>dl,homeButton:()=>ml,html:()=>pl,image:()=>hl,inbox:()=>sl,info:()=>_l,insertAfter:()=>vl,insertBefore:()=>wl,institution:()=>ul,justifyCenter:()=>fl,justifyLeft:()=>gl,justifyRight:()=>El,justifySpaceBetween:()=>bl,justifyStretch:()=>Cl,key:()=>xl,keyboard:()=>yl,keyboardClose:()=>kl,keyboardReturn:()=>xo,language:()=>Al,layout:()=>Sl,levelUp:()=>Pl,lifesaver:()=>Bl,lineDashed:()=>Vl,lineDotted:()=>Ml,lineSolid:()=>Nl,link:()=>Tl,linkOff:()=>Ll,list:()=>Fl,listItem:()=>Rl,listView:()=>Dl.Z,lock:()=>Hl,lockOutline:()=>Il,lockSmall:()=>zl,login:()=>jl,loop:()=>Ol,mapMarker:()=>Gl,media:()=>Zl,mediaAndText:()=>$l,megaphone:()=>Ul,menu:()=>ql,mobile:()=>Wl,more:()=>Jl,moreHorizontal:()=>Yl,moreHorizontalMobile:()=>Xl,moreVertical:()=>Kl.Z,moveTo:()=>Ql,navigation:()=>es,next:()=>Ns.Z,notAllowed:()=>ts.Z,notFound:()=>os,offline:()=>Ts,overlayText:()=>rs,page:()=>as,pageBreak:()=>ns,pages:()=>cs.Z,paragraph:()=>is,payment:()=>ls,pencil:()=>hs.Z,pending:()=>ss,people:()=>_s,percent:()=>us,pin:()=>vs,pinSmall:()=>ws,plugins:()=>W,plus:()=>Bo.Z,plusCircle:()=>fs,plusCircleFilled:()=>gs,positionCenter:()=>ds,positionLeft:()=>ms,positionRight:()=>ps,post:()=>Es,postAuthor:()=>bs,postCategories:()=>Cs,postComments:()=>xs,postCommentsCount:()=>ys,postCommentsForm:()=>ks,postContent:()=>ao,postDate:()=>As,postExcerpt:()=>Ss,postFeaturedImage:()=>Ps,postList:()=>Bs,postTerms:()=>Vs,preformatted:()=>Ls,previous:()=>Ms.Z,published:()=>Fs.Z,pullLeft:()=>Rs,pullRight:()=>Ds,pullquote:()=>Hs,queryPagination:()=>Is,queryPaginationNext:()=>zs,queryPaginationNumbers:()=>js,queryPaginationPrevious:()=>Os,quote:()=>Gs,receipt:()=>Zs,redo:()=>$s.Z,removeBug:()=>Us,removeSubmenu:()=>qs,replace:()=>Ws,reset:()=>Vo,resizeCornerNE:()=>Js,reusableBlock:()=>Ys,rotateLeft:()=>Qs,rotateRight:()=>eu,row:()=>Xs,rss:()=>tu,scheduled:()=>au.Z,search:()=>ou.Z,seen:()=>ru.Z,send:()=>cu,separator:()=>iu,settings:()=>lu,shadow:()=>su,share:()=>uu,shield:()=>du,shipping:()=>Eu,shortcode:()=>mu,shuffle:()=>pu,sidebar:()=>Hu,sidesAll:()=>Iu,sidesAxial:()=>zu,sidesBottom:()=>ju,sidesHorizontal:()=>Ou,sidesLeft:()=>Gu,sidesRight:()=>Zu,sidesTop:()=>$u,sidesVertical:()=>Uu,siteLogo:()=>hu,stack:()=>_u,starEmpty:()=>Er,starFilled:()=>fr,starHalf:()=>vu,store:()=>wu,stretchFullWidth:()=>gu,stretchWide:()=>bu,styles:()=>fu,subscript:()=>Cu,superscript:()=>xu,swatch:()=>yu,symbol:()=>Ks,symbolFilled:()=>Lu,table:()=>Nu,tableColumnAfter:()=>ku,tableColumnBefore:()=>Au,tableColumnDelete:()=>Su,tableOfContents:()=>Pu,tableRowAfter:()=>Bu,tableRowBefore:()=>Vu,tableRowDelete:()=>Mu,tablet:()=>Yu,tag:()=>Tu,termDescription:()=>Fu,textColor:()=>qu,textHorizontal:()=>Wu,textVertical:()=>Ju,tip:()=>Ku,title:()=>Xu,tool:()=>Qu,trash:()=>zo.Z,trendingDown:()=>ed,trendingUp:()=>td,typography:()=>od,undo:()=>rd.Z,ungroup:()=>nd,unlock:()=>ad,unseen:()=>nu.Z,update:()=>cd,upload:()=>Ao,verse:()=>id,video:()=>ld,warning:()=>sd,widget:()=>ud,wordpress:()=>dd.Z});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{gift:()=>pd,hidden:()=>md,seen:()=>ja});var o={};__webpack_require__.r(o),__webpack_require__.d(o,{attributesInit:()=>sc,initCatalogVisibility:()=>nt,initCheckbox:()=>Wt,initCollapsible:()=>Kt,initConditional:()=>no,initCustomFields:()=>Lt,initCustomFieldsToggle:()=>jt,initDescription:()=>go,initDownloads:()=>Xo,initImages:()=>ar,initInventoryQuantity:()=>xa,initLinkedProductList:()=>Pp,initLowStockQty:()=>mr,initName:()=>xr,initNotice:()=>Om,initNoticeHasVariations:()=>Wm,initNumber:()=>dp,initPricing:()=>Mr,initProductDetailsSectionDescription:()=>wd,initProductList:()=>Ld,initRadio:()=>Dr,initRegularPrice:()=>Or,initRequirePassword:()=>hc,initSalePrice:()=>qr,initScheduleSale:()=>en,initSection:()=>ln,initSectionDescription:()=>pn,initSelect:()=>jp,initShippingClass:()=>Rn,initShippingDimensions:()=>Gn,initSku:()=>wr,initSubsection:()=>gn,initSubsectionDescription:()=>xn,initSummary:()=>oa,initTab:()=>sa,initTag:()=>ga,initTaxonomy:()=>tp,initText:()=>cp,initTextArea:()=>Rp,initToggle:()=>Pa,initVariationItems:()=>Mm,initVariationOptions:()=>Dm});var r=__webpack_require__(50528),n=__webpack_require__(69307);const a=window.wp.hooks;var c=__webpack_require__(94333),i=__webpack_require__(9818);const l=__webpack_require__(80154).generate('\n{{\n\tfunction evaluateUnaryExpression( operator, operand ) {\n\t\tswitch ( operator ) {\n\t\t\tcase \'!\':\n\t\t\t\treturn !operand;\n\t\t\t\tbreak;\n\t\t\tcase \'-\':\n\t\t\t\treturn -operand;\n\t\t\t\tbreak;\n\t\t\tcase \'+\':\n\t\t\t\treturn +operand;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\treturn undefined;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tfunction evaluateBinaryExpression( head, tail ) {\n\t\treturn tail.reduce( ( leftOperand, tailElement ) => {\n\t\t\tconst operator = tailElement[ 1 ];\n\t\t\tconst rightOperand = tailElement[ 3 ];\n\n\t\t\tswitch ( operator ) {\n\t\t\t\tcase \'&&\':\n\t\t\t\t\treturn leftOperand && rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'||\':\n\t\t\t\t\treturn leftOperand || rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'===\':\n\t\t\t\t\treturn leftOperand === rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'!==\':\n\t\t\t\t\treturn leftOperand !== rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'==\':\n\t\t\t\t\treturn leftOperand == rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'!=\':\n\t\t\t\t\treturn leftOperand != rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'<=\':\n\t\t\t\t\treturn leftOperand <= rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'<\':\n\t\t\t\t\treturn leftOperand < rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'>=\':\n\t\t\t\t\treturn leftOperand >= rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'>\':\n\t\t\t\t\treturn leftOperand > rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'+\':\n\t\t\t\t\treturn leftOperand + rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'-\':\n\t\t\t\t\treturn leftOperand - rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'*\':\n\t\t\t\t\treturn leftOperand * rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'/\':\n\t\t\t\t\treturn leftOperand / rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \'%\':\n\t\t\t\t\treturn leftOperand % rightOperand;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\treturn undefined;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}, head );\n\t}\n\n\tfunction getPropertyValue( obj, propertyName ) {\n\t\tif ( Object.hasOwn( obj, propertyName ) ) {\n\t\t\treturn obj[ propertyName ];\n\t\t} else if (\n\t\t\tArray.isArray( obj ) &&\n\t\t\tobj.length > 0 &&\n\t\t\tObject.hasOwn( obj[ 0 ], \'key\' ) &&\n\t\t\tObject.hasOwn( obj[ 0 ], \'value\' )\n\t\t) {\n\t\t\t// We likely dealing with an array of objects with key/value pairs (like post meta data)\n\t\t\tconst item = obj.find( ( item ) => item.key === propertyName );\n\t\t\treturn item?.value;\n\t\t}\n\n\t\treturn undefined;\n\t}\n}}\n\nStart\n\t= Expression\n\nSourceCharacter\n\t= .\n\nWhiteSpace\n\t= " "\n\t/ "\\t"\n\nLineTerminator\n\t= "\\n"\n\t/ "\\r"\n\t/ "\\u2028"\n\t/ "\\u2029"\n\nLineTerminatorSequence\n\t= "\\n"\n\t/ "\\r\\n"\n\t/ "\\r"\n\t/ "\\u2028"\n\t/ "\\u2029"\n\nComment "comment"\n\t= MultiLineComment\n\nMultiLineComment\n\t= "/*" (!"*/" SourceCharacter)* "*/"\n\n__ "skipped"\n\t= (WhiteSpace / LineTerminatorSequence / Comment)*\n\nIdentifierPath\n\t= variable:Identifier accessor:(__ "." __ Identifier)* {\n\t\tconst path = variable.split( \'.\' );\n\t\tlet result = path.reduce( getPropertyValue, options.context );\n\n\t\tfor ( let i = 0; i < accessor.length; i++ ) {\n\t\t\tresult = getPropertyValue( result, accessor[ i ][ 3 ] );\n\t\t}\n\n\t\treturn result;\n\t}\n\nIdentifier\n\t= !ReservedWord name:IdentifierName {\n\t\treturn name;\n\t}\n\nIdentifierName\n\t= first:IdentifierStart rest:IdentifierPart* {\n\t\treturn text();\n\t}\n\nIdentifierStart\n\t= [a-zA-Z]\n\t/ "_"\n\t/ "$"\n\nIdentifierPart\n\t= IdentifierStart\n\nReservedWord\n\t= NullLiteral\n\t/ BooleanLiteral\n\n// Literals\n\nLiteral\n\t= NullLiteral\n\t/ BooleanLiteral\n\t/ NumericLiteral\n\t/ StringLiteral\n\nNullLiteral\n\t= NullToken { return null; }\n\nBooleanLiteral\n\t= "true" { return true; }\n\t/ "false" { return false; }\n\nNumericLiteral\n\t= literal:HexIntegerLiteral !(IdentifierStart / DecimalDigit) {\n\t\treturn literal;\n\t}\n\t/ literal:DecimalLiteral !(IdentifierStart / DecimalDigit) {\n\t\treturn literal;\n\t}\n\nHexIntegerLiteral\n\t= "0x"i digits:$HexDigit+ {\n\t\treturn parseInt( digits, 16 );\n\t}\n\nHexDigit\n\t= [0-9a-f]i\n\nDecimalLiteral\n\t= DecimalIntegerLiteral "." DecimalDigit* ExponentPart? {\n\t\treturn parseFloat( text() );\n\t}\n\t/ "." DecimalDigit+ ExponentPart? {\n\t\treturn parseFloat( text() );\n\t}\n\t/ DecimalIntegerLiteral ExponentPart? {\n\t\treturn parseFloat( text() );\n\t}\n\nDecimalIntegerLiteral\n\t= "0"\n\t/ NonZeroDigit DecimalDigit*\n\nDecimalDigit\n\t= [0-9]\n\nNonZeroDigit\n\t= [1-9]\n\nExponentPart\n\t= ExponentIndicator SignedInteger\n\nExponentIndicator\n\t= "e"i\n\nSignedInteger\n\t= [+-]? DecimalDigit+\n\nStringLiteral\n\t= \'"\' chars:DoubleQuotedStringCharacter* \'"\' {\n\t\treturn chars.join( \'\' );\n\t}\n\t/ "\'" chars:SingleQuotedStringCharacter* "\'" {\n\t\treturn chars.join( \'\' );\n\t}\n\nDoubleQuotedStringCharacter\n\t= !(\'"\' / "\\\\" / LineTerminator) SourceCharacter {\n\t\treturn text();\n\t}\n\t/ "\\\\" escapeSequence:EscapeSequence {\n\t\treturn escapeSequence;\n\t}\n\t/ LineContinuation\n\nSingleQuotedStringCharacter\n\t= !("\'" / "\\\\" / LineTerminator) SourceCharacter {\n\t\treturn text();\n\t}\n\t/ "\\\\" escapeSequence:EscapeSequence {\n\t\treturn escapeSequence;\n\t}\n\t/ LineContinuation\n\nLineContinuation\n\t= "\\\\" LineTerminatorSequence {\n\t\treturn \'\';\n\t}\n\nEscapeSequence\n\t= CharacterEscapeSequence\n\t/ "0" !DecimalDigit {\n\t\treturn "\\0";\n\t}\n\t/ HexEscapeSequence\n\t/ UnicodeEscapeSequence\n\nCharacterEscapeSequence\n\t= SingleEscapeCharacter\n\t/ NonEscapeCharacter\n\nSingleEscapeCharacter\n\t= "\'"\n\t/ \'"\'\n\t/ "\\\\"\n\t/ "b" {\n\t\treturn "\\b";\n\t}\n\t/ "f" {\n\t\treturn "\\f";\n\t}\n\t/ "n" {\n\t\treturn "\\n";\n\t}\n\t/ "r" {\n\t\treturn "\\r";\n\t}\n\t/ "t" {\n\t\treturn "\\t";\n\t}\n\t/ "v" {\n\t\treturn "\\v";\n\t}\n\nNonEscapeCharacter\n\t= (!EscapeCharacter / LineTerminator) SourceCharacter {\n\t\treturn text();\n\t}\n\nEscapeCharacter\n\t= SingleEscapeCharacter\n\t/ DecimalDigit\n\t/ "x"\n\t/ "u"\n\nHexEscapeSequence\n\t= "x" digits:$(HexDigit HexDigit) {\n\t\treturn String.fromCharCode( parseInt( digits, 16 ) );\n\t}\n\nUnicodeEscapeSequence\n\t= "u" digits:$(HexDigit HexDigit HexDigit HexDigit) {\n\t\treturn String.fromCharCode( parseInt( digits, 16 ) );\n\t}\n\n// Tokens\n\nNullToken\n\t= "null" !IdentifierPart\n\nTrueToken\n\t= "true" !IdentifierPart\n\nFalseToken\n\t= "false" !IdentifierPart\n\n// Expressions\n\nPrimaryExpression\n\t= IdentifierPath\n\t/ Literal\n\t/ "(" __ expression:Expression __ ")" {\n\t\treturn expression;\n\t}\n\nUnaryExpression\n\t= PrimaryExpression\n\t/ operator:UnaryOperator __ operand:UnaryExpression {\n\t\treturn evaluateUnaryExpression( operator, operand );\n\t}\n\nUnaryOperator\n\t= "!"\n\t/ "-"\n\t/ "+"\n\nMultiplicativeExpression\n\t= head:UnaryExpression tail:(__ MultiplicativeOperator __ UnaryExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nMultiplicativeOperator\n\t= "*"\n\t/ "/"\n\t/ "%"\n\nAdditiveExpression\n\t= head:MultiplicativeExpression tail:(__ AdditiveOperator __ MultiplicativeExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nAdditiveOperator\n\t= "+"\n\t/ "-"\n\nRelationalExpression\n\t= head:AdditiveExpression tail:(__ RelationalOperator __ AdditiveExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nRelationalOperator\n\t= "<="\n\t/ "<"\n\t/ ">="\n\t/ ">"\n\nEqualityExpression\n\t= head:RelationalExpression tail:(__ EqualityOperator __ RelationalExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nEqualityOperator\n\t= "==="\n\t/ "!=="\n\t/ "=="\n\t/ "!="\n\nLogicalAndExpression\n\t= head:EqualityExpression tail:(__ LogicalAndOperator __ EqualityExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nLogicalAndOperator\n\t= "&&"\n\nLogicalOrExpression\n\t= head:LogicalAndExpression tail:(__ LogicalOrOperator __ LogicalAndExpression)* {\n\t\treturn evaluateBinaryExpression( head, tail );\n\t}\n\nLogicalOrOperator\n\t= "||"\n\nConditionalExpression\n\t= condition:LogicalOrExpression __ ConditionalTrueOperator __ expressionIfTrue:ConditionalExpression __ ConditionalFalseOperator __ expressionIfFalse:ConditionalExpression {\n\t\treturn condition ? expressionIfTrue : expressionIfFalse;\n\t}\n\t/ LogicalOrExpression\n\nConditionalTrueOperator\n\t= "?"\n\nConditionalFalseOperator\n\t= ":"\n\nExpression\n\t= __ expression:ConditionalExpression __ {\n\t\treturn expression;\n\t}\n'),s=window.wc.blockTemplates;var u=__webpack_require__(37798);function d(e){const{postType:t}=e,o=(0,u.useEntityId)("postType",t);return{getEvaluationContext:r=>{const n=r("core").getEditedEntityRecord("postType",t,o);return{...e,editedProduct:n}}}}function m(e){const{metadata:t,settings:o,name:r}=e,n={...t,usesContext:(a=t.usesContext,[...a||[],"postType"])};var a;return(0,s.registerWooBlockType)({name:r,metadata:n,settings:o},d)}const p=(0,c.createHigherOrderComponent)((e=>t=>{const{hasInnerBlocks:o,allBlocksInvisible:r}=(0,i.useSelect)((e=>{var o,r,n;if("product-inventory-advanced"!==(null===(o=null==t?void 0:t.attributes)||void 0===o?void 0:o._templateBlockId))return{hasInnerBlocks:!0,allBlocksInvisible:!1};const a=d(t.context),c=e("core/block-editor").getBlock(null==t?void 0:t.clientId);let i=!1;if(null===(r=null==c?void 0:c.innerBlocks)||void 0===r?void 0:r.length){const t=null==c?void 0:c.innerBlocks[0];s=null==t?void 0:t.innerBlocks,u=a.getEvaluationContext(e),i=s.every((e=>{var t,o;return!(!(null===(t=e.attributes)||void 0===t?void 0:t._templateBlockHideConditions)||!Array.isArray(null===(o=e.attributes)||void 0===o?void 0:o._templateBlockHideConditions))&&e.attributes._templateBlockHideConditions.some((e=>function(e,t={}){return l.parse(e,{context:t})}(e.expression,u)))}))}var s,u;return{hasInnerBlocks:!!(null===(n=null==c?void 0:c.innerBlocks)||void 0===n?void 0:n.length),allBlocksInvisible:i}}));return o&&r?null:(0,n.createElement)(e,{...t})}),"maybeHideInventoryAdvancedCollapsible"),h=window.wc.components,_=({title:e,description:t,className:o,children:r})=>(0,n.createElement)(h.FormSection,{title:e,description:t,className:o},n.Children.map(r,(e=>(0,n.isValidElement)(e)&&e.props.onChange?(0,n.createElement)("div",{className:"product-field-layout"},e):e)));var v=__webpack_require__(55609);const w=({id:e,title:t,description:o,className:r,children:a})=>(0,n.createElement)(_,{title:t,description:o,className:r},(0,n.createElement)(v.Card,null,(0,n.createElement)(v.CardBody,null,a,(0,n.createElement)(h.__experimentalWooProductFieldItem.Slot,{section:e}))));var g=__webpack_require__(99196);function f(e,t,o,r){const{children:a,props:c}=function(e,t,o,r){if("function"==typeof e)return{children:e({...o,order:t,...r}),props:{order:t,...r}};if((0,g.isValidElement)(e))return"function"==typeof(null==e?void 0:e.type)?{children:e,props:{...o,order:t,...r}}:{children:e,props:{order:t,...r}};throw Error("Invalid children type")}(e,t,o,r);return(0,n.cloneElement)(a,c)}const E=e=>{const t=[...e].sort(((e,t)=>e[0].props.order-t[0].props.order));return(0,n.createElement)(g.Fragment,null,t)},b=({fieldName:e,sectionName:t,order:o,children:r})=>{const{registerFill:a,getFillHelpers:c}=(0,h.useSlotContext)(),i=`product_field/${t}/${e}`;return(0,n.useEffect)((()=>{a(i)}),[]),(0,n.createElement)(v.Fill,{name:`woocommerce_product_field_${t}`,key:i},(e=>f(r,o,{sectionName:t,...e,...c()},{_id:i})))},C=({children:e,sections:t,id:o})=>(0,n.createElement)(n.Fragment,null,t.map((({name:t,order:r=20})=>(0,n.createElement)(b,{fieldName:o,sectionName:t,order:r,key:t},e))));C.Slot=({fillProps:e,section:t})=>{const{filterRegisteredFills:o}=(0,h.useSlotContext)();return(0,n.createElement)(v.Slot,{name:`woocommerce_product_field_${t}`,fillProps:e},(e=>{var t;return E?n.Children.map(null===(t=E(o(e)))||void 0===t?void 0:t.props.children,(e=>(0,n.createElement)("div",{className:"woocommerce-product-form__field"},e))):null}))};const x=({children:e,tabs:t})=>(0,n.createElement)(n.Fragment,null,t.map((({name:t,order:o})=>(0,n.createElement)(v.Fill,{name:`woocommerce_product_section_${t}`,key:t},(r=>f(e,o||20,{tabName:t,...r}))))));x.Slot=({fillProps:e,tab:t})=>(0,n.createElement)(v.Slot,{name:`woocommerce_product_section_${t}`,fillProps:e},(e=>E?E(e):null));const y=({children:e,tabProps:t,templates:o})=>o?(0,n.createElement)(n.Fragment,null,o.map((o=>(0,n.createElement)(v.Fill,{name:`woocommerce_product_tab_${o.name}`,key:o.name},(r=>f(e,o.order||20,{},{tabProps:t,templateName:o.name,order:o.order||20,...r})))))):(console.warn("WooProductTabItem fill is missing templates property."),null);y.Slot=({fillProps:e,template:t,children:o})=>(0,n.createElement)(v.Slot,{name:`woocommerce_product_tab_${t}`,fillProps:e},(t=>{const r=t.reduce((({childrenMap:t,tabs:o},r)=>{var n;const a=r[0].props;if(a&&a.tabProps){t[a.tabProps.name]=r[0];const c="function"==typeof a.tabProps?a.tabProps(e):a.tabProps;o.push({...c,order:null!==(n=a.order)&&void 0!==n?n:20})}return{childrenMap:t,tabs:o}}),{childrenMap:{},tabs:[]}),n=r.tabs.sort(((e,t)=>e.order-t.order));return o(n,r.childrenMap)}));var k=__webpack_require__(65736),A=__webpack_require__(96483),S=__webpack_require__(75286),P=__webpack_require__(14599);const B=({product:e,permalinkPrefix:t,permalinkSuffix:o,onCancel:r,onSaved:a,saveHandler:c})=>{const{createNotice:l}=(0,i.useDispatch)("core/notices"),[s,u]=(0,n.useState)(!1),[d,m]=(0,n.useState)(e.slug||(0,A.cleanForSlug)(e.name)),p=t+(0,A.cleanForSlug)(d)+o;return(0,n.createElement)(v.Modal,{title:(0,k.__)("Edit product link","woocommerce"),onRequestClose:()=>r(),className:"woocommerce-product-link-edit-modal"},(0,n.createElement)("div",{className:"woocommerce-product-link-edit-modal__wrapper"},(0,n.createElement)("p",{className:"woocommerce-product-link-edit-modal__description"},(0,k.__)("Create a unique link for this product. Use simple, descriptive words and numbers. We'll replace spaces with hyphens (-).","woocommerce")),(0,n.createElement)(v.TextControl,{label:(0,k.__)("Product link","woocommerce"),name:"slug",value:d,onChange:m,hideLabelFromVision:!0,help:(0,n.createInterpolateElement)((0,k.__)("Preview: <link />","woocommerce"),{link:(0,n.createElement)("strong",null,p)})}),(0,n.createElement)("div",{className:"woocommerce-product-link-edit-modal__buttons"},(0,n.createElement)(v.Button,{isSecondary:!0,onClick:()=>r()},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{isPrimary:!0,isBusy:s,disabled:s||d===e.slug,onClick:async()=>{u(!0),await(async()=>{var t;(0,P.recordEvent)("product_update_slug",{source:S.RG,product_id:e.id,product_type:e.type});const{slug:o,permalink:r}=null!==(t=await c(d))&&void 0!==t?t:{};o?l(o===(0,A.cleanForSlug)(d)?"success":"info",o===(0,A.cleanForSlug)(d)?(0,k.__)("Product link successfully updated.","woocommerce"):(0,k.__)("Product link already existed, updated to ","woocommerce")+r):l("error",(0,k.__)("Failed to update product link.","woocommerce")),a()})(),u(!1)}},(0,k.__)("Save","woocommerce")))))},V=window.wc.number;var M=__webpack_require__(67221);const N=window.wc.currency,T=e=>{var t;return(null===(t=e.attributes)||void 0===t?void 0:t.find((e=>e.options.length&&e.variation)))?"variable":"simple"};var L=__webpack_require__(5617);function F(e,t){return"publish"===e&&t?[{label:(0,k.__)("View in store","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_preview_changes",{source:S.RG}),window.open(t,"_blank")}}]:[]}function R(){const{createProduct:e,updateProduct:t,deleteProduct:o}=(0,i.useDispatch)(M.PRODUCTS_STORE_NAME),{batchUpdateProductVariations:r,invalidateResolutionForStoreSelector:a}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),{createNotice:c}=(0,i.useDispatch)("core/notices"),[l,s]=(0,n.useState)(!1),[u,d]=(0,n.useState)({draft:!1,publish:!1}),m=(0,n.useContext)(N.CurrencyContext),p=(0,n.useCallback)((async(t,o,r=!1)=>(d({...u,[o]:!0}),e({...t,status:o,type:T(t)}).then((e=>{if(!r){const t="publish"===e.status?(0,k.__)("Product published.","woocommerce"):(0,k.__)("Product successfully created.","woocommerce");c("success",`🎉 ${t}`,{actions:F(e.status,e.permalink)})}return d({...u,[o]:!1}),e}),(e=>(r||c("error","publish"===o?(0,k.__)("Failed to publish product.","woocommerce"):(0,k.__)("Failed to create product.","woocommerce")),d({...u,[o]:!1}),e))))),[u]),h=(0,n.useCallback)((async(e,o,n,i=!1)=>(d({...u,[n]:!0}),t(e,{...o,status:n,type:T(o)}).then((async e=>async function(e,t){if(t)return r({product_id:e},{update:Object.values(t).flatMap(Object.entries).map((([e,t])=>({id:e,menu_order:t})))})}(e.id,o.variationsOrder).then((()=>a("getProductVariations"))).then((()=>e)))).then((e=>{if(!i){const t="draft"===o.status&&"publish"===e.status?(0,k.__)("Product published.","woocommerce"):(0,k.__)("Product successfully updated.","woocommerce");c("success",`🎉 ${t}`,{actions:F(e.status,e.permalink)})}return d({...u,[n]:!1}),e}),(e=>(i||c("error",(0,k.__)("Failed to update product.","woocommerce")),d({...u,[n]:!1}),e))))),[u]),_=(0,n.useCallback)((async(e,t="draft")=>p(function(e){return M.productReadOnlyProperties.forEach((t=>delete e[t])),e}({...e,name:(e.name||L.Ie)+" - Copy"}),t)),[]),v=(0,n.useCallback)((async e=>(s(!0),o(e).then((e=>{const t=(0,k.__)("Successfully moved product to Trash.","woocommerce");return c("success",`🎉 ${t}`),s(!1),e}),(e=>(c("error",(0,k.__)("Failed to move product to Trash.","woocommerce")),s(!1),e))))),[]),w=(0,n.useCallback)((e=>{if(!e.length)return"";const{getCurrencyConfig:t}=m,{decimalSeparator:o}=t(),r=new RegExp(S.ec.replace("%s",o),"g"),n=new RegExp(S.UM.replaceAll("%s",o),"g");return e.replace(r,"").replace(n,"").replace(o,".")}),[m]),g=(0,n.useCallback)((e=>{const{getCurrencyConfig:t}=m,{decimalSeparator:o,thousandSeparator:r}=t();return V.numberFormat({decimalSeparator:o,thousandSeparator:r},e)}),[m]),f=(0,n.useCallback)((e=>{const{getCurrencyConfig:t}=m,{decimalSeparator:o,thousandSeparator:r}=t();return V.parseNumber({decimalSeparator:o,thousandSeparator:r},e)}),[m]);return{createProductWithStatus:p,updateProductWithStatus:h,copyProductWithStatus:_,deleteProductAndRedirect:v,sanitizePrice:w,formatNumber:g,parseNumber:f,isUpdatingDraft:u.draft,isUpdatingPublished:u.publish,isDeleting:l}}const D=e=>{let t,o,r;return e&&e.permalink_template&&(t=e.slug||e.generated_slug,[o,r]=e.permalink_template.split(/%(?:postname|pagename)%/)),{prefix:o,postName:t,suffix:r}},H=({})=>{const{updateProductWithStatus:e}=R(),[t,o]=(0,n.useState)(!1),{getInputProps:r,values:a,touched:c,errors:i,setValue:l,resetForm:s}=(0,h.useFormContext)(),{prefix:u,suffix:d}=D(a);return(0,n.createElement)("div",null,(0,n.createElement)(v.TextControl,{label:(0,n.createInterpolateElement)((0,k.__)("Name <required />","woocommerce"),{required:(0,n.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,k.__)("(required)","woocommerce"))}),name:`${S.ii}-name`,placeholder:(0,k.__)("e.g. 12 oz Coffee Mug","woocommerce"),...r("name",{onBlur:()=>{var e;!a.sku&&(null===(e=a.name)||void 0===e?void 0:e.length)&&l("sku",(0,A.cleanForSlug)(a.name))}})}),a.id&&!(Boolean(c.name)&&Boolean(i.name))&&u&&(0,n.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,k.__)("Product link","woocommerce"),": ",(0,n.createElement)("a",{href:a.permalink,target:"_blank",rel:"noreferrer"},u,a.slug||(0,A.cleanForSlug)(a.name),d),(0,n.createElement)(v.Button,{variant:"link",onClick:()=>o(!0)},(0,k.__)("Edit","woocommerce"))),t&&(0,n.createElement)(B,{permalinkPrefix:u||"",permalinkSuffix:d||"",product:a,onCancel:()=>o(!1),onSaved:()=>o(!1),saveHandler:async t=>{const o=await e(a.id,{slug:t},a.status,!0);if(o&&o.id)return s({...a,slug:o.slug,permalink:o.permalink},c,i),{slug:o.slug,permalink:o.permalink}}}))};function I(e){return{onChange:t=>{(0,P.recordEvent)(`product_checkbox_${e}`,{checked:t})}}}const z=()=>{const{getCheckboxControlProps:e}=(0,h.useFormContext)();return(0,n.createElement)(v.CheckboxControl,{label:(0,n.createElement)(n.Fragment,null,(0,k.__)("Feature this product","woocommerce"),(0,n.createElement)(h.__experimentalTooltip,{text:(0,n.createInterpolateElement)((0,k.__)("Include this product in a featured section on your website with a widget or shortcode. <moreLink />","woocommerce"),{moreLink:(0,n.createElement)(h.Link,{href:"https://woocommerce.com/document/woocommerce-shortcodes/#products",target:"_blank",type:"external",onClick:()=>(0,P.recordEvent)("add_product_learn_more",{category:S.ii})},(0,k.__)("Learn more","woocommerce"))})})),...e("featured",I("featured"))})};var j=__webpack_require__(4981);const O=()=>{const{setValue:e,values:t}=(0,h.useFormContext)(),[o,r]=(0,n.useState)((0,j.parse)(t.short_description||""));return(0,n.createElement)(h.__experimentalRichTextEditor,{label:(0,k.__)("Summary","woocommerce"),blocks:o,onChange:t=>{r(t),o.length&&e("short_description",(0,j.serialize)(t))},placeholder:(0,k.__)("Summarize this product in 1-2 short sentences. We'll show it at the top of the page.","woocommerce")})},G=()=>{const{setValue:e,values:t}=(0,h.useFormContext)(),[o,r]=(0,n.useState)((0,j.parse)(t.description||""));return(0,n.createElement)(h.__experimentalRichTextEditor,{label:(0,k.__)("Description","woocommerce"),blocks:o,onChange:t=>{r(t),o.length&&e("description",(0,j.serialize)(t))},placeholder:(0,k.__)("Describe this product. What makes it unique? What are its most important features?","woocommerce")})},Z="WooProductMenuMenuItem",$=({children:e,order:t=1})=>(0,n.createElement)(v.Fill,{name:Z},(o=>(0,h.createOrderedChildren)(e,t,o)));$.Slot=({fillProps:e})=>(0,n.createElement)(v.Slot,{name:Z,fillProps:e},h.sortFillsByOrder);var U=__webpack_require__(70444),q=__webpack_require__(61250);const W=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.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"})});var J=__webpack_require__(76664);const Y=({children:e,label:t,icon:o,title:r})=>{const[a,c]=(0,n.useState)(!1),i="function"==typeof e?e({isOpen:a,setOpen:c}):e;return(0,n.createElement)(J.Ox,{scope:S.D9},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Button,{variant:"tertiary",icon:null!=o?o:W,label:t,onClick:()=>c(!a)}),a&&(0,n.createElement)(v.Modal,{title:r,onRequestClose:()=>c(!1)},i)))},X=({children:e,label:t,icon:o})=>{const[r,a]=(0,n.useState)(!1),c="function"==typeof e?e({isVisible:r,setVisible:a}):e;return(0,n.createElement)(J.Ox,{scope:S.D9},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Button,{variant:"tertiary",icon:null!=o?o:W,label:t,onClick:()=>a(!r)}),r&&(0,n.createElement)(v.Popover,{onFocusOutside:()=>a(!1),onClose:()=>a(!1),focusOnMount:"container"},c)))},K=window.wc.adminLayout;var Q=__webpack_require__(10431),ee=__webpack_require__(24705),te=__webpack_require__(74059),oe=__webpack_require__(8213);const re=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})}),ne=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})});var ae=__webpack_require__(87608),ce=__webpack_require__.n(ae);const ie=(0,n.createContext)(!1),le=(e,t)=>{const o=Boolean(e),r=e!==t,n=t===L.Ie;return o&&r?e:n?(0,k.__)("Add new product","woocommerce"):t},se=()=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(J.Eo,{toggleProps:{onClick:()=>(0,P.recordEvent)("product_dropdown_click")},popoverProps:{className:"woocommerce-product-header__more-menu"}},(({onClose:e})=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)($.Slot,{fillProps:{onClose:e}})))));var ue=__webpack_require__(79297),de=__webpack_require__(50570);function me(e){const[t]=(0,u.useEntityProp)("postType",e,"permalink");return{getProductURL:(0,n.useCallback)((e=>{if(!t)return;const o=new URL(t);return e&&o.searchParams.append("preview","true"),o.toString()}),[t])}}var pe=__webpack_require__(62116);function he({productStatus:e,visibleTab:t="general",...o}){const{createErrorNotice:r}=(0,i.useDispatch)("core/notices"),{getProductErrorMessageAndProps:a}=(0,ue.U)(),c=function({productStatus:e,productType:t="product",disabled:o,onClick:r,onSaveSuccess:a,onSaveError:c,...l}){const s=(0,n.useRef)(),[d]=(0,u.useEntityProp)("postType",t,"id"),{getProductURL:m}=me(t),{hasEdits:p,isDisabled:h}=(0,i.useSelect)((e=>{const{hasEditsForEntityRecord:o,isSavingEntityRecord:r}=e("core");return{isDisabled:r("postType",t,d),hasEdits:o("postType",t,d)}}),[d]),{isValidating:_,validate:v}=(0,de.M)(),w=o||h||_,{editEntityRecord:g,saveEditedEntityRecord:f}=(0,i.useDispatch)("core");return{"aria-label":(0,k.__)("Preview in new tab","woocommerce"),children:(0,k.__)("Preview","woocommerce"),target:"_blank",...l,ref(e){"function"==typeof l.ref&&l.ref(e),s.current=e},"aria-disabled":w,href:m(!0),variant:"tertiary",onClick:async function(o){var n;if(w)return o.preventDefault();if(r&&r(o),p){o.preventDefault();try{await v(),"auto-draft"===e&&await g("postType",t,d,{status:"draft"});const o=await f("postType",t,d,{throwOnError:!0});null===(n=s.current)||void 0===n||n.click(),a&&a(o)}catch(t){c&&c((0,pe.U)(t,e))}}}}}({productStatus:e,...o,onClick(){(0,P.recordEvent)("product_preview_changes",{source:S.RG})},onSaveSuccess(t){if("auto-draft"===e){const e=(0,Q.getNewPath)({},`/product/${t.id}`);(0,Q.navigateTo)({url:e})}},async onSaveError(e){const{message:o,errorProps:n}=await a(e,t);r(o,n)}});return(0,n.createElement)(v.Button,{...c})}var _e=__webpack_require__(63002),ve=__webpack_require__(90622),we=__webpack_require__(81514);function ge({productStatus:e,productType:t="product",visibleTab:o="general",...r}){const{createSuccessNotice:a,createErrorNotice:c}=(0,i.useDispatch)("core/notices"),{maybeShowFeedbackBar:l}=(0,we.U)(),{getProductErrorMessageAndProps:s}=(0,ue.U)(),d=function({productStatus:e,productType:t="product",disabled:o,onClick:r,onSaveSuccess:a,onSaveError:c,...l}){const[s]=(0,u.useEntityProp)("postType",t,"id"),{hasEdits:d,isDisabled:m}=(0,i.useSelect)((e=>{const{hasEditsForEntityRecord:o,isSavingEntityRecord:r}=e("core");return{isDisabled:r("postType",t,s),hasEdits:o("postType",t,s)}}),[s]),{isValidating:p,validate:h}=(0,de.M)(),_=o||m||"publish"!==e&&!d||p,{editEntityRecord:w,saveEditedEntityRecord:g}=(0,i.useDispatch)("core"),f={publish:"product_switch_draft",draft:"product_save_draft"};async function E(){try{await h({status:"draft"}),await w("postType",t,s,{status:"draft"});const o=await g("postType",t,s,{throwOnError:!0}),r=f[e];r&&(0,_e.E)(r,o),a&&a(o)}catch(t){c&&c((0,pe.U)(t,e))}}let b;return b="publish"===e?(0,k.__)("Switch to draft","woocommerce"):d||"auto-draft"===e?(0,k.__)("Save draft","woocommerce"):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Icon,{icon:ve.Z}),(0,k.__)("Saved","woocommerce")),(0,ee.useShortcut)("core/editor/save",(t=>{t.preventDefault(),_||"draft"!==e&&"auto-draft"!==e||E()})),{children:b,...l,"aria-disabled":_,variant:"tertiary",onClick:async function(e){if(_)return e.preventDefault();r&&r(e),await E()}}}({productStatus:e,productType:t,...r,onSaveSuccess(t){if((0,_e.E)("product_edit",t),a((0,k.__)("Product saved as draft.","woocommerce")),l(),"auto-draft"===e){const e=(0,Q.getNewPath)({},`/product/${t.id}`);(0,Q.navigateTo)({url:e})}},async onSaveError(e){const{message:t,errorProps:r}=await s(e,o);c(t,r)}});return(0,n.createElement)(v.Button,{...d})}function fe(){return(0,n.createElement)("div",{className:"woocommerce-product-header is-loading","aria-hidden":"true"},(0,n.createElement)("div",{className:"woocommerce-product-header__inner"},(0,n.createElement)("div",null),(0,n.createElement)("div",{className:"woocommerce-product-header__title"}),(0,n.createElement)("div",{className:"woocommerce-product-header__actions"},(0,n.createElement)("div",{className:"woocommerce-product-header__action"}),(0,n.createElement)("div",{className:"woocommerce-product-header__action"}),(0,n.createElement)("div",{className:"woocommerce-product-header__action"}),(0,n.createElement)("div",{className:"woocommerce-product-header__action"}))),(0,n.createElement)("div",{className:"woocommerce-product-tabs"},Array(7).fill(0).map(((e,t)=>(0,n.createElement)("div",{key:t,className:"components-button"})))))}const Ee="woocommerce_product_tabs";function be({fills:e,selected:t,onChange:o}){const r=(0,g.useMemo)((function(){return[...e].sort((([{props:e}],[{props:t}])=>e.order-t.order))}),[e]);return(0,n.useEffect)((()=>{var e,n,a;if(t)return;const c=r.find((e=>{const[{props:t}]=e;return!t.disabled})),i=null===(a=null===(n=null===(e=null==c?void 0:c[0])||void 0===e?void 0:e.props)||void 0===n?void 0:n.children)||void 0===a?void 0:a.key;i&&o(i)}),[r,t,o]),(0,n.createElement)(n.Fragment,null,r)}function Ce({selected:e,onChange:t}){const[o]=(0,u.useEntityProp)("postType","product","id");return(0,n.createElement)(v.NavigableMenu,{role:"tablist",onNavigate:function(e,t){t.focus()},onKeyDown:function(e){const t=e.currentTarget.querySelectorAll('[role="tab"]');switch(e.key){case"Home":e.preventDefault(),e.stopPropagation();const[o]=t;null==o||o.focus();break;case"End":e.preventDefault(),e.stopPropagation();const r=t[t.length-1];null==r||r.focus()}},className:"woocommerce-product-tabs",orientation:"horizontal"},(0,n.createElement)(v.Slot,{fillProps:{onClick:e=>{t(e);const{getEditedEntityRecord:r}=(0,i.select)("core"),n=r("postType","product",o);(0,P.recordEvent)("product_tab_click",function(e,t){const o={product_tab:e,product_type:t.type,source:S.RG};return"inventory"===e?{...o,is_store_stock_management_enabled:t.manage_stock}:o}(e,n))}},name:Ee},(function(o){return(0,n.createElement)(be,{fills:o,selected:e,onChange:t})})))}const xe=(0,n.lazy)((()=>__webpack_require__.e(4098).then(__webpack_require__.bind(__webpack_require__,94098)).then((e=>({default:e.PublishButton}))))),ye=(0,k.__)("Return to the main product","woocommerce");function ke({onTabSelect:e,productType:t="product",selectedTab:o}){const r=(0,n.useContext)(ie),a=(0,u.useEntityId)("postType",t),{editedRecord:c}=(0,u.useEntityRecord)("postType",t,a,{enabled:-1!==a}),l=(0,i.useSelect)((e=>{const{getEntityRecord:o}=e("core");return-1!==a?o("postType",t,a):null}),[t,a]),s=null==c?void 0:c.name,d=null==c?void 0:c.catalog_visibility,m=null==c?void 0:c.status,{showPrepublishChecks:p}=function(){const{updateOptions:e}=(0,i.useDispatch)(M.OPTIONS_STORE_NAME),{isResolving:t,showPrepublishChecks:o}=(0,i.useSelect)((e=>{const{getOption:t,hasFinishedResolution:o}=e(M.OPTIONS_STORE_NAME),r=t(S.at)||"yes";return{isResolving:!o("getOption",[S.at]),showPrepublishChecks:"yes"===r}}),[]);return{isResolving:t,showPrepublishChecks:o,togglePrepublishChecks:()=>{e({[S.at]:o?"no":"yes"})}}}(),_=(0,K.useAdminSidebarWidth)();(0,n.useEffect)((()=>{document.querySelectorAll(".interface-interface-skeleton__header").forEach((e=>{e.style&&(e.style.width="calc(100% - "+_+"px)",e.style.left=_+"px")}))}),[_]);const w=(null==l?void 0:l.parent_id)>0,g=w?null==c?void 0:c.image:null==c?void 0:c.images;if(r)return(0,n.createElement)(fe,null);const f=!w&&Array.isArray(g)&&g.length>0||w&&g;function E(e,t){return Array.isArray(e)?e[0][t]||"":e[t]||""}return(0,n.createElement)("div",{className:"woocommerce-product-header",role:"region","aria-label":(0,k.__)("Product Editor top bar.","woocommerce"),tabIndex:-1},(0,n.createElement)("div",{className:"woocommerce-product-header__inner"},w?(0,n.createElement)("div",{className:"woocommerce-product-header__back"},(0,n.createElement)(v.Tooltip,{className:"woocommerce-product-header__back-tooltip",text:ye},(0,n.createElement)("div",{className:"woocommerce-product-header__back-tooltip-wrapper"},(0,n.createElement)(v.Button,{icon:te.Z,isTertiary:!0,onClick:()=>{(0,P.recordEvent)("product_variation_back_to_main_product",{source:S.RG});const e=(0,Q.getNewPath)({tab:"variations"},`/product/${null==l?void 0:l.parent_id}`);(0,Q.navigateTo)({url:e})}},(0,k.__)("Main product","woocommerce"))))):(0,n.createElement)("div",null),(0,n.createElement)("div",{className:ce()("woocommerce-product-header-title-bar",{"is-variation":w})},(0,n.createElement)("div",{className:"woocommerce-product-header-title-bar__image"},f?(0,n.createElement)("img",{alt:E(g,"alt"),src:E(g,"src"),className:"woocommerce-product-header-title-bar__product-image"}):(0,n.createElement)(oe.Z,{icon:w?re:ne})),(0,n.createElement)("h1",{className:"woocommerce-product-header__title"},w?(0,n.createElement)(n.Fragment,null,null==l?void 0:l.name,(0,n.createElement)("span",{className:"woocommerce-product-header__variable-product-id"},"# ",null==l?void 0:l.id)):le(s,null==l?void 0:l.name),(0,n.createElement)("div",{className:"woocommerce-product-header__visibility-tags"},function(){const e=[];return"draft"===m&&e.push((0,n.createElement)(h.Tag,{key:"draft-tag",label:(0,k.__)("Draft","woocommerce")})),"future"===m&&e.push((0,n.createElement)(h.Tag,{key:"scheduled-tag",label:(0,k.__)("Scheduled","woocommerce")})),("future"!==m&&"hidden"===d||w&&"private"===m)&&e.push((0,n.createElement)(h.Tag,{key:"hidden-tag",label:(0,k.__)("Hidden","woocommerce")})),e}()))),(0,n.createElement)("div",{className:"woocommerce-product-header__actions"},!w&&(0,n.createElement)(ge,{productType:t,visibleTab:o,productStatus:null==l?void 0:l.status}),(0,n.createElement)(he,{productType:t,visibleTab:o,productStatus:null==l?void 0:l.status}),(0,n.createElement)(n.Suspense,{fallback:null},(0,n.createElement)(xe,{productType:t,isPrePublishPanelVisible:p,isMenuButton:!0,visibleTab:o})),(0,n.createElement)(K.WooHeaderItem.Slot,{name:"product"}),(0,n.createElement)(J.Ox.Slot,{scope:S.D9}),(0,n.createElement)(se,null))),(0,n.createElement)(Ce,{selected:o,onChange:e}))}const Ae=window.wp.mediaUtils;var Se=__webpack_require__(52175);const Pe=e=>(t,o)=>{const r=new URLSearchParams(t.search),n=new URLSearchParams(o.search);return r.delete("tab"),n.delete("tab"),(void 0===e||"/add-product"!==n.get("path")||r.get("path")!=="/product/"+e)&&r.toString()!==n.toString()};function Be(e){return delete e.content,delete e.blocks,e}function Ve(e="product"){const t=(0,u.useEntityId)("postType",e),{edits:o}=(0,i.useSelect)((o=>{const{getEntityRecordNonTransientEdits:r}=o("core");return{edits:Be(r("postType",e,t))}}),[t,e]);return{hasEdit:function(e){if(e.startsWith("meta_data.")){const t=e.replace("meta_data.","");return o.hasOwnProperty("meta_data")&&-1!==o.meta_data.findIndex((e=>e.key===t))}return o.hasOwnProperty(e)},hasEdits:Object.keys(o).length>0}}const Me=(e,t)=>{var o,r;const n=null!==(r=null===(o=window.productBlockEditorSettings)||void 0===o?void 0:o.productTemplates)&&void 0!==r?r:[],a=null==t?void 0:t.type;if(!e&&"variation"===a)return{productTemplate:null,isResolving:!1};let c;if(e&&(c=n.find((t=>t.id===e))),!c&&t){const e=n.filter((e=>function(e,t){return Object.entries(e.productData).every((([e,o])=>{return"meta_data"===e?(r=o,n=t.meta_data||[],r.every((e=>n.find((t=>t.key===e.key&&t.value===e.value))))):t[e]===o;var r,n}))}(e,t)));c=function(e){return e.reduce(((e,t)=>Object.keys(t.productData).length>Object.keys(e.productData).length?t:e),e[0])}(e)||n.find((e=>"standard-product-template"===e.id))}return{productTemplate:c,isResolving:!1}},Ne=(0,n.createContext)("product");function Te(){return(0,n.createElement)("div",{className:"woocommerce-product-block-editor__block-list block-editor-block-list__layout is-root-container is-loading","aria-hidden":"true"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-tab"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__heading-title-wrapper"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__heading-title"})),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__content wp-block-woocommerce-product-section-header__content--block-gap-unit-30"},(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-input"})),(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-textarea"})),(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-textarea"})))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__heading-title-wrapper"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__heading-title"})),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section__content wp-block-woocommerce-product-section__content--block-gap-unit-30"},(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-input"})),(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-textarea"})),(0,n.createElement)("div",{className:"block-editor-block-list__block"},(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"}),(0,n.createElement)("div",{className:"woocommerce-product-form-textarea"}))))))}function Le(){var e;return!!(null===(e=window.wcAdminFeatures)||void 0===e?void 0:e["product-editor-template-system"])}const Fe=(0,n.lazy)((()=>Promise.resolve().then(__webpack_require__.t.bind(__webpack_require__,98817,23)).then((e=>({default:e.PluginArea}))))),Re=(0,n.lazy)((()=>__webpack_require__.e(5691).then(__webpack_require__.bind(__webpack_require__,95691)).then((e=>({default:e.ModalEditor})))));function De({context:e,postType:t,productId:o,setIsEditorLoading:a}){const[c,l]=(0,n.useState)(null);!function(e="product"){const t=(0,u.useEntityId)("postType",e),{hasEdits:o}=Ve(e),{isSaving:r}=(0,i.useSelect)((o=>{const{isSavingEntityRecord:r}=o("core");return{isSaving:r("postType",e,t)}}),[t,e]);(0,Q.useConfirmUnsavedChanges)(o||r,Pe(t))}(t),(0,n.useEffect)((()=>{const e=()=>{document.dispatchEvent(new Event("wp-pin-menu"))};return window.addEventListener("scroll",e,{once:!0}),()=>window.removeEventListener("scroll",e)}),[]),(0,n.useEffect)((()=>{const{registerShortcut:e}=(0,i.dispatch)(ee.store);e&&e({name:"core/editor/save",category:"global",description:(0,k.__)("Save your changes.","woocommerce"),keyCombination:{modifier:"primary",character:"s"}})}),[]);const[d,m]=(0,n.useState)(void 0);(0,n.useEffect)((()=>{let e;const t=()=>{void 0!==window.productBlockEditorSettings?m(window.productBlockEditorSettings):e=setTimeout(t,100)};return t(),()=>{clearTimeout(e)}}),[]);const p=(0,n.useMemo)((()=>{if(void 0===d)return;const e=!1!==(0,i.select)("core").canUser("create","media","")?{mediaUpload({onError:e,...t}){(0,Ae.uploadMedia)({wpAllowedMimeTypes:d.allowedMimeTypes||void 0,onError:({message:t})=>e(t),...t})}}:{};return{...d,...e,templateLock:"all"}}),[d]),{editedRecord:h,hasResolved:_}=(0,u.useEntityRecord)("postType",t,o,{enabled:-1!==o}),v=(0,n.useMemo)((()=>{var e,t;return null===(t=null===(e=null==h?void 0:h.meta_data)||void 0===e?void 0:e.find((e=>"_product_template_id"===e.key)))||void 0===t?void 0:t.value}),[null==h?void 0:h.meta_data]),{productTemplate:w}=Me(v,_?h:null),{layoutTemplate:g}=(0,s.useLayoutTemplate)(_?function(e,t){return(null==e?void 0:e.layoutTemplateId)?e.layoutTemplateId:"product_variation"===t?"product-variation":"simple-product"}(w,t):null),[f,E,b]=(0,u.useEntityBlockEditor)("postType",t,{id:-1!==o?o:0}),C=(0,i.useSelect)((e=>e("core").getEntityRecords("postType","product_form",{per_page:-1})||[]),[]);(0,n.useEffect)((()=>{C.length&&l(C[0].id)}),[C]);const x=!p||!g||"product_variation"!==t&&!w||-1===o||!_,y=(0,n.useMemo)((function(){if(!Le()||!c)return;const e=C.find((e=>e.id===c));return e?(0,j.parse)(e.content.raw):void 0}),[C,c]);(0,n.useLayoutEffect)((function(){if(x)return;const e=(0,j.synchronizeBlocksWithTemplate)([],g.blockTemplates);b(null!=e?e:y,{}),(0,i.dispatch)("core/editor").updateEditorSettings({...p,productTemplate:w})}),[x,g,p,w,y,o]),(0,n.useEffect)((()=>{a(x)}),[x]);const{editEntityRecord:A}=(0,i.useDispatch)("core");(0,n.useEffect)((function(){var e,r,n;const a=(0,Q.getQuery)();if((0,Q.getPath)().endsWith("add-product")&&a.template){const c=(null!==(r=null===(e=window.productBlockEditorSettings)||void 0===e?void 0:e.productTemplates)&&void 0!==r?r:[]).find((e=>e.id===a.template));c&&A("postType",t,o,{...c.productData,meta_data:[...null!==(n=c.productData.meta_data)&&void 0!==n?n:[],{key:"_product_template_id",value:c.id}]})}}),[]);const S=(0,i.useSelect)((e=>e(r.h).isModalEditorOpen()),[]);return x?(0,n.createElement)("div",{className:"woocommerce-product-block-editor"},(0,n.createElement)(Te,null)):S?(0,n.createElement)(n.Suspense,{fallback:null},(0,n.createElement)(Re,{onClose:(0,i.dispatch)(r.h).closeModalEditor,title:(0,k.__)("Edit description","woocommerce"),name:"AUTO-DRAFT"===h.name?(0,k.__)("(no product name)","woocommerce"):h.name})):(0,n.createElement)("div",{className:"woocommerce-product-block-editor"},(0,n.createElement)(Se.BlockContextProvider,{value:e},(0,n.createElement)(Se.BlockEditorProvider,{value:f,onInput:E,onChange:b,settings:p,useSubRegistry:!1},(0,n.createElement)(Se.BlockEditorKeyboardShortcuts.Register,null),(0,n.createElement)(Se.BlockTools,null,(0,n.createElement)(Se.ObserveTyping,null,(0,n.createElement)(Se.BlockList,{className:"woocommerce-product-block-editor__block-list"}))),(0,n.createElement)(Ne.Provider,{value:e.postType},(0,n.createElement)(n.Suspense,{fallback:null},(0,n.createElement)(Fe,{scope:"woocommerce-product-block-editor"}))))))}var He=__webpack_require__(50155);function Ie({postType:e,productId:t,children:o}){const r=(0,n.useRef)({}),a=(0,n.useRef)({}),[c,i]=(0,n.useState)({}),{record:l}=(0,u.useEntityRecord)("postType",e,t);async function s(e,t){const o=r.current;return e in o?(0,o[e])(l,t).then((t=>{const o=void 0!==t?{validatorId:e,...t}:void 0;return i((t=>({...t,[e]:o}))),o})):Promise.resolve(void 0)}return(0,n.createElement)(He._.Provider,{value:{errors:c,getFieldByValidatorId:async function(e){return a.current[e]},registerValidator:function(e,t){return r.current={...r.current,[e]:t},t=>{a.current[e]=t}},unRegisterValidator:function(e){r.current[e]&&delete r.current[e],a.current[e]&&delete a.current[e]},validateField:s,validateAll:async function(e){const t={},o=r.current;for(const r in o)t[r]=await s(r,e);i(t);const n=function(e,t){const o=Object.entries(e).filter((([e,o])=>(null==o?void 0:o.closest('.is-selected[role="tabpanel"]'))&&Boolean(t[e]))),[r]=o.sort((([,e],[,t])=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),[,n]=null!=r?r:[];return n}(a.current,t);return null==n||n.focus(),t}}},o)}var ze=__webpack_require__(59538),je=__webpack_require__(69771),Oe=__webpack_require__(43279);function Ge({label:e,postPassword:t,onInputChange:o}){const r=(0,c.useInstanceId)(v.BaseControl,"post_password"),[a,i]=(0,n.useState)(Boolean(t));return(0,n.useEffect)((()=>{a||""===t||i(!0)}),[t]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.CheckboxControl,{label:e,checked:a,className:"wp-block-woocommerce-product-password-fields__field",onChange:e=>{(0,P.recordEvent)("product_catalog_require_password",{source:S.RG,value:e}),i(e),e||o("")}}),a&&(0,n.createElement)(v.BaseControl,{id:r,label:(0,k.__)("Password","woocommerce")},(0,n.createElement)(v.__experimentalInputControl,{id:r,value:t,onChange:o})))}function Ze({catalogVisibility:e,label:t,visibility:o,onCheckboxChange:r}){return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.CheckboxControl,{label:t,checked:e===o||"hidden"===e,onChange:t=>function(t){if(t){if("visible"===e)return r(o),void(0,P.recordEvent)("product_catalog_visibility",{source:S.RG,visibility:e});r("hidden")}else{if("hidden"===e)return"catalog"===o?(r("search"),void(0,P.recordEvent)("product_catalog_visibility",{source:S.RG,visibility:e})):"search"===o?(r("catalog"),void(0,P.recordEvent)("product_catalog_visibility",{source:S.RG,visibility:e})):void 0;r("visible"),(0,P.recordEvent)("product_catalog_visibility",{source:S.RG,visibility:e})}}(t)}))}function $e({productType:e}){const[t,o]=(0,u.useEntityProp)("postType",e,"catalog_visibility"),[r,a]=(0,u.useEntityProp)("postType",e,"reviews_allowed"),[c,i]=(0,u.useEntityProp)("postType",e,"post_password");return(0,n.createElement)(v.PanelBody,{initialOpen:!1,title:[(0,k.__)("Visibility: ","woocommerce"),(0,n.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},""!==c?(0,k.__)("Password protected","woocommerce"):"hidden"===t?(0,k.__)("Hidden","woocommerce"):(0,k.__)("Public","woocommerce"))]},(0,n.createElement)("div",{className:"woocommerce-publish-panel-visibility"},(0,n.createElement)("fieldset",{className:"woocommerce-publish-panel-visibility__fieldset"},(0,n.createElement)("legend",{className:"woocommerce-publish-panel-visibility__legend"},(0,k.__)("Control how this product is viewed by customers and other site users.","woocommerce")),(0,n.createElement)(Ze,{catalogVisibility:t,label:(0,k.__)("Hide in product catalog","woocommerce"),visibility:"search",onCheckboxChange:o}),(0,n.createElement)(Ze,{catalogVisibility:t,label:(0,k.__)("Hide from search results","woocommerce"),visibility:"catalog",onCheckboxChange:o}),(0,n.createElement)(v.CheckboxControl,{label:(0,k.__)("Enable product reviews","woocommerce"),checked:r,onChange:e=>{a(e),(0,P.recordEvent)("product_prepublish_panel",{source:S.RG,action:"enable_product_reviews",value:e})}}),(0,n.createElement)(Ge,{label:(0,k.__)("Require a password","woocommerce"),postPassword:c,onInputChange:i}))))}var Ue=__webpack_require__(97630),qe=__webpack_require__(80634);function We({postType:e}){const{setDate:t,date:o,formattedDate:r}=(0,Ue.Q)(e);return(0,n.createElement)(v.PanelBody,{initialOpen:!1,title:[(0,k.__)("Publish:","woocommerce"),(0,n.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},r)]},(0,n.createElement)(Se.__experimentalPublishDateTimePicker,{currentDate:o,onChange:async function(e){await t(null!=e?e:void 0)},is12Hour:(0,qe.$)()}))}function Je({productType:e="product"}){const{getProductURL:t}=me(e),{isScheduled:o,formattedDate:r}=(0,Ue.Q)(e),[a]=(0,u.useEntityProp)("postType",e,"name"),c=t(!1);return(0,n.createElement)("div",{className:"woocommerce-product-publish-panel__published"},o?(0,n.createInterpolateElement)((0,k.sprintf)((0,k.__)("<productURL /> is now scheduled. It will go live on %s","woocommerce"),r),{productURL:(0,n.createElement)("a",{className:"woocommerce-product-list__product-name",href:c,target:"_blank",rel:"noreferrer"},a)}):(0,n.createInterpolateElement)((0,k.__)("<productURL /> is now live.","woocommerce"),{productURL:(0,n.createElement)("a",{className:"woocommerce-product-list__product-name",href:c,target:"_blank",rel:"noreferrer"},a)}))}function Ye({postType:e}){const{getProductURL:t}=me(e),{isScheduled:o}=(0,Ue.Q)(e),[r,a]=(0,n.useState)(!1),i=t(o);return i?(0,n.createElement)(v.PanelBody,null,(0,n.createElement)("p",{className:"post-publish-section__postpublish-subheader"},(0,n.createElement)("strong",null,(0,k.__)("What’s next?","woocommerce"))),(0,n.createElement)("div",{className:"post-publish-section__postpublish-post-address-container"},(0,n.createElement)(v.TextControl,{className:"post-publish-section__postpublish-post-address",readOnly:!0,label:(0,k.__)("product address","woocommerce"),value:i,onFocus:e=>{e.target.select()}}),(0,n.createElement)("div",{className:"post-publish-section__copy-button-wrap"},(0,n.createElement)((({text:e,onCopy:t,children:o})=>{const r=(0,c.useCopyToClipboard)(e,t);return(0,n.createElement)(v.Button,{variant:"secondary",ref:r},o)}),{text:i,onCopy:()=>{(0,P.recordEvent)("product_prepublish_panel",{source:S.RG,action:"copy_product_url"}),a(!0),setTimeout((()=>{a(!1)}),4e3)}},(0,n.createElement)(n.Fragment,null,r?(0,k.__)("Copied!","woocommerce"):(0,k.__)("Copy","woocommerce"))))),(0,n.createElement)("div",{className:"post-publish-section__postpublish-buttons"},!o&&(0,n.createElement)(v.Button,{variant:"primary",href:i},(0,k.__)("View Product","woocommerce")),(0,n.createElement)(v.Button,{variant:o?"primary":"secondary",href:(0,Q.getNewPath)({},"/add-product",{})},(0,k.__)("Add New Product","woocommerce")))):null}function Xe({productType:e="product",title:t=(0,k.__)("Are you ready to publish this product?","woocommerce"),description:o=(0,k.__)("Double-check your settings before sharing this product with customers.","woocommerce")}){const[a]=(0,u.useEntityProp)("postType",e,"date_created_gmt"),[c,,l]=(0,u.useEntityProp)("postType",e,"status"),{closePrepublishPanel:s}=(0,i.useDispatch)(r.h),d="product"!==e||"future"===l||"publish"===c;(0,je.isInTheFuture)(a)&&(t=(0,k.__)("Are you ready to schedule this product?","woocommerce"),o=(0,k.__)("Your product will be published at the specified date and time.","woocommerce"));const m=(0,n.useRef)(null);function p(e){m.current&&!m.current.contains(e.target)&&s()}return(0,n.useEffect)((()=>{if(d)return document.addEventListener("mouseup",p),()=>{document.removeEventListener("mouseup",p)}}),[d]),(0,n.createElement)("div",{ref:m,className:ce()("woocommerce-product-publish-panel",{"is-published":d})},(0,n.createElement)("div",{className:"woocommerce-product-publish-panel__header"},d?(0,n.createElement)(v.Button,{className:"woocommerce-publish-panel-close",icon:ze.Z,label:(0,k.__)("Close panel","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_prepublish_panel",{source:S.RG,action:"close"}),s()}}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Oe.H,{productType:e}),(0,n.createElement)(v.Button,{variant:"secondary",onClick:()=>{(0,P.recordEvent)("product_prepublish_panel",{source:S.RG,action:"cancel"}),s()}},(0,k.__)("Cancel","woocommerce")))),(0,n.createElement)("div",{className:"woocommerce-product-publish-panel__title"},d?(0,n.createElement)(Je,{productType:e}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h4",null,t),(0,n.createElement)("span",null,o))),(0,n.createElement)("div",{className:"woocommerce-product-publish-panel__content"},d?(0,n.createElement)(Ye,{postType:e}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)($e,{productType:e}),(0,n.createElement)(We,{postType:e}))),(0,n.createElement)("div",{className:"woocommerce-product-publish-panel__footer"}))}function Ke({productId:e,postType:t="product"}){const[o,a]=(0,n.useState)(!0),c=(0,Q.getQuery)().tab||null,l=(0,n.useCallback)((e=>{(0,Q.navigateTo)({url:(0,Q.getNewPath)({tab:e})})}),[]),s=(0,K.useExtendLayout)("product-block-editor"),d=(0,i.useSelect)((e=>e(r.h).isPrepublishPanelOpen()),[]);return(0,n.createElement)(K.LayoutContextProvider,{value:s},(0,n.createElement)(n.StrictMode,null,(0,n.createElement)(u.EntityProvider,{kind:"postType",type:t,id:e},(0,n.createElement)(ee.ShortcutProvider,null,(0,n.createElement)(Ie,{postType:t,productId:e},(0,n.createElement)(ie.Provider,{value:o},(0,n.createElement)(J.v4,{header:(0,n.createElement)(ke,{onTabSelect:l,productType:t,selectedTab:c}),content:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(De,{postType:t,productId:e,context:{selectedTab:c,postType:t,postId:e},setIsEditorLoading:a})),actions:d&&(0,n.createElement)(Xe,{productType:t})})),(0,n.createElement)(v.Popover.Slot,null))))))}const Qe=window.wp.blockLibrary,et=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-catalog-visibility-field","description":"A checkbox to manage the catalog visibility of the product.","title":"Product catalog visibility","category":"widgets","keywords":["products","catalog"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"visibility":{"type":"string","enum":["visible","catalog","search","hidden"],"default":"visible"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:tt,...ot}=et,rt={example:{},edit:function({attributes:e}){const{label:t,visibility:o}=e,r=(0,s.useWooBlockProps)(e),[a,c]=(0,u.useEntityProp)("postType","product","catalog_visibility");return(0,n.createElement)("div",{...r},(0,n.createElement)(Ze,{catalogVisibility:a,label:t,visibility:o,onCheckboxChange:c}))}};function nt(){return m({name:tt,metadata:ot,settings:rt})}const at=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-custom-fields","title":"Product custom fields control","category":"woocommerce","description":"The product custom fields.","keywords":["products","custom","fields"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":true,"inserter":false,"lock":false,"__experimentalToolbar":false}}');function ct(e,t){return`${e}-${t}`}function it({name:e,slotContainerBlockName:t,...o}){const{clientId:r}=(0,Se.useBlockEditContext)(),a=(0,i.useSelect)((e=>{const{getBlockParentsByBlockName:o}=e("core/block-editor"),[n]=o(r,t,!0);return n}),[r,t]);return a?(0,n.createElement)(v.Fill,{...o,name:ct(e,a)}):(console.warn("No closest ancestor client ID found for block fill."),null)}const lt=["woocommerce/product-section","woocommerce/product-subsection"];function st({containerBlockName:e=lt,...t}){return(0,n.createElement)(it,{...t,name:"section-actions",slotContainerBlockName:e})}function ut(e,t){var o;return(o=t).key.startsWith("_")||null===o.value?e.otherMetas.push(t):e.customFields.push(t),e}function dt(){const[e,t]=(0,u.useEntityProp)("postType","product","meta_data"),{customFields:o,otherMetas:r}=(0,n.useMemo)((function(){return e.reduce(ut,{customFields:[],otherMetas:[]})}),[e]);function a(e){const n="function"==typeof e?e(o):e;t([...r,...n])}return{customFields:o,addCustomFields:function(e){a((t=>[...t,...e]))},setCustomFields:a,updateCustomField:function(e,t){a((o=>o.map(((o,r)=>e.id&&o.id===e.id||t===r?e:o))))},removeCustomField:function(e){a((t=>void 0===e.id?t.filter((function(t){return!(t.key===e.key&&t.value===e.value)})):t.map((t=>t.id===e.id?{...t,value:null}:t))))}}}const mt=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})});var pt=__webpack_require__(33561);const ht=["a","b","em","i","strong","p","br","abbr"],_t=["target","href","rel","name","download","title"];function vt(e,t){const o=(null==t?void 0:t.tags)||ht,r=(null==t?void 0:t.attr)||_t;return{__html:(0,pt.sanitize)(e,{ALLOWED_TAGS:o,ALLOWED_ATTR:r})}}const wt=({label:e,labelId:t,required:o,tooltip:r,note:a,onClick:c})=>{let i=e;o?i=(null==a?void 0:a.length)?(0,n.createInterpolateElement)((0,k.__)("<label/> <note /> <required/>","woocommerce"),{label:(0,n.createElement)("span",{dangerouslySetInnerHTML:vt(e)}),note:(0,n.createElement)("span",{className:"woocommerce-product-form-label__note"},a),required:(0,n.createElement)("span",{"aria-hidden":"true",className:"woocommerce-product-form-label__required"},(0,k.__)("*","woocommerce"))}):(0,n.createInterpolateElement)((0,k.__)("<label/> <required/>","woocommerce"),{label:(0,n.createElement)("span",null,e),required:(0,n.createElement)("span",{"aria-hidden":"true",className:"woocommerce-product-form-label__required"},(0,k.__)("*","woocommerce"))}):(null==a?void 0:a.length)&&(i=(0,n.createInterpolateElement)((0,k.__)("<label/> <note />","woocommerce"),{label:(0,n.createElement)("span",null,e),note:(0,n.createElement)("span",{className:"woocommerce-product-form-label__note"},a)}));const l="string"==typeof i?{dangerouslySetInnerHTML:vt(e)}:{};return(0,n.createElement)("div",{className:"woocommerce-product-form-label__label"},(0,n.createElement)("span",{id:t,onClick:c,...l},(0,n.isValidElement)(i)?i:null),r&&(0,n.createElement)(h.__experimentalTooltip,{text:(0,n.createElement)("span",{dangerouslySetInnerHTML:vt(r)}),position:"top center",className:"woocommerce-product-form-label__tooltip"},(0,n.createElement)("span",{className:"woocommerce-product-form-label__icon"},(0,n.createElement)(oe.Z,{icon:mt,size:18,fill:"#949494"}))))},gt=(0,n.forwardRef)((function({label:e,help:t,error:o,tooltip:r,className:a,required:c,onChange:i,onBlur:l,...s},u){return(0,n.createElement)(v.__experimentalInputControl,{...s,ref:u,className:ce()("woocommerce-product-text-control",a,{"has-error":o}),label:(0,n.createElement)(wt,{label:e,required:c,tooltip:r}),required:c,help:o||t,onChange:i,onBlur:l})}));function ft(e,t){const o={};return e.key?e.key.startsWith("_")?o.key=(0,k.__)("The name cannot begin with the underscore (_) character.","woocommerce"):t.some((t=>t.id!==e.id&&t.key===e.key))&&(o.key=(0,k.__)("The name must be unique.","woocommerce")):o.key=(0,k.__)("The name is required.","woocommerce"),e.value||(o.value=(0,k.__)("The value is required.","woocommerce")),o}const Et=window.wp.apiFetch;var bt=__webpack_require__.n(Et);const Ct=v.ComboboxControl,xt=(0,n.forwardRef)((function({id:e,name:t,allowReset:o,className:r,help:a,hideLabelFromVision:i,label:l,messages:s,value:u,options:d,onFilterValueChange:m,onChange:p,onBlur:h,__experimentalRenderItem:_},v){const w=(0,n.useRef)(),g=(0,c.useInstanceId)(xt,"woocommerce-combobox-control"),f=null!=e?e:g;return(0,n.useLayoutEffect)((function(){var e;w.current=document.querySelector(`.${f} [role="combobox"]`),t&&(null===(e=w.current)||void 0===e||e.setAttribute("name",t)),v&&("function"==typeof v?v(w.current):v.current=w.current)}),[f,t,v]),(0,n.useEffect)((function(){var e;function t(e){null==h||h({...e,target:{...e.target,value:u}})}return null===(e=w.current)||void 0===e||e.addEventListener("blur",t),()=>{var e;null===(e=w.current)||void 0===e||e.removeEventListener("blur",t)}}),[u,h]),(0,n.createElement)(Ct,{allowReset:o,help:a,hideLabelFromVision:i,label:l,messages:s,value:u,options:d,onChange:p,onFilterValueChange:m,className:ce()("woocommerce-combobox-control",f,r),__experimentalRenderItem:_})})),yt=(0,n.forwardRef)((function({value:e,onBlur:t,...o},r){const[a,i]=(0,n.useState)([]),l=(0,n.useMemo)((function(){return e&&!a.some((t=>t.value===e))?[{label:e,value:e},...a]:a}),[a,e]),s=(0,c.useDebounce)((0,n.useCallback)((function(t){(async function(e){return bt()({path:(0,A.addQueryArgs)("/wc/v3/products/custom-fields/names",{search:e})}).then(((t=[])=>{const o=[];return e&&-1===t.indexOf(e)&&o.push({value:e,label:e}),t.forEach((e=>{o.push({value:e,label:e})})),o}))})(""===t?e:t).then(i)}),[e]),250);return(0,n.createElement)(xt,{...o,ref:r,value:e,options:l,onFilterValueChange:s,onBlur:function(e){i([]),null==t||t(e)}})})),kt={id:1,key:"",value:""};function At({values:e,onCreate:t,onCancel:o,...r}){const[a,c]=(0,n.useState)([kt]),[i,l]=(0,n.useState)({}),s=(0,n.useRef)({});function u(e,t){return function(o){const r=String(e.id);s.current[r]={...s.current[r],[t]:o}}}function d(e,t){var o;return null===(o=i[String(e.id)])||void 0===o?void 0:o[t]}function m(e,t){return function(o){c((r=>r.map((r=>r.id===e.id?{...r,[t]:o}:r))))}}function p(t,o){return function(r){const n=ft({...t,[o]:r.target.value},[...a,...e]),c=String(t.id);l((e=>({...e,[c]:{...e[c],[o]:n[o]}})))}}function h(e){if(!(a.length<=1))return function(){c((t=>t.filter((({id:t})=>e.id!==t)))),l((t=>({...t,[`${e.id}`]:void 0})))}}return(0,n.useEffect)((function(){var e;const t=s.current[kt.id];null===(e=null==t?void 0:t.key)||void 0===e||e.focus()}),[]),(0,n.createElement)(v.Modal,{shouldCloseOnClickOutside:!1,title:(0,k.__)("Add custom fields","woocommerce"),onRequestClose:o,...r,className:ce()("woocommerce-product-custom-fields__create-modal",r.className)},(0,n.createElement)("div",{role:"table"},(0,n.createElement)("div",{role:"rowgroup"},(0,n.createElement)("div",{role:"rowheader"},(0,n.createElement)("div",{role:"columnheader"},(0,k.__)("Name","woocommerce")),(0,n.createElement)("div",{role:"columnheader"},(0,k.__)("Value","woocommerce")),(0,n.createElement)("div",{role:"columnheader","aria-label":(0,k.__)("Actions","woocommerce")}))),(0,n.createElement)("div",{role:"rowgroup"},a.map((e=>(0,n.createElement)("div",{key:e.id,role:"row"},(0,n.createElement)("div",{role:"cell"},(0,n.createElement)(yt,{ref:u(e,"key"),label:(0,k.__)("Name","woocommerce"),hideLabelFromVision:!0,allowReset:!1,help:d(e,"key"),value:e.key,onChange:m(e,"key"),onBlur:p(e,"key"),className:ce()({"has-error":d(e,"key")})})),(0,n.createElement)("div",{role:"cell"},(0,n.createElement)(gt,{ref:u(e,"value"),label:"","aria-label":(0,k.__)("Value","woocommerce"),error:d(e,"value"),value:e.value,onChange:m(e,"value"),onBlur:p(e,"value")})),(0,n.createElement)("div",{role:"cell"},(0,n.createElement)(v.Button,{icon:ze.Z,disabled:a.length<=1,"aria-label":(0,k.__)("Remove custom field","woocommerce"),onClick:h(e)}))))))),(0,n.createElement)("div",{className:"woocommerce-product-custom-fields__create-modal-add-another"},(0,n.createElement)(v.Button,{variant:"tertiary",onClick:function(){c((e=>{var t;const o=e[e.length-1];return[...e,{...kt,id:(null!==(t=o.id)&&void 0!==t?t:0)+1}]})),(0,P.recordEvent)("product_custom_fields_add_another_button_click",{source:S.RG})}},(0,k.__)("+ Add another","woocommerce"))),(0,n.createElement)("div",{className:"woocommerce-product-custom-fields__create-modal-actions"},(0,n.createElement)(v.Button,{variant:"secondary",onClick:o},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",onClick:function(){const{errors:o,hasErrors:r}=a.reduce(((t,o)=>{var r,n,c,i;const l=ft(o,[...a,...e]);return t.errors[String(o.id)]=l,l.key&&(t.hasErrors||null===(n=null===(r=s.current[String(o.id)])||void 0===r?void 0:r.key)||void 0===n||n.focus(),t.hasErrors=!0),l.value&&(t.hasErrors||null===(i=null===(c=s.current[String(o.id)])||void 0===c?void 0:c.value)||void 0===i||i.focus(),t.hasErrors=!0),t}),{errors:{},hasErrors:!1});r?l(o):(t(a.map((({id:e,...t})=>{var o;return{key:t.key.trim(),value:null===(o=t.value)||void 0===o?void 0:o.trim()}}))),(0,P.recordEvent)("product_custom_fields_add_new_button_click",{source:S.RG,custom_field_names:a.map((e=>e.key)),total:a.length}))}},(0,k.__)("Add","woocommerce"))))}function St({initialValue:e,values:t,onUpdate:o,onCancel:r,...a}){const[c,i]=(0,n.useState)(e),[l,s]=(0,n.useState)(),u=(0,n.useRef)(null),d=(0,n.useRef)(null);function m(e){return function(t){i((o=>({...o,[e]:t})))}}function p(e){return function(o){const r=ft({...c,[e]:o.target.value},t);s(r)}}return(0,n.useEffect)((function(){var e;null===(e=u.current)||void 0===e||e.focus()}),[]),(0,n.createElement)(v.Modal,{shouldCloseOnClickOutside:!1,...a,title:(0,k.sprintf)((0,k.__)("Edit %s","woocommerce"),c.key),onRequestClose:r,className:ce()("woocommerce-product-custom-fields__edit-modal",a.className)},(0,n.createElement)(yt,{ref:u,label:(0,k.__)("Name","woocommerce"),allowReset:!1,help:null==l?void 0:l.key,value:c.key,onChange:m("key"),onBlur:p("key"),className:ce()({"has-error":null==l?void 0:l.key})}),(0,n.createElement)(gt,{ref:d,label:(0,k.__)("Value","woocommerce"),error:null==l?void 0:l.value,value:c.value,onChange:m("value"),onBlur:p("value")}),(0,n.createElement)("div",{className:"woocommerce-product-custom-fields__edit-modal-actions"},(0,n.createElement)(v.Button,{variant:"secondary",onClick:r},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",onClick:function(){var r,n,a;const i=ft(c,t);if(i.key||i.value)return s(i),i.key?void(null===(r=u.current)||void 0===r||r.focus()):void(null===(n=d.current)||void 0===n||n.focus());o({...c,key:c.key.trim(),value:null===(a=c.value)||void 0===a?void 0:a.trim()}),(0,P.recordEvent)("product_custom_fields_update_button_click",{source:S.RG,custom_field_id:c.id,custom_field_name:c.key,prev_custom_field_name:e.key})}},(0,k.__)("Update","woocommerce"))))}function Pt({names:e=[],...t}){return(0,n.createElement)("div",{...t,role:"none",className:"woocommerce-product-empty-state"},e.map((e=>(0,n.createElement)("div",{key:e,className:"woocommerce-product-empty-state__row"},""===e?(0,n.createElement)("div",{className:"woocommerce-product-empty-state__name"}):(0,n.createElement)("div",null,e),(0,n.createElement)("div",null,(0,n.createElement)("div",{className:"woocommerce-product-empty-state__value"})),(0,n.createElement)("div",null,(0,n.createElement)("div",{className:"woocommerce-product-empty-state__actions"}))))))}function Bt(e,t){return Array(t).fill(0).map(((t,o)=>`${e} ${o+1}`))}function Vt({className:e,renderActionButtonsWrapper:t=(e=>e),...o}){const{customFields:r,addCustomFields:a,updateCustomField:c,removeCustomField:i}=dt(),[l,s]=(0,n.useState)(!1),[u,d]=(0,n.useState)();function m(e){return function(){i(e),(0,P.recordEvent)("product_custom_fields_remove_button_click",{source:S.RG,custom_field_id:e.id,custom_field_name:e.key})}}return(0,n.createElement)(n.Fragment,null,t((0,n.createElement)(v.Button,{variant:"secondary",onClick:function(){s(!0),(0,P.recordEvent)("product_custom_fields_show_add_modal",{source:S.RG})}},(0,k.__)("Add new","woocommerce"))),0===r.length?(0,n.createElement)(Pt,{names:Bt((0,k.__)("Custom field","woocommerce"),3)}):(0,n.createElement)("table",{...o,className:ce()("woocommerce-product-custom-fields__table",e)},(0,n.createElement)("thead",null,(0,n.createElement)("tr",{className:"woocommerce-product-custom-fields__table-row"},(0,n.createElement)("th",null,(0,k.__)("Name","woocommerce")),(0,n.createElement)("th",null,(0,k.__)("Value","woocommerce")),(0,n.createElement)("th",null,(0,k.__)("Actions","woocommerce")))),(0,n.createElement)("tbody",null,r.map(((e,t)=>{var o,a;return(0,n.createElement)("tr",{className:"woocommerce-product-custom-fields__table-row",key:null!==(o=e.id)&&void 0!==o?o:e.key},(0,n.createElement)("td",{className:"woocommerce-product-custom-fields__table-datacell"},e.key),(0,n.createElement)("td",{className:"woocommerce-product-custom-fields__table-datacell"},e.value),(0,n.createElement)("td",{className:"woocommerce-product-custom-fields__table-datacell"},(0,n.createElement)(v.Button,{variant:"tertiary",onClick:(a=t,function(){d(a);const e=r[a];(0,P.recordEvent)("product_custom_fields_show_edit_modal",{source:S.RG,custom_field_id:e.id,custom_field_name:e.key})})},(0,k.__)("Edit","woocommerce")),(0,n.createElement)(v.Button,{icon:ze.Z,onClick:m(e),"aria-label":(0,k.__)("Remove custom field","woocommerce")})))})))),l&&(0,n.createElement)(At,{values:r,onCreate:function(e){a(e),s(!1)},onCancel:function(){s(!1),(0,P.recordEvent)("product_custom_fields_cancel_add_modal",{source:S.RG})}}),void 0!==u&&(0,n.createElement)(St,{initialValue:r[u],values:r,onUpdate:function(e){c(e,u),d(void 0)},onCancel:function(){d(void 0),(0,P.recordEvent)("product_custom_fields_cancel_edit_modal",{source:S.RG})}}))}const{name:Mt,...Nt}=at,Tt={example:{},edit:function({attributes:e}){const t=(0,s.useWooBlockProps)(e);return(0,n.createElement)("div",{...t},(0,n.createElement)(Vt,{renderActionButtonsWrapper:e=>(0,n.createElement)(st,null,e)}))}};function Lt(){return m({name:Mt,metadata:Nt,settings:Tt})}const Ft=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-custom-fields-toggle-field","title":"Product custom fields toggle control","category":"woocommerce","description":"The product custom fields toggle.","keywords":["products","custom","fields"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":true,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function Rt(){const[e,t]=(0,n.useState)(!1),{user:o,isRequesting:r}=(0,M.useUser)(),[a,c,l]=(0,u.useEntityProp)("root","user","metaboxhidden_product",o.id);return{isLoading:r||e,metaboxhiddenProduct:a,prevMetaboxhiddenProduct:l,setMetaboxhiddenProduct:c,saveMetaboxhiddenProduct:async function(e){try{t(!0);const{saveEntityRecord:r}=(0,i.dispatch)("core");return await r("root","user",{id:o.id,metaboxhidden_product:e})}finally{t(!1)}}}}const Dt="postcustom",{name:Ht,...It}=Ft,zt={example:{},edit:function({attributes:e}){const{label:t,_templateBlockId:o}=e,r=(0,s.useWooBlockProps)(e),a=(0,Se.useInnerBlocksProps)({className:"wp-block-woocommerce-product-custom-fields-toggle-field__inner-blocks"},{templateLock:"all",renderAppender:!1}),{isLoading:c,metaboxhiddenProduct:i,saveMetaboxhiddenProduct:l}=Rt(),u=(0,n.useMemo)((()=>i&&!i.some((e=>e===Dt))),[i]);return(0,n.createElement)("div",{...r},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-custom-fields-toggle-field__content"},(0,n.createElement)(v.ToggleControl,{label:t,checked:u,disabled:c,onChange:async function(e){const t=e?i.filter((e=>e!==Dt)):[...i,Dt];(0,P.recordEvent)("product_custom_fields_toggle_click",{block_id:o,source:S.RG,metaboxhidden_product:t}),await l(t)}}),c&&(0,n.createElement)(v.Spinner,null)),u&&(0,n.createElement)("div",{...a}))}};function jt(){return m({name:Ht,metadata:It,settings:zt})}const Ot=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-checkbox-field","title":"Product checkbox control","category":"woocommerce","description":"A reusable checkbox for the product editor.","keywords":["products","checkbox","input"],"textdomain":"default","attributes":{"title":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"property":{"type":"string"},"tooltip":{"type":"string"},"checkedValue":{"type":"string"},"uncheckedValue":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),Gt=function(e,t){var o;const r=e.startsWith("meta_data."),a=e.replace("meta_data.",""),[c,i]=(0,u.useEntityProp)("postType",(null==t?void 0:t.postType)||"product",e),[l,s]=(0,u.useEntityProp)("postType",(null==t?void 0:t.postType)||"product","meta_data"),d=(0,n.useMemo)((()=>l?l.find((e=>e.key===a)):null),[l,a]),m=(0,n.useCallback)((e=>{s(d?l.map((t=>t.key===a?{...t,value:e}:t)):[...l,{key:a,value:e}])}),[l,a,d]);return r?[null!==(o=null==d?void 0:d.value)&&void 0!==o?o:null==t?void 0:t.fallbackValue,m]:[c,i]},Zt=({value:e,label:t,onChange:o,tooltip:r,title:a,checkedValue:c,uncheckedValue:i,disabled:l})=>(0,n.createElement)("div",{className:"woocommerce-product-form__checkbox"},a&&(0,n.createElement)("h4",null,a),(0,n.createElement)("div",{className:"woocommerce-product-form__checkbox-wrapper"},(0,n.createElement)(v.CheckboxControl,{label:t,checked:void 0!==c?c===e:e,onChange:function(e){o(e?void 0!==c?c:e:void 0!==i?i:e)},disabled:l}),r&&(0,n.createElement)(h.__experimentalTooltip,{text:(0,n.createElement)("span",{dangerouslySetInnerHTML:vt(r)}),position:"top center",className:"woocommerce-product-form__checkbox-tooltip"},(0,n.createElement)("span",{className:"woocommerce-product-form__checkbox-tooltip-icon"},(0,n.createElement)(oe.Z,{icon:mt,size:21.94,fill:"#949494"}))))),{name:$t,...Ut}=Ot,qt={example:{},edit:function({attributes:e,context:{postType:t}}){const{property:o,title:r,label:a,tooltip:c,checkedValue:i,uncheckedValue:l,disabled:u}=e,d=(0,s.useWooBlockProps)(e),[m,p]=Gt(o,{postType:t,fallbackValue:!1});return(0,n.createElement)("div",{...d},(0,n.createElement)(Zt,{value:m||!1,onChange:p,label:a||"",title:r,tooltip:c,checkedValue:i,uncheckedValue:l,disabled:u}))}},Wt=()=>m({name:$t,metadata:Ut,settings:qt}),Jt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-collapsible","title":"Collapsible","category":"widgets","description":"Container with collapsible inner blocks.","textdomain":"default","attributes":{"toggleText":{"type":"string","__experimentalRole":"content"},"initialCollapsed":{"type":"boolean"},"persistRender":{"type":"boolean"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:Yt}=Jt,Xt={example:{},edit:function({attributes:e}){const t=(0,s.useWooBlockProps)(e),{toggleText:o,initialCollapsed:r,persistRender:a=!0}=e;return(0,n.createElement)("div",{...t},(0,n.createElement)(h.CollapsibleContent,{toggleText:o,initialCollapsed:r,persistRender:a},(0,n.createElement)(Se.InnerBlocks,{templateLock:"all"})))}},Kt=()=>m({name:Yt,metadata:Jt,settings:Xt}),Qt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/conditional","title":"Conditional","category":"widgets","description":"Container to only conditionally render inner blocks.","textdomain":"default","attributes":{"mustMatch":{"__experimentalRole":"content","type":"array","items":{"type":"object"},"default":[]}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}');var eo=__webpack_require__(37180),to=__webpack_require__.n(eo);const{name:oo}=Qt,ro={example:{},edit:function({attributes:e,context:t}){to()("`woocommerce/conditional` block",{alternative:"`hideConditions` attribute on any block"});const{postType:o}=t,r=(0,s.useWooBlockProps)(e),{mustMatch:a}=e,c=(0,u.useEntityId)("postType",o),l=(0,i.useSelect)((e=>{const t=e("core").getEditedEntityRecord("postType",o,c);for(const[e,o]of Object.entries(a))if(!o.includes(t[e]))return!1;return!0}),[o,c,a]);return(0,n.createElement)(h.DisplayState,{...r,state:l?"visible":"visually-hidden"},(0,n.createElement)(Se.InnerBlocks,{templateLock:"all"}))}},no=()=>m({name:oo,metadata:Qt,settings:ro}),ao=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})}),co=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-description-field","title":"Product description","category":"woocommerce","description":"The product description.","keywords":["products","description"],"textdomain":"default","attributes":{"__contentEditable":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":true}}');function io({nonAnimatedSrc:e,animatedSrc:t}){return(0,n.createElement)("picture",{className:"edit-post-welcome-guide__image"},(0,n.createElement)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),(0,n.createElement)("img",{src:t,width:"312",height:"240",alt:""}))}function lo(){const{toggle:e}=(0,i.useDispatch)("core/preferences");return(0,n.createElement)(v.Guide,{className:"edit-post-welcome-guide",contentLabel:(0,k.__)("Welcome to the block editor","woocommerce"),finishButtonText:(0,k.__)("Get started","woocommerce"),onFinish:()=>e("core/edit-post","welcomeGuide"),pages:[{image:(0,n.createElement)(io,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,k.__)("Welcome to the block editor","woocommerce")),(0,n.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,k.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.","woocommerce")))},{image:(0,n.createElement)(io,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,k.__)("Make each block your own","woocommerce")),(0,n.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,k.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.","woocommerce")))},{image:(0,n.createElement)(io,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,k.__)("Get to know the block library","woocommerce")),(0,n.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,n.createInterpolateElement)((0,k.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon.","woocommerce"),{InserterIconImage:(0,n.createElement)("img",{alt:(0,k.__)("inserter","woocommerce"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})))},{image:(0,n.createElement)(io,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,k.__)("Learn how to use the block editor","woocommerce")),(0,n.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,k.__)("New to the block editor? Want to learn more about using it? ","woocommerce"),(0,n.createElement)(v.ExternalLink,{href:(0,k.__)("https://wordpress.org/documentation/article/wordpress-block-editor/","woocommerce")},(0,k.__)("Here's a detailed guide.","woocommerce"))))}]})}function so(){const{isActive:e}=(0,i.useSelect)((e=>{const{get:t}=e("core/preferences");return{isActive:t("core/edit-post","welcomeGuide")}}),[]);return e?(0,n.createElement)(lo,null):null}var uo=__webpack_require__(56644);function mo({label:e=(0,k.__)("Edit Product description","woocommerce"),text:t=(0,k.__)("Full editor","woocommerce")}){const{openModalEditor:o,setModalEditorBlocks:a}=(0,i.dispatch)(r.h),[c]=(0,u.useEntityProp)("postType","product","description");return(0,n.createElement)(v.ToolbarButton,{label:e,onClick:()=>{if(function(){const e=(0,uo.B)();return e>=17.9&&e<18}()){if("true"!==(null===(e=localStorage.getItem("__unsupported_force_product_editor_description_full_editor"))||void 0===e?void 0:e.trim().toLowerCase()))return void alert((0,k.__)("The version of the Gutenberg plugin installed causes a crash in the full editor. To prevent this, the full editor has been disabled.","woocommerce"));alert((0,k.__)("The version of the Gutenberg plugin installed causes a crash in the full editor. You are proceeding at your own risk and may experience crashes.","woocommerce"))}var e;let t=(0,j.parse)(c);const r=po(t);r&&(t=(0,j.rawHandler)({HTML:r})),a(t),(0,P.recordEvent)("product_add_description_click"),o()}},t)}function po(e){return!(1!==e.length||"core/freeform"!==e[0].name)&&e[0].attributes.content}const ho=(0,c.createHigherOrderComponent)((e=>t=>{var o;return"woocommerce/product-summary-field"!==(null==t?void 0:t.name)||"product-description__content"!==(null===(o=null==t?void 0:t.attributes)||void 0===o?void 0:o._templateBlockId)?(0,n.createElement)(e,{...t}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Se.BlockControls,{group:"other"},(0,n.createElement)(mo,null)),(0,n.createElement)(e,{...t}))}),"wooBlockwithFullEditorToolbarButton"),{name:_o,...vo}=co,wo={example:{},edit:function({attributes:e}){const[t,o]=(0,u.useEntityProp)("postType","product","description"),[a,c]=(0,n.useState)([]),{isModalEditorOpen:l,modalEditorBlocks:d,hasChanged:m}=(0,i.useSelect)((e=>({isModalEditorOpen:e(r.h).isModalEditorOpen(),modalEditorBlocks:e(r.h).getModalEditorBlocks(),hasChanged:e(r.h).getModalEditorContentHasChanged()})),[]);(0,n.useEffect)((()=>{if(!t)return void c([]);if(-1===t.indexOf("\x3c!-- wp:"))return;const e=(0,j.parse)(t);po(e)||c(e)}),[t]),(0,n.useEffect)((()=>{if(!m)return;const e=(0,j.serialize)(d);o(e)}),[d,o,m]);const p=(0,s.useWooBlockProps)(e,{className:ce()({"has-blocks":!!t.length}),tabIndex:0}),h=(0,Se.useInnerBlocksProps)({},{templateLock:"contentOnly",allowedBlocks:["woocommerce/product-summary-field"]});return(0,n.createElement)("div",{...p},(null==a?void 0:a.length)?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Se.BlockControls,null,(0,n.createElement)(mo,{text:(0,k.__)("Edit in full editor","woocommerce")})),(0,n.createElement)(Se.BlockPreview,{blocks:a,viewportWidth:800,additionalStyles:[{css:"body { padding: 32px; height: 10000px }"}]})):(0,n.createElement)("div",{...h}),l&&(0,n.createElement)(so,null))},icon:ao},go=()=>m({name:_o,metadata:vo,settings:wo});(0,a.addFilter)("editor.BlockEdit","woocommerce/summary-block-with-full-editor-button",ho);const fo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-downloads-field","title":"Product downloads","category":"widgets","description":"The product downloads.","keywords":["products","downloads"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),Eo=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var bo=__webpack_require__(57207);const Co=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})}),xo=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});function yo(e){e.required=!0,e.setCustomValidity(""),e.validity.valueMissing&&e.setCustomValidity((0,k.__)("The URL is required","woocommerce")),e.validity.typeMismatch&&e.setCustomValidity((0,k.__)("Insert a valid URL","woocommerce"))}function ko({onLinkSuccess:e,onLinkError:t}){function o(o){o.preventDefault();const r=o.currentTarget,n=r.url;if(yo(n),r.checkValidity()){const t=r.url.value;e([{url:t}])}else t(n.validationMessage)}function r(e){yo(e.target)}function a(e){yo(e.target)}return(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"left"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{"aria-expanded":e,icon:Co,iconPosition:"left",onClick:t,info:(0,k.__)("Link to a file hosted elsewhere","woocommerce")},(0,k.__)("Insert from URL","woocommerce")),renderContent:()=>(0,n.createElement)("form",{className:"components-dropdown-menu__menu",noValidate:!0,onSubmit:o},(0,n.createElement)(v.__experimentalInputControl,{name:"url",type:"url",placeholder:(0,k.__)("Insert URL","woocommerce"),suffix:(0,n.createElement)(v.Button,{icon:xo,type:"submit"}),className:"woocommerce-inert-url-menu-item__input","aria-label":(0,k.__)("Insert URL","woocommerce"),onInput:r,onBlur:a}))})}const Ao=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.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"})});function So({allowedTypes:e,maxUploadFileSize:t,onUploadSuccess:o,onUploadError:r}){var a;const c=t||(null===(a=window.productBlockEditorSettings)||void 0===a?void 0:a.maxUploadFileSize)||10485760;return(0,n.createElement)(v.FormFileUpload,{multiple:!0,onChange:function(t){const n=t.currentTarget.files;(0,Ae.uploadMedia)({allowedTypes:e,filesList:n,maxUploadFileSize:c,onFileChange:o,onError:r,additionalData:{type:"downloadable_product"}})},render:({openFileDialog:e})=>(0,n.createElement)(v.MenuItem,{icon:Ao,iconPosition:"left",onClick:e,info:(0,k.__)("Select files from your device","woocommerce")},(0,k.__)("Upload","woocommerce"))})}function Po({allowedTypes:e,maxUploadFileSize:t,onUploadSuccess:o,onUploadError:r,onLinkError:a}){return(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"bottom-end"},contentClassName:"woocommerce-downloads-menu__menu-content",renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.Button,{"aria-expanded":e,icon:e?Eo:bo.Z,variant:"secondary",onClick:t,className:"woocommerce-downloads-menu__toggle"},(0,n.createElement)("span",null,(0,k.__)("Add new","woocommerce"))),renderContent:({onClose:c})=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(So,{allowedTypes:e,maxUploadFileSize:t,onUploadSuccess:e=>{o(e),c()},onUploadError:e=>{r(e),c()}}),(0,n.createElement)(ko,{onLinkSuccess:e=>{o(e),c()},onLinkError:e=>{a(e),c()}})))})}var Bo=__webpack_require__(3338);const Vo=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7 11.5h10V13H7z"})});function Mo(e){setTimeout((function(t){e.ownerDocument.activeElement===t&&t.select()}),0,e)}const No=/[^0-9,.\ -]/g,To=(0,n.forwardRef)((({id:e,value:t,onChange:o,label:r,suffix:a,help:i,error:l,onBlur:s,onFocus:u,required:d,tooltip:m,placeholder:p,disabled:h,step:_=1,min:w=-1/0,max:g=1/0},f)=>{const E=(0,c.useInstanceId)(v.BaseControl,"product_number_field"),b=null!=e?e:E,[C,x]=(0,n.useState)(!1),y=e=>{var t,o;(null===(o=null===(t=document.getElementById(b))||void 0===t?void 0:t.parentElement)||void 0===o?void 0:o.contains(e.relatedTarget))||(x(!1),null==s||s())},A=(({value:e,onChange:t,onFocus:o,onKeyDown:r,min:n,max:a})=>{const{formatNumber:c,parseNumber:i}=R();return{value:c(e),onFocus(e){Mo(e.currentTarget),o&&o(e)},onKeyUp(e){"ArrowUp"!==e.code&&"ArrowDown"!==e.code||e.preventDefault()},inputMode:"decimal",onKeyDown(o){const c=Number.parseFloat(e||"0"),i=Number(o.currentTarget.step||"1");"ArrowUp"===o.code&&(o.preventDefault(),c+i<=a&&t(String(c+i))),"ArrowDown"===o.code&&(o.preventDefault(),c-i>=n&&t(String(c-i))),r&&r(o)},onChange(e){let o=i(e.replace(No,""));const r=Number(o);o&&r>=a?o=String(a):o&&r<=n&&(o=String(n)),t(Number.isNaN(r)?"":o)}}})({value:t||"",onChange:o,onFocus:function(){x(!0),null==u||u()},min:w,max:g}),[S,P]=(0,n.useState)(0),B=(0,n.useRef)(null),V=(0,n.useRef)(!1);function M(){const e=parseFloat(t||"0")+S;e>=w&&e<=g&&o(String(e))}function N(){P(0)}function T(e){const r=parseFloat(t||"0")+e;r>=w&&r<=g&&(o(String(parseFloat(t||"0")+e)),P(e),V.current=!0)}return(0,n.useEffect)((()=>(0!==S?(B.current=setTimeout(M,V.current?500:100),V.current=!1):B.current&&clearTimeout(B.current),()=>{B.current&&clearTimeout(B.current)})),[S,t]),(0,n.createElement)(v.BaseControl,{className:ce()({"has-error":l}),id:b,label:(0,n.isValidElement)(r)?r:(0,n.createElement)(wt,{label:r,required:d,tooltip:m}),help:l||i},(0,n.createElement)(v.__experimentalInputControl,{...A,ref:f,step:_,disabled:h,autoComplete:"off",id:b,className:"woocommerce-number-control",suffix:(0,n.createElement)(n.Fragment,null,a,C&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Button,{className:"woocommerce-number-control__increment",icon:Bo.Z,disabled:parseFloat(t||"0")>=g,onMouseDown:()=>T(_),onMouseLeave:N,onMouseUp:N,onBlur:y,isSmall:!0,"aria-hidden":"true","aria-label":(0,k.__)("Increment","woocommerce"),tabIndex:-1}),(0,n.createElement)(v.Button,{icon:Vo,disabled:parseFloat(t||"0")<=w,className:"woocommerce-number-control__decrement",onBlur:y,onMouseDown:()=>T(-_),onMouseLeave:N,onMouseUp:N,isSmall:!0,"aria-hidden":"true","aria-label":(0,k.__)("Decrement","woocommerce"),tabIndex:-1}))),placeholder:p,onBlur:y}))})),Lo=0,Fo=1e10,Ro=0,Do=1e10;function Ho(e){return null===e?"0":-1===e?"":String(e)}function Io({initialValue:e,onSubmit:t,onClose:o}){const[r,a]=(0,n.useState)(Ho(e.downloadLimit)),[i,l]=(0,n.useState)(Ho(e.downloadExpiry)),[s,u]=(0,n.useState)({});function d(){return r&&!Number.isInteger(Number(r))?(u((e=>({...e,downloadLimit:(0,k.__)("Download limit must be an integer number","woocommerce")}))),!1):Number.parseInt(r,10)<Lo?(u((e=>({...e,downloadLimit:(0,k.sprintf)((0,k.__)("Download limit must be greater than or equal to %d","woocommerce"),Lo)}))),!1):(u((({downloadLimit:e,...t})=>t)),!0)}function m(){return i&&!Number.isInteger(Number(i))?(u((e=>({...e,downloadExpiry:(0,k.__)("Expiry period must be an integer number","woocommerce")}))),!1):Number.parseInt(i,10)<Ro?(u((e=>({...e,downloadExpiry:(0,k.sprintf)((0,k.__)("Expiry period must be greater than or equal to %d","woocommerce"),Ro)}))),!1):(u((({downloadExpiry:e,...t})=>t)),!0)}const p={value:r,onChange:a,id:(0,c.useInstanceId)(v.BaseControl,"product_download_limit_field"),min:Lo,max:Fo,className:ce()({"has-error":s.downloadLimit}),label:(0,k.__)("Download limit","woocommerce"),help:(0,k.__)("Decide how many times customers can download files after purchasing the product. Leave blank for unlimited re-downloads.","woocommerce"),error:s.downloadLimit,placeholder:(0,k.__)("Unlimited","woocommerce"),suffix:(0,k.__)("times","woocommerce"),onBlur(){d()}},h={value:i,onChange:l,id:(0,c.useInstanceId)(v.BaseControl,"product_download_expiry_field"),min:Ro,max:Do,className:ce()({"has-error":s.downloadExpiry}),label:(0,k.__)("Expiry period","woocommerce"),help:(0,k.__)("Decide how long customers can access the files after purchasing the product. Leave blank for unlimited access.","woocommerce"),error:s.downloadExpiry,placeholder:(0,k.__)("Unlimited","woocommerce"),suffix:(0,k.__)("days","woocommerce"),onBlur(){m()}};return(0,n.createElement)(v.Modal,{title:(0,k.__)("Manage download limits","woocommerce"),className:"woocommerce-manage-download-limits-modal",onRequestClose:o},(0,n.createElement)("form",{noValidate:!0,onSubmit:function(e){e.preventDefault();const o=d(),n=m();o&&n&&t({downloadLimit:""===r?-1:Number.parseInt(r,10),downloadExpiry:""===i?-1:Number.parseInt(i,10)})}},(0,n.createElement)("div",{className:"woocommerce-manage-download-limits-modal__content"},(0,n.createElement)(To,{...p}),(0,n.createElement)(To,{...h})),(0,n.createElement)("div",{className:"woocommerce-manage-download-limits-modal__actions"},(0,n.createElement)(v.Button,{variant:"tertiary",type:"button",onClick:function(){o()}},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",type:"submit"},(0,k.__)("Save","woocommerce")))))}var zo=__webpack_require__(65343);const jo=()=>(0,n.createElement)("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.25 6C0.25 5.0335 1.0335 4.25 2 4.25L3 4.25L3 5.75L2 5.75C1.86193 5.75 1.75 5.86193 1.75 6L1.75 14C1.75 14.1381 1.86193 14.25 2 14.25L8 14.25C8.13807 14.25 8.25 14.1381 8.25 14L8.25 13L9.75 13L9.75 14C9.75 14.9665 8.9665 15.75 8 15.75L2 15.75C1.0335 15.75 0.25 14.9665 0.25 14L0.25 6ZM6 0.25C5.0335 0.25 4.25 1.0335 4.25 2L4.25 10C4.25 10.9665 5.0335 11.75 6 11.75L12 11.75C12.9665 11.75 13.75 10.9665 13.75 10L13.75 2C13.75 1.0335 12.9665 0.249999 12 0.249999L6 0.25ZM5.75 2C5.75 1.86193 5.86193 1.75 6 1.75L12 1.75C12.1381 1.75 12.25 1.86193 12.25 2L12.25 10C12.25 10.1381 12.1381 10.25 12 10.25L6 10.25C5.86193 10.25 5.75 10.1381 5.75 10L5.75 2Z",fill:"#007CBA"})),Oo=()=>(0,n.createElement)("svg",{width:"56",height:"72",viewBox:"0 0 56 72",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.9551 0H1.41177C0.63207 0 0 0.632067 0 1.41176V70.5882C0 71.3679 0.632067 72 1.41176 72H54.5882C55.3679 72 56 71.3679 56 70.5882V17.9261L37.9551 0Z",fill:"#F0F0F0"}),(0,n.createElement)("rect",{x:"28.6191",y:"40.6892",width:"13.3101",height:"13.3107",rx:"2.85325",fill:"#DDDDDD"}),(0,n.createElement)("ellipse",{cx:"18.1551",cy:"47.3446",rx:"6.65505",ry:"6.65537",fill:"#DDDDDD"}),(0,n.createElement)("path",{d:"M25.9557 24.1401C26.5048 23.1889 27.8776 23.1889 28.4267 24.1401L34.6041 34.84C35.1531 35.7911 34.4668 36.9799 33.3686 36.9799H21.0139C19.9157 36.9799 19.2293 35.7911 19.7784 34.84L25.9557 24.1401Z",fill:"#DDDDDD"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.0005 9.53674e-05L56 17.9995H40.824C39.2646 17.9995 38.0005 16.7354 38.0005 15.176V9.53674e-05Z",fill:"#DDDDDD"})),Go=({downloadableItem:e,onCancel:t,onChange:o,onRemove:r,onSave:a})=>{const{createNotice:c}=(0,i.useDispatch)("core/notices"),[l,s]=(0,n.useState)(!1),{id:u=0,file:d="",name:m=""}=e;return(0,n.createElement)(v.Modal,{title:(0,k.sprintf)((0,k.__)("Edit %s","woocommerce"),m),onRequestClose:e=>{e.isPropagationStopped()||l||((0,P.recordEvent)("product_downloads_modal_cancel"),t())},className:"woocommerce-edit-downloads-modal"},(0,n.createElement)("div",{className:"woocommerce-edit-downloads-modal__preview"},(0,n.createElement)(h.ImageGallery,{allowDragging:!1,columns:1},((e="")=>{if(!e)return;const t=(e.split(".").pop()||"").toLowerCase();return["jpg","jpeg","png","gif","webp"].includes(t)})(d)?(0,n.createElement)(h.ImageGalleryItem,{key:u,alt:m,src:d,id:`${u}`,isCover:!1}):(0,n.createElement)(Oo,null)),(0,n.createElement)("div",{className:"components-form-file-upload"},(0,n.createElement)("p",null,m))),(0,n.createElement)(v.BaseControl,{id:"file-name-help",className:"woocommerce-edit-downloads-modal__file-name",help:(0,k.__)("Your customers will see this on the thank-you page and in their order confirmation email.","woocommerce")},(0,n.createElement)(v.__experimentalInputControl,{id:"file-name",label:(0,k.__)("FILE NAME","woocommerce"),name:"file-name",value:m||"",onChange:o})),(0,n.createElement)("div",{className:"woocommerce-edit-downloads-modal__file-url"},(0,n.createElement)(v.__experimentalInputControl,{disabled:!0,id:"file-url",label:(0,k.__)("FILE URL","woocommerce"),name:"file-url",value:d||"",suffix:(0,n.createElement)(v.Button,{icon:(0,n.createElement)(jo,null),onClick:async function(){(0,P.recordEvent)("product_downloads_modal_copy_url_to_clipboard"),s(!0),await async function(e){if("clipboard"in navigator)await navigator.clipboard.writeText(e);else{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}await void c("success",(0,k.__)("URL copied successfully.","woocommerce"))}(d),s(!1)}})})),(0,n.createElement)("div",{className:"woocommerce-edit-downloads-modal__buttons"},(0,n.createElement)("div",{className:"woocommerce-edit-downloads-modal__buttons-left"},(0,n.createElement)(v.Button,{icon:zo.Z,isDestructive:!0,variant:"tertiary",label:(0,k.__)("Delete","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_downloads_modal_delete"),r()}},(0,k.__)("Delete file","woocommerce"))),(0,n.createElement)("div",{className:"woocommerce-edit-downloads-modal__buttons-right"},(0,n.createElement)(v.Button,{label:(0,k.__)("Cancel","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_downloads_modal_cancel"),t()},variant:"tertiary"},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{label:(0,k.__)("Update","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_downloads_modal_update"),a()},variant:"primary"},(0,k.__)("Update","woocommerce")))))};function Zo(){return(0,n.createElement)("svg",{width:"104",height:"64",viewBox:"0 0 104 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M88.129 64C87.9065 64 87.6851 63.9941 87.4649 63.9823V64H61.888L56.6463 48.9818L68.2211 51.8173L51.9999 35.5945L35.7787 51.8173L47.3535 48.9818L42.1118 64H17.972V63.985C8.36383 63.5505 0.682007 53.7386 0.682007 41.6982C0.682007 29.3812 8.72077 19.3963 18.6371 19.3963C22.011 19.3963 25.1676 20.5522 27.8642 22.5626C32.3286 9.21729 41.8544 0 52.8848 0C65.7239 0 76.5246 12.4881 79.6776 29.4383C82.0937 27.4239 85.001 26.2488 88.129 26.2488C96.5176 26.2488 103.318 34.6997 103.318 45.1244C103.318 55.5491 96.5176 64 88.129 64Z",fill:"#F0F0F0"}))}function $o(e){var t;const[o]=null!==(t=null==e?void 0:e.split("/").reverse())&&void 0!==t?t:[];return o}function Uo(e){return e?String(e):""}function qo(e){return{...e,id:Uo(e.id)}}const{name:Wo,...Jo}=fo,Yo={example:{},edit:function({attributes:e,context:{postType:t}}){var o;const r=(0,s.useWooBlockProps)(e),[a,c]=(0,u.useEntityProp)("postType",t,"downloads"),[l,d]=(0,u.useEntityProp)("postType",t,"download_limit"),[m,p]=(0,u.useEntityProp)("postType",t,"download_expiry"),[_,w]=(0,n.useState)(),{allowedMimeTypes:g}=(0,i.useSelect)((e=>{const{getEditorSettings:t}=e("core/editor");return t()})),f=g?Object.values(g):[],{createErrorNotice:E}=(0,i.useDispatch)("core/notices"),[b,C]=(0,n.useState)(!1);function x(e){if(!Array.isArray(e))return;const t=e.filter((e=>!a.some((t=>t.file===e.url))));if(t.length!==e.length&&E(1===e.length?(0,k.__)("This file has already been added","woocommerce"):(0,k.__)("Some of these files have already been added","woocommerce")),t.length){const e=t.map((e=>({id:Uo(e.id),file:e.url,name:e.title||e.alt||e.caption||$o(e.url)}))),o=a.map(qo);o.push(...e),c(o)}}function y(e){const t=a.reduce((function(t,o){return o.file===e.file?t:[...t,qo(o)]}),[]);c(t)}function A(e){return function(){y(e)}}function S(e){return function(){w(qo(e))}}const P=function(e){E((0,k.sprintf)((0,k.__)("Error uploading file:%1$s%2$s","woocommerce"),"\n",e.message))};return(0,n.createElement)("div",{...r},(0,n.createElement)(st,null,Boolean(a.length)&&(0,n.createElement)(v.Button,{variant:"tertiary",onClick:function(){C(!0)}},(0,k.__)("Manage limits","woocommerce")),(0,n.createElement)(Po,{allowedTypes:f,onUploadSuccess:x,onUploadError:P,onLinkError:function(e){E((0,k.sprintf)((0,k.__)("Error linking file:%1$s%2$s","woocommerce"),"\n",e))}})),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-downloads-field__body"},(0,n.createElement)(h.MediaUploader,{label:Boolean(a.length)?"":(0,n.createElement)("div",{className:"wp-block-woocommerce-product-downloads-field__drop-zone-content"},(0,n.createElement)(Zo,null),(0,n.createElement)("p",{className:"wp-block-woocommerce-product-downloads-field__drop-zone-label"},(0,n.createInterpolateElement)((0,k.__)("Supported file types: <Types /> and more. <link>View all</link>","woocommerce"),{Types:(0,n.createElement)(n.Fragment,null,"PNG, JPG, PDF, PPT, DOC, MP3, MP4"),link:(0,n.createElement)("a",{href:"https://codex.wordpress.org/Uploading_Files",target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation()})}))),buttonText:"",allowedMediaTypes:f,multipleSelect:"add",maxUploadFileSize:null===(o=window.productBlockEditorSettings)||void 0===o?void 0:o.maxUploadFileSize,onUpload:x,onFileUploadChange:x,onError:P,additionalData:{type:"downloadable_product"}}),Boolean(a.length)&&(0,n.createElement)(h.Sortable,{className:"wp-block-woocommerce-product-downloads-field__table"},a.map((e=>{const t=$o(e.file),o=e.file.startsWith("blob");return(0,n.createElement)(h.ListItem,{key:e.file,className:"wp-block-woocommerce-product-downloads-field__table-row"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-downloads-field__table-filename"},(0,n.createElement)("span",null,e.name),e.name!==t&&(0,n.createElement)("span",{className:"wp-block-woocommerce-product-downloads-field__table-filename-description"},t)),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-downloads-field__table-actions"},o&&(0,n.createElement)(v.Spinner,{"aria-label":(0,k.__)("Uploading file","woocommerce")}),!o&&(0,n.createElement)(v.Button,{onClick:S(e),variant:"tertiary"},(0,k.__)("Edit","woocommerce")),(0,n.createElement)(v.Button,{icon:ze.Z,label:(0,k.__)("Remove file","woocommerce"),disabled:o,onClick:A(e)})))})))),b&&(0,n.createElement)(Io,{initialValue:{downloadLimit:l,downloadExpiry:m},onSubmit:function(e){d(e.downloadLimit),p(e.downloadExpiry),C(!1)},onClose:function(){C(!1)}}),_&&(0,n.createElement)(Go,{downloadableItem:{..._},onCancel:()=>w(null),onRemove:()=>{y(_),w(null)},onChange:e=>{w({..._,name:e})},onSave:(B=_,function(){const e=a.map(qo).map((e=>e.id===B.id?B:e));c(e),w(null)})}));var B}};function Xo(){return m({name:Wo,metadata:Jo,settings:Yo})}const Ko=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-images-field","title":"Product images","category":"widgets","description":"The product images.","keywords":["products","image","images","gallery"],"textdomain":"default","attributes":{"mediaId":{"type":"number","__experimentalRole":"content"},"property":{"type":"string"},"multiple":{"type":"boolean","default":true},"images":{"__experimentalRole":"content","type":"array","items":{"type":"number"},"default":[]}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}');function Qo({...e}){const t=(0,c.useInstanceId)(Qo,"clip-path"),o=(0,c.useInstanceId)(Qo,"clip-path"),r=(0,c.useInstanceId)(Qo,"clip-path"),a=(0,c.useInstanceId)(Qo,"clip-path"),i=(0,c.useInstanceId)(Qo,"filter");return(0,n.createElement)("svg",{"aria-hidden":"true",width:"330",height:"179",...e,viewBox:"0 0 330 179",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("g",{clipPath:`url(#${t})`},(0,n.createElement)("rect",{y:"34.9561",width:"115.163",height:"115.163",rx:"8",transform:"rotate(-9.4741 0 34.9561)",fill:"white"}),(0,n.createElement)("rect",{width:"118",height:"90",transform:"translate(0.671875 47.5995) rotate(-9.4741)",fill:"white"}),(0,n.createElement)("path",{d:"M75.235 56.0601C69.3054 57.0496 66.0444 58.6594 64.4714 61.2948C64.9933 56.6155 66.7756 52.8705 70.5469 49.1187C65.5862 50.6193 62.9649 53.0368 61.9995 56.0314C60.1145 53.5147 56.8502 52.0794 51.6706 52.2687C56.4559 54.5926 59.3572 57.5538 61.3707 61.8123C59.0272 59.8305 55.4201 59.3667 49.4906 60.3563C57.1121 62.4959 60.2617 64.7157 63.3629 69.1178L64.9571 68.8517C66.4609 63.6812 68.7212 60.5585 75.2328 56.0605L75.235 56.0601Z",fill:"#DDDDDD"}),(0,n.createElement)("path",{d:"M75.7883 109.541C77.9458 108.305 86.066 105.026 84.7028 96.8581C83.8932 92.0066 78.8948 89.0793 73.7718 89.0612C75.8672 87.9672 78.5654 84.2027 77.9617 80.585C77.1839 75.9242 72.6559 74.7684 69.0874 74.6227C68.9099 73.5588 71.8268 67.4299 71.8268 67.4299L55.982 70.0741C55.982 70.0741 60.731 74.9237 60.9085 75.9876C57.5783 77.2876 53.6734 79.8476 54.4511 84.5084C55.0549 88.1261 58.8293 90.8105 61.1664 91.1648C56.3243 92.8489 52.5503 97.2401 53.3594 102.089C54.723 110.26 63.4677 110.724 65.9092 111.19C60.5417 112.609 58.1704 115.192 58.0308 116.964L85.1178 112.444C84.4073 110.814 81.3259 109.141 75.7913 109.541L75.7883 109.541Z",fill:"#F0F0F0"})),(0,n.createElement)("rect",{x:"0.575481",y:"35.3669",width:"114.163",height:"114.163",rx:"7.5",transform:"rotate(-9.4741 0.575481 35.3669)",stroke:"#CCCCCC"}),(0,n.createElement)("g",{clipPath:`url(#${o})`},(0,n.createElement)("rect",{x:"106",y:"71",width:"108",height:"108",rx:"8",fill:"white"}),(0,n.createElement)("g",{clipPath:`url(#${a})`,filter:`url(#${i})`},(0,n.createElement)("rect",{width:"148",height:"113",transform:"translate(86 68.5)",fill:"white"}),(0,n.createElement)("path",{d:"M190.129 99.2362C176.411 99.2362 168.467 101.637 163.937 106.983C166.869 96.6368 172.287 88.8691 182.185 81.8339C170.456 83.3498 163.648 87.811 160.35 94.1951C157.053 87.8161 150.245 83.3549 138.516 81.8339C148.414 88.8691 153.832 96.6317 156.764 106.983C152.234 101.637 144.289 99.2362 130.572 99.2362C146.922 106.922 153.177 113.108 158.504 124.192H162.192C167.519 113.108 173.779 106.922 190.124 99.2362H190.129Z",fill:"#DDDDDD"}),(0,n.createElement)("path",{d:"M171.287 219.941C176.607 217.968 196.115 213.634 196.115 194.717C196.115 183.482 185.964 175.007 174.44 173.04C179.567 171.363 187.054 163.896 187.054 155.518C187.054 144.724 177.297 140.418 169.32 138.748C169.32 136.284 178.187 123.572 178.187 123.572H141.532C141.532 123.572 150.399 136.284 150.399 138.748C142.416 140.425 132.665 144.724 132.665 155.518C132.665 163.896 140.152 171.363 145.279 173.04C133.749 175.014 123.605 183.489 123.605 194.717C123.605 213.64 143.112 217.974 148.433 219.941C135.819 221.121 129.512 226.049 128.532 229.99H191.195C190.208 226.049 183.901 221.121 171.294 219.941H171.287Z",fill:"#F0F0F0"}))),(0,n.createElement)("rect",{x:"106.5",y:"71.5",width:"107",height:"107",rx:"7.5",stroke:"#CCCCCC"}),(0,n.createElement)("g",{clipPath:`url(#${r})`},(0,n.createElement)("rect",{x:"213.602",width:"117.576",height:"117.576",rx:"8",transform:"rotate(9.10319 213.602 0)",fill:"white"}),(0,n.createElement)("rect",{width:"118",height:"90",transform:"translate(211.211 13.5808) rotate(9.10319)",fill:"white"}),(0,n.createElement)("path",{d:"M279.072 45.3017C273.162 44.3548 269.574 44.8397 267.254 46.8279C269.231 42.5774 272.1 39.6085 276.85 37.264C271.692 37.1068 268.451 38.5568 266.591 41.0766C265.61 38.1037 262.985 35.7138 258.037 34.2496C261.815 37.9605 263.614 41.6752 264.164 46.3327C262.581 43.7191 259.324 42.1374 253.414 41.1905C259.928 45.6271 262.196 48.7209 263.727 53.8589L265.315 54.1135C268.375 49.7109 271.498 47.481 279.07 45.3014L279.072 45.3017Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M262.631 95.9482C265.059 95.466 273.762 94.9474 275.067 86.8065C275.842 81.9713 272.053 77.6233 267.224 75.9814C269.549 75.6136 273.289 72.9168 273.867 69.3112C274.611 64.666 270.704 62.1391 267.383 60.8697C267.553 59.8094 272.25 54.9507 272.25 54.9507L256.458 52.4204C256.458 52.4204 259.401 58.5033 259.232 59.5636C255.676 59.7342 251.179 60.9115 250.435 65.5567C249.857 69.1623 252.568 72.8927 254.661 73.9684C249.557 74.0219 244.603 76.9689 243.829 81.8012C242.524 89.945 250.629 93.1569 252.785 94.3706C247.27 94.0077 244.213 95.693 243.519 97.3212L270.515 101.647C270.362 99.8828 267.984 97.3268 262.634 95.9487L262.631 95.9482Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M239.562 96.9769C238.554 94.0517 238.285 89.8732 239.007 85.3673C239.729 80.8615 241.29 76.9762 243.162 74.5126L232.691 72.8348C233.7 75.76 233.969 79.9386 233.247 84.4444C232.525 88.9502 230.964 92.8356 229.091 95.2991L239.562 96.9769Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M241.466 51.1999L235.767 50.2867L218.224 70.9461L233.092 73.3285L242.508 74.8372L257.376 77.2196L247.166 52.1132L241.466 51.1999Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M253.979 68.868L224.06 64.0739L218.224 70.9461L253.979 68.868Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M250.583 60.513L229.897 57.1984L224.06 64.074L250.583 60.513Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M247.166 52.1131L235.767 50.2866L229.896 57.1984L247.166 52.1131Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M278.485 84.1128L296.917 87.0663L292.88 105.325L276.616 102.719L278.485 84.1128Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M290.23 80.8727C289.873 83.0995 287.856 84.6278 287.856 84.6278C287.856 84.6278 286.417 82.5457 286.774 80.3189C287.13 78.0921 289.148 76.5637 289.148 76.5637C289.148 76.5637 290.586 78.6458 290.23 80.8727Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M295.836 91.9567L277.984 89.0963L278.485 84.1128L296.917 87.0662L295.836 91.9567Z",fill:"#E0E0E0"})),(0,n.createElement)("rect",{x:"214.017",y:"0.572809",width:"116.576",height:"116.576",rx:"7.5",transform:"rotate(9.10319 214.017 0.572809)",stroke:"#CCCCCC"}),(0,n.createElement)("defs",null,(0,n.createElement)("filter",{id:i,x:"86",y:"52.5",width:"148",height:"129",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,n.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.createElement)("feOffset",{dy:"-16"}),(0,n.createElement)("feGaussianBlur",{stdDeviation:"15"}),(0,n.createElement)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,n.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"}),(0,n.createElement)("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_853_49189"})),(0,n.createElement)("clipPath",{id:t},(0,n.createElement)("rect",{y:"34.9561",width:"115.163",height:"115.163",rx:"8",transform:"rotate(-9.4741 0 34.9561)",fill:"white"})),(0,n.createElement)("clipPath",{id:o},(0,n.createElement)("rect",{x:"106",y:"71",width:"108",height:"108",rx:"8",fill:"white"})),(0,n.createElement)("clipPath",{id:a},(0,n.createElement)("rect",{width:"148",height:"113",fill:"white",transform:"translate(86 68.5)"})),(0,n.createElement)("clipPath",{id:r},(0,n.createElement)("rect",{x:"213.602",width:"117.576",height:"117.576",rx:"8",transform:"rotate(9.10319 213.602 0)",fill:"white"}))))}function er({...e}){return(0,n.createElement)("svg",{"aria-hidden":"true",width:"118",height:"90",...e,viewBox:"0 0 118 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("rect",{width:"118",height:"90",fill:"white"}),(0,n.createElement)("path",{d:"M87.3178 20.5954C81.3245 20.5954 77.8536 21.6433 75.8743 23.9767C77.1554 19.4609 79.5226 16.0706 83.8469 13.0001C78.7224 13.6617 75.748 15.6088 74.3073 18.3952C72.8666 15.6111 69.8921 13.664 64.7677 13.0001C69.092 16.0706 71.4591 19.4586 72.7403 23.9767C70.761 21.6433 67.29 20.5954 61.2968 20.5954C68.4404 23.9501 71.1732 26.6498 73.5005 31.4876H75.1119C77.4391 26.6498 80.1742 23.9501 87.3156 20.5954H87.3178Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M79.1522 73.2086C81.4767 72.3472 89.9997 70.4556 89.9997 62.1995C89.9997 57.2958 85.5649 53.5969 80.53 52.7385C82.7701 52.0066 86.0412 48.7475 86.0412 45.0908C86.0412 40.3799 81.7782 38.5004 78.293 37.7715C78.293 36.6961 82.1671 31.1479 82.1671 31.1479H66.1521C66.1521 31.1479 70.0262 36.6961 70.0262 37.7715C66.538 38.5034 62.278 40.3799 62.278 45.0908C62.278 48.7475 65.5491 52.0066 67.7892 52.7385C62.7513 53.6 58.3195 57.2988 58.3195 62.1995C58.3195 70.4586 66.8425 72.3502 69.167 73.2086C63.6558 73.7237 60.9002 75.8743 60.4721 77.5942H87.8501C87.419 75.8743 84.6634 73.7237 79.1552 73.2086H79.1522Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M46.2238 74.2966C48.1078 73.5972 55.012 72.0608 55.012 65.3537C55.012 61.3706 51.4192 58.3667 47.3387 57.6674C49.1518 57.0746 51.8026 54.4259 51.8026 51.4553C51.8026 47.6299 48.3494 46.1024 45.5256 45.5096C45.5256 44.6371 48.6641 40.1301 48.6641 40.1301H35.6913C35.6913 40.1301 38.8298 44.6371 38.8298 45.5096C36.0038 46.1024 32.5528 47.6299 32.5528 51.4553C32.5528 54.4237 35.2037 57.0724 37.0167 57.6674C32.9362 58.3667 29.3434 61.3706 29.3434 65.3537C29.3434 72.0608 36.2476 73.5972 38.1316 74.2966C33.6677 74.7162 31.4357 76.4635 31.0877 77.86H53.2677C52.9197 76.4635 50.6877 74.7162 46.2238 74.2966Z",fill:"white"}),(0,n.createElement)("path",{d:"M42.7052 42.1675C44.3669 32.7344 42.7487 24.8174 37.5744 22.5889C32.5593 20.4293 29.8663 22.9533 30.8901 25.0079C32.118 27.4704 35.8707 25.5778 39.1746 28.6657C42.2669 31.5556 42.3479 42.5139 42.3479 42.5139L42.7067 42.166L42.7052 42.1675Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M42.6524 39.8413C42.6524 39.8413 43.8097 32.2258 48.5682 28.928C53.2741 25.6661 57.914 27.5152 58.0851 29.3569C58.2562 31.1985 56.9968 32.3983 53.1886 32.3983C47.4889 32.3983 45.0782 34.8848 43.0997 39.9283C42.5458 41.341 42.6524 39.8413 42.6524 39.8413Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M43.4499 42.3579C43.4499 42.3579 42.2926 34.7424 37.5341 31.4446C32.8282 28.1827 28.1883 30.0319 28.0172 31.8735C27.8461 33.7151 28.9179 35.0424 34.0621 34.9149C39.5321 34.7784 42.1215 42.6159 42.1215 42.6159L43.4499 42.3594V42.3579Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M46.2243 74.2967C48.1083 73.5973 55.0125 72.061 55.0125 65.3538C55.0125 61.3708 51.4197 58.3668 47.3392 57.6675C49.1522 57.0747 51.8031 54.426 51.8031 51.4554C51.8031 47.63 48.3499 46.1025 45.5261 45.5097C45.5261 44.6372 48.6646 40.1302 48.6646 40.1302H35.6918C35.6918 40.1302 38.8303 44.6372 38.8303 45.5097C36.0043 46.1025 32.5533 47.63 32.5533 51.4554C32.5533 54.4238 35.2042 57.0725 37.0172 57.6675C32.9367 58.3668 29.3439 61.3708 29.3439 65.3538C29.3439 72.061 36.2481 73.5973 38.1321 74.2967C33.6682 74.7163 31.4362 76.4636 31.0882 77.8601H53.2682C52.9202 76.4636 50.6882 74.7163 46.2243 74.2967Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M42.1795 62.7139C37.4341 62.7139 33.8368 61.8391 30.889 61.1065C29.927 62.3054 29.3463 63.7485 29.3463 65.3515C29.3463 66.8035 29.6699 68.0113 30.1974 69.0215C33.6351 70.1893 36.9177 70.771 42.1817 70.771C47.4458 70.771 50.7284 70.1893 54.1661 69.0215C54.6914 68.0113 55.0172 66.8013 55.0172 65.3515C55.0172 63.7485 54.4342 62.3054 53.4745 61.1065C50.5267 61.8391 46.9294 62.7139 42.184 62.7139H42.1795Z",fill:"#E0E0E0"}),(0,n.createElement)("path",{d:"M51.4907 53.2537C51.6901 52.6786 51.8054 52.0747 51.8054 51.4575C51.8054 50.4696 51.5727 49.6348 51.1826 48.9287C49.7308 49.597 45.9163 50.5894 42.1794 50.5894C38.4424 50.5894 34.6279 49.597 33.1762 48.9287C32.7861 49.6348 32.5533 50.4673 32.5533 51.4575C32.5533 52.077 32.6686 52.6809 32.8681 53.2537C35.2907 54.1417 38.735 54.8566 42.1794 54.8566C45.6237 54.8566 49.0659 54.1417 51.4907 53.2537Z",fill:"#E0E0E0"}))}function tr({multiple:e=!0}){return(0,n.createElement)("div",{className:"woocommerce-image-placeholder__wrapper"},e?(0,n.createElement)(Qo,null):(0,n.createElement)(er,null),(0,n.createElement)("p",null,e?(0,k.__)("For best results, offer a variety of product images, like close-up details, lifestyle scenes, and color variations.","woocommerce"):(0,k.__)("Add an image which displays the unique characteristics of this variation.","woocommerce")))}function or(e){return e.id?{id:e.id,name:e.title,src:e.url,alt:e.alt}:null}const{name:rr}=Ko,nr={example:{},edit:function({attributes:e,context:t}){var o,r;const{property:a,multiple:c}=e,[l,d]=(0,u.useEntityProp)("postType",t.postType,a),[m,p]=(0,n.useState)(!1),[_,w]=(0,n.useState)(!1),[g,f]=(0,n.useState)(null),E=(0,s.useWooBlockProps)(e,{className:ce()({"has-images":Array.isArray(l)?l.length>0:Boolean(l)})}),{createErrorNotice:b}=(0,i.useDispatch)("core/notices");function C(e){return function(t){var o;if((0,P.recordEvent)(e),Array.isArray(t)){const e=t.filter((e=>e.id)).map((e=>({id:e.id,name:e.title,src:e.url,alt:e.alt})));(null===(o=t[0])||void 0===o?void 0:o.id)&&d([...l,...e])}else t.id&&d(or(t))}}const x=null!==l&&(!Array.isArray(l)||l.length>0);return(0,n.createElement)("div",{...E},(0,n.createElement)("div",{className:"woocommerce-product-form__image-drop-zone"},m?(0,n.createElement)("div",{className:"woocommerce-product-form__remove-image-drop-zone"},(0,n.createElement)("span",null,(0,n.createElement)(oe.Z,{icon:zo.Z,size:20,className:"icon-control"}),(0,k.__)("Drop here to remove","woocommerce")),(0,n.createElement)(v.DropZone,{onHTMLDrop:()=>w(!0),onDrop:()=>w(!0),label:(0,k.__)("Drop here to remove","woocommerce")})):(0,n.createElement)(st,null,(0,n.createElement)("div",{className:"woocommerce-product-form__media-uploader"},(0,n.createElement)(h.MediaUploader,{value:Array.isArray(l)?l.map((({id:e})=>e)):null!==(o=null==l?void 0:l.id)&&void 0!==o?o:void 0,multipleSelect:!!c&&"add",maxUploadFileSize:null===(r=window.productBlockEditorSettings)||void 0===r?void 0:r.maxUploadFileSize,onError:function(e){b((0,k.sprintf)((0,k.__)("Error uploading image:%1$s%2$s","woocommerce"),"\n",e.message))},onFileUploadChange:C("product_images_add_via_file_upload_area"),onMediaGalleryOpen:()=>{(0,P.recordEvent)("product_images_media_gallery_open")},onSelect:function(e){if((0,P.recordEvent)("product_images_add_via_media_library"),Array.isArray(e)){const t=e.map(or).filter((e=>null!==e));d(t)}else d(or(e))},onUpload:C("product_images_add_via_drag_and_drop_upload"),label:"",buttonText:(0,k.__)("Choose an image","woocommerce")})))),x?(0,n.createElement)(h.ImageGallery,{allowDragging:!1,onDragStart:function(e){var t,o;if(Array.isArray(l)){const{id:r,dataset:n}=e.target;if(r)f(parseInt(r,10));else if(null==n?void 0:n.index){const e=parseInt(n.index,10);f(null!==(o=null===(t=l[e])||void 0===t?void 0:t.id)&&void 0!==o?o:null)}p((e=>!e))}},onDragEnd:function(){Array.isArray(l)&&(_&&g&&((0,P.recordEvent)("product_images_remove_image_button_click"),d(l.filter((e=>e.id!==g))),w(!1),f(null)),p((e=>!e)))},onOrderChange:function(e){if(Array.isArray(l)){const t=l.reduce(((e,t)=>({...e,[`${t.id}`]:t})),{}),o=e.filter((e=>{var o;return(null===(o=null==e?void 0:e.props)||void 0===o?void 0:o.id)in t})).map((e=>{var o;return t[null===(o=null==e?void 0:e.props)||void 0===o?void 0:o.id]}));(0,P.recordEvent)("product_images_change_image_order_via_image_gallery"),d(o)}},onReplace:function({replaceIndex:e,media:t}){if((0,P.recordEvent)("product_images_replace_image_button_click"),Array.isArray(l)){if(l.some((e=>t.id===e.id)))return;const o=or(t);if(o){const t=[...l];t[e]=o,d(t)}}else d(or(t))},onRemove:function({removedItem:e}){if((0,P.recordEvent)("product_images_remove_image_button_click"),Array.isArray(l)){const t=l.filter((t=>String(t.id)!==e.props.id));d(t)}else d(null)},onSelectAsCover:()=>(0,P.recordEvent)("product_images_select_image_as_cover_button_click")},(Array.isArray(l)?l:[l]).map(((e,t)=>(0,n.createElement)(h.ImageGalleryItem,{key:e.id,alt:e.alt,src:e.src,id:`${e.id}`,isCover:c&&0===t})))):(0,n.createElement)(tr,{multiple:c}))}},ar=()=>m({name:rr,metadata:Ko,settings:nr}),cr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-inventory-email-field","title":"Stock level threshold","category":"widgets","description":"Stock management minimum quantity.","keywords":["products","inventory","email","minimum"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');var ir=__webpack_require__(74617);function lr(e,t,o=[]){var r;const a=(0,n.useContext)(He._),[c,i]=(0,n.useState)(!1),l=(0,n.useMemo)((()=>a.registerValidator(e,t)),[e,...o]);return(0,n.useEffect)((()=>()=>{a.unRegisterValidator(e)}),[]),{ref:l,error:null===(r=a.errors[e])||void 0===r?void 0:r.message,isValidating:c,validate:async t=>(i(!0),a.validateField(e,t).finally((()=>{i(!1)})))}}const{name:sr,...ur}=cr,dr={example:{},edit:function({attributes:e,clientId:t}){const o=(0,s.useWooBlockProps)(e),r=(0,ir.getSetting)("notifyLowStockAmount",2),[a,i]=(0,u.useEntityProp)("postType","product","low_stock_amount"),l=(0,c.useInstanceId)(v.BaseControl,"low_stock_amount"),{ref:d,error:m,validate:p}=lr(`low_stock_amount-${t}`,(async function(){if(a&&a<0)return{message:(0,k.__)("This field must be a positive number.","woocommerce")}}),[a]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{...o},(0,n.createElement)("div",{className:"wp-block-columns"},(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(v.BaseControl,{id:l,label:(0,k.__)("Email me when stock reaches","woocommerce"),help:m||(0,n.createInterpolateElement)((0,k.__)("Make sure to enable notifications in <link>store settings.</link>","woocommerce"),{link:(0,n.createElement)(h.Link,{href:`${(0,ir.getSetting)("adminUrl")}admin.php?page=wc-settings&tab=products§ion=inventory`,target:"_blank",type:"external"})}),className:m&&"has-error"},(0,n.createElement)(v.__experimentalInputControl,{id:l,ref:d,name:"low_stock_amount",placeholder:(0,k.sprintf)((0,k.__)("%d (store default)","woocommerce"),r),onChange:i,onBlur:p,value:a,type:"number",min:0}))),(0,n.createElement)("div",{className:"wp-block-column"}))))}};function mr(){return m({name:sr,metadata:ur,settings:dr})}const pr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-sku-field","title":"Product text control","category":"woocommerce","description":"The product sku.","keywords":["products","sku"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),{name:hr,..._r}=pr,vr={example:{},edit:function({attributes:e,context:t}){const o=(0,s.useWooBlockProps)(e),[r,a]=(0,u.useEntityProp)("postType",t.postType,"sku"),{ref:i}=lr("sku",(async function(){}),[r]),l=(0,c.useInstanceId)(v.BaseControl,"product_sku");return(0,n.createElement)("div",{...o},(0,n.createElement)(v.BaseControl,{id:l,className:"woocommerce-product-form_inventory-sku",label:(0,n.createInterpolateElement)((0,k.__)("Sku <description />","woocommerce"),{description:(0,n.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,k.__)("(STOCK KEEPING UNIT)","woocommerce"))})},(0,n.createElement)(v.__experimentalInputControl,{ref:i,id:l,name:"woocommerce-product-sku",onChange:a,value:r||"",disabled:e.disabled})))}},wr=()=>m({name:hr,metadata:_r,settings:vr}),gr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-name-field","title":"Product name","category":"widgets","description":"The product name.","keywords":["products","name","title"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"autoFocus":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),fr=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})}),Er=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"})}),{name:br}=gr,Cr={example:{},edit:function({attributes:e,clientId:t}){const o=(0,s.useWooBlockProps)(e),{editEntityRecord:r,saveEntityRecord:a}=(0,i.useDispatch)("core"),{hasEdit:l}=Ve(),[d,m]=(0,n.useState)(!1),p=(0,u.useEntityId)("postType","product"),h=(0,i.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",p))),[_,w]=(0,u.useEntityProp)("postType","product","sku"),[g,f]=(0,u.useEntityProp)("postType","product","name"),{prefix:E,suffix:b}=D(h),{ref:C,error:x,validate:y}=lr("name",(async function(){return g&&g!==L.Ie?g.length>120?{message:(0,k.__)("Please enter a product name shorter than 120 characters.","woocommerce")}:void 0:{message:(0,k.__)("Product name is required.","woocommerce")}}),[g]),S=null!=x?x:p&&["publish","draft"].includes(h.status)&&E&&(0,n.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,k.__)("Product link","woocommerce"),": ",(0,n.createElement)("a",{href:h.permalink,target:"_blank",rel:"noreferrer"},E,h.slug||(0,A.cleanForSlug)(g),b),(0,n.createElement)(v.Button,{variant:"link",onClick:()=>m(!0)},(0,k.__)("Edit","woocommerce"))),P=(0,c.useInstanceId)(v.BaseControl,"product_name"),{selectBlock:V}=(0,i.useDispatch)("core/block-editor");(0,n.useEffect)((()=>{e.autoFocus&&V(t)}),[]);const[M,N]=Gt("featured");function T(){N(!M)}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{...o},(0,n.createElement)(v.BaseControl,{id:P,label:(0,n.createElement)(wt,{label:(0,k.__)("Name","woocommerce"),required:!0}),className:ce()({"has-error":x}),help:S},(0,n.createElement)(v.__experimentalInputControl,{id:P,ref:C,name:"name",autoFocus:e.autoFocus,placeholder:(0,k.__)("e.g. 12 oz Coffee Mug","woocommerce"),onChange:f,value:g&&g!==L.Ie?g:"",autoComplete:"off","data-1p-ignore":!0,onBlur:()=>{l("name")&&(_||x||w((0,A.cleanForSlug)(g)),y())},suffix:function(){const e=(0,k.__)("Mark as featured","woocommerce"),t=(0,k.__)("Unmark as featured","woocommerce"),o=M?t:e;return(0,n.createElement)(v.Tooltip,{text:o,position:"top center"},M?(0,n.createElement)(v.Button,{icon:fr,"aria-label":t,onClick:T}):(0,n.createElement)(v.Button,{icon:Er,"aria-label":e,onClick:T}))}()})),d&&(0,n.createElement)(B,{permalinkPrefix:E||"",permalinkSuffix:b||"",product:h,onCancel:()=>m(!1),onSaved:()=>m(!1),saveHandler:async e=>{const{slug:t,permalink:o}=await a("postType","product",{id:h.id,slug:e});if(t&&o)return r("postType","product",h.id,{slug:t,permalink:o}),{slug:t,permalink:o}}})))}},xr=()=>m({name:br,metadata:gr,settings:Cr}),yr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-pricing-field","description":"A product price block with currency display.","title":"Product pricing","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"property":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"help":{"type":"string"},"tooltip":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),kr=(e,t,o)=>{const{decimalSeparator:r,thousandSeparator:n}=t,a=new RegExp(L.aT.replace("%s1",r).replace("%s2",n),"g");return void 0===e?e:o(e).replace(a,"")},Ar=1e18,Sr=({value:e,onChange:t,onFocus:o,onKeyUp:r})=>{const{sanitizePrice:a}=R(),c=(0,n.useContext)(N.CurrencyContext),{getCurrencyConfig:i,formatAmount:l}=c,s=i();return{prefix:s.symbol,className:"components-currency-control",value:kr(String(e),s,l),sanitize:e=>a(String(e)),onFocus(e){Mo(e.currentTarget),o&&o(e)},onKeyUp(o){const n=Number.parseFloat(a(e||"0")),c=Number(o.currentTarget.step||"1");"ArrowUp"===o.code&&t(String(n+c)),"ArrowDown"===o.code&&t(String(n-c)),r&&r(o)},onChange(e){const o=a(e);t&&t(Number(o)<=Ar?o:String(Ar))}}},{name:Pr,...Br}=yr,Vr={example:{},edit:function({attributes:e,context:{postType:t}}){const o=(0,s.useWooBlockProps)(e),{property:r,label:a=(0,k.__)("Price","woocommerce"),help:i,disabled:l,tooltip:u}=e,[d,m]=Gt(r,{postType:t,fallbackValue:""}),p=Sr({value:d||"",onChange:m}),_=i?(0,n.createInterpolateElement)(i,{PricingTab:(0,n.createElement)(h.Link,{href:(0,Q.getNewPath)({tab:"pricing"}),onClick:()=>{(0,P.recordEvent)("product_pricing_help_click")}})}):null,w=(0,c.useInstanceId)(v.BaseControl,"wp-block-woocommerce-product-pricing-field");return(0,n.createElement)("div",{...o},(0,n.createElement)(v.BaseControl,{id:w,help:_},(0,n.createElement)(v.__experimentalInputControl,{...p,disabled:l,id:w,name:r,label:u?(0,n.createElement)(wt,{label:a,tooltip:u}):a})))}};function Mr(){return m({name:Pr,metadata:Br,settings:Vr})}const Nr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-radio-field","title":"Product radio control","category":"woocommerce","description":"The product radio.","keywords":["products","radio","input"],"textdomain":"default","attributes":{"title":{"type":"string"},"description":{"type":"string"},"property":{"type":"string"},"options":{"type":"array","items":{"type":"object"},"default":[],"__experimentalRole":"content"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"]}');function Tr({title:e,description:t,className:o,...r}){return(0,n.createElement)(v.RadioControl,{...r,className:ce()(o,"woocommerce-radio-field"),label:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",{className:"woocommerce-radio-field__title"},e),t&&(0,n.createElement)("span",{className:"woocommerce-radio-field__description",dangerouslySetInnerHTML:vt(t)}))})}const{name:Lr,...Fr}=Nr,Rr={example:{},edit:function({attributes:e,context:{postType:t}}){const o=(0,s.useWooBlockProps)(e),{description:r,options:a,property:c,title:i,disabled:l}=e,[u,d]=Gt(c,{postType:t,fallbackValue:""});return(0,n.createElement)("div",{...o},(0,n.createElement)(Tr,{title:i,description:r,selected:u,options:a,onChange:e=>d(e||""),disabled:l}))}};function Dr(){return m({name:Lr,metadata:Fr,settings:Rr})}const Hr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-regular-price-field","description":"A product price block with currency display.","title":"Product regular price","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"help":{"type":"string"},"isRequired":{"type":"boolean","default":false},"tooltip":{"type":"string"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"],"editorStyle":"file:./editor.css"}'),{name:Ir,...zr}=Hr,jr={example:{},edit:function({attributes:e,clientId:t,context:o}){const r=(0,s.useWooBlockProps)(e),{label:a,help:i,isRequired:l,tooltip:d,disabled:m}=e,[p,h]=(0,u.useEntityProp)("postType",o.postType||"product","regular_price"),[_]=(0,u.useEntityProp)("postType",o.postType||"product","sale_price"),w=Sr({value:p,onChange:h}),g=(0,c.useInstanceId)(v.BaseControl,"wp-block-woocommerce-product-regular-price-field"),{ref:f,error:E,validate:b}=lr(`regular_price-${t}`,(async function(){const e=Number.parseFloat(p);if(e){if(e<0)return{message:(0,k.__)("Regular price must be greater than or equals to zero.","woocommerce")};if(_&&e<=Number.parseFloat(_))return{message:(0,k.__)("Regular price must be greater than the sale price.","woocommerce")}}else if(l)return{message:(0,k.sprintf)((0,k.__)("%s is required.","woocommerce"),a)}}),[p,_]);return(0,n.useEffect)((()=>{l&&b()}),[]),(0,n.createElement)("div",{...r},(0,n.createElement)(v.BaseControl,{id:g,help:E||function(){if(i)return(0,n.createElement)("span",{dangerouslySetInnerHTML:vt(i)})}(),className:ce()({"has-error":E})},(0,n.createElement)(v.__experimentalInputControl,{...w,id:g,name:"regular_price",inputMode:"decimal",ref:f,label:d?(0,n.createElement)(wt,{label:a,tooltip:d}):a,disabled:m,onBlur:b})))}};function Or(){return m({name:Ir,metadata:zr,settings:jr})}const Gr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-sale-price-field","description":"A product price block with currency display.","title":"Product sale price","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"help":{"type":"string"},"tooltip":{"type":"string"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"],"editorStyle":"file:./editor.css"}'),{name:Zr,...$r}=Gr,Ur={example:{},edit:function({attributes:e,clientId:t,context:o}){const r=(0,s.useWooBlockProps)(e),{label:a,help:i,tooltip:l,disabled:d}=e,[m]=(0,u.useEntityProp)("postType",o.postType||"product","regular_price"),[p,h]=(0,u.useEntityProp)("postType",o.postType||"product","sale_price"),_=Sr({value:p,onChange:h}),w=(0,c.useInstanceId)(v.BaseControl,"wp-block-woocommerce-product-sale-price-field"),{ref:g,error:f,validate:E}=lr(`sale-price-${t}`,(async function(){if(p){if(Number.parseFloat(p)<0)return{message:(0,k.__)("Sale price must be greater than or equals to zero.","woocommerce")};const e=Number.parseFloat(m);if(!e||e<=Number.parseFloat(p))return{message:(0,k.__)("Sale price must be lower than the regular price.","woocommerce")}}}),[m,p]);return(0,n.createElement)("div",{...r},(0,n.createElement)(v.BaseControl,{id:w,help:f||i,className:ce()({"has-error":f})},(0,n.createElement)(v.__experimentalInputControl,{..._,id:w,name:"sale_price",inputMode:"decimal",ref:g,label:l?(0,n.createElement)(wt,{label:a,tooltip:l}):a,disabled:d,onBlur:E})))}};function qr(){return m({name:Zr,metadata:$r,settings:Ur})}const Wr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-schedule-sale-fields","title":"Product schedule sale fields","category":"woocommerce","description":"The product schedule sale fields.","keywords":["products","schedule","sale"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),Jr=window.moment;var Yr=__webpack_require__.n(Jr);const{name:Xr,...Kr}=Wr,Qr={example:{},edit:function({attributes:e,clientId:t,context:o}){const r=(0,s.useWooBlockProps)(e),{hasEdit:a}=Ve(),c=(0,je.getSettings)().formats.datetime,[i,l]=(0,n.useState)(!1),[d]=(0,u.useEntityProp)("postType",o.postType||"product","sale_price"),m=Number.parseFloat(d||"0")>0,[p,_]=(0,u.useEntityProp)("postType",o.postType||"product","date_on_sale_from_gmt"),[w,g]=(0,u.useEntityProp)("postType",o.postType||"product","date_on_sale_to_gmt"),f=Yr()().startOf("minute").toISOString();(0,n.useEffect)((()=>{a("sale_price")&&!m&&(l(!1),_(""),g(""))}),[m]),(0,n.useEffect)((()=>{(p||w)&&l(!0)}),[p,w]);const E=Yr()(p,Yr().ISO_8601,!0),b=Yr()(w,Yr().ISO_8601,!0),{ref:C,error:x,validate:y}=lr(`date_on_sale_from_gmt-${t}`,(async function(){if(i&&p){if(!E.isValid())return{message:(0,k.__)("Please enter a valid date.","woocommerce")};if(E.isAfter(b))return{message:(0,k.__)("The start date of the sale must be before the end date.","woocommerce")}}}),[i,p,E,b]),{ref:A,error:S,validate:B}=lr(`date_on_sale_to_gmt-${t}`,(async function(){if(i&&w){if(!b.isValid())return{message:(0,k.__)("Please enter a valid date.","woocommerce")};if(b.isBefore(E))return{message:(0,k.__)("The end date of the sale must be after the start date.","woocommerce")}}}),[i,p,E,b]);return(0,n.createElement)("div",{...r},(0,n.createElement)(v.ToggleControl,{label:(0,k.__)("Schedule sale","woocommerce"),checked:i,onChange:function(e){(0,P.recordEvent)("product_pricing_schedule_sale_toggle_click",{enabled:e}),l(e),e?(_(f),g("")):(_(""),g(""))},disabled:!m}),i&&(0,n.createElement)("div",{className:"wp-block-columns wp-block-woocommerce-product-schedule-sale-fields__content"},(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(h.DateTimePickerControl,{ref:C,label:(0,k.__)("From","woocommerce"),placeholder:(0,k.__)("Sale start date and time (optional)","woocommerce"),dateTimeFormat:c,currentDate:p,onChange:_,className:x&&"has-error",help:x,onBlur:()=>y()})),(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(h.DateTimePickerControl,{ref:A,label:(0,k.__)("To","woocommerce"),placeholder:(0,k.__)("Sale end date and time (optional)","woocommerce"),dateTimeFormat:c,currentDate:w,onChange:e=>g(Yr()(e).startOf("minute").toISOString()),onBlur:()=>B(),className:S&&"has-error",help:S}))))}};function en(){return m({name:Xr,metadata:Kr,settings:Qr})}const tn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-section","title":"Product section","category":"woocommerce","description":"The product section.","keywords":["products","section","group"],"textdomain":"default","attributes":{"title":{"type":"string"},"description":{"type":"string","__experimentalRole":"content"},"blockGap":{"type":"string","enum":["unit-20","unit-30","unit-40"],"default":"unit-20"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function on({name:e,...t}){const{clientId:o}=(0,Se.useBlockEditContext)();return(0,n.createElement)(v.Slot,{...t,name:ct(e,o)})}function rn({description:e,sectionTagName:t,title:o}){const r="fieldset"===t?"legend":"div";return(0,n.createElement)(r,{className:"wp-block-woocommerce-product-section-header__heading"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section-header__heading-title-wrapper"},(0,n.createElement)("h2",{className:"wp-block-woocommerce-product-section-header__heading-title"},o,e&&(0,n.createElement)(h.__experimentalTooltip,{className:"wp-block-woocommerce-product-section-header__heading-tooltip",text:(0,n.createElement)("p",{className:"wp-block-woocommerce-product-section-header__heading-description",dangerouslySetInnerHTML:vt(e)}),position:"bottom center",helperText:(0,k.__)("View helper text","woocommerce")})),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-section-header__actions"},(0,n.createElement)(on,{name:"section-actions"}))),(0,n.createElement)(on,{name:"section-description"}))}const{name:nn,...an}=tn,cn={example:{},edit:function({attributes:e}){const{description:t,title:o,blockGap:r}=e,a=(0,s.useWooBlockProps)(e),c=(0,Se.useInnerBlocksProps)({className:ce()("wp-block-woocommerce-product-section-header__content",`wp-block-woocommerce-product-section-header__content--block-gap-${r}`)},{templateLock:"all"}),i=o?"fieldset":"div";return(0,n.createElement)(i,{...a},o&&(0,n.createElement)(rn,{description:t,sectionTagName:i,title:o}),(0,n.createElement)("div",{...c}))}};function ln(){return m({name:nn,metadata:an,settings:cn})}const sn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-section-description","title":"Product section description","category":"woocommerce","description":"The product section description.","keywords":["products","section","description"],"textdomain":"default","attributes":{"content":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:un,...dn}=sn,mn={example:{},edit:function({attributes:e}){const{content:t}=e,o=(0,s.useWooBlockProps)(e);return(0,n.createElement)(it,{...o,name:"section-description",slotContainerBlockName:"woocommerce/product-section"},(0,n.createElement)("div",null,t))}};function pn(){return m({name:un,metadata:dn,settings:mn})}const hn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-subsection","title":"Product subsection","category":"woocommerce","description":"The product subsection.","keywords":["products","subsection","group"],"textdomain":"default","attributes":{"title":{"type":"string"},"description":{"type":"string","__experimentalRole":"content"},"blockGap":{"type":"string","enum":["unit-20","unit-30","unit-40"],"default":"unit-20"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:_n,...vn}=hn,wn={example:{},edit:function({attributes:e}){const{description:t,title:o,blockGap:r}=e,a=(0,s.useWooBlockProps)(e),c=(0,Se.useInnerBlocksProps)({className:ce()("wp-block-woocommerce-product-section-header__content",`wp-block-woocommerce-product-section-header__content--block-gap-${r}`)},{templateLock:"all"}),i=o?"fieldset":"div";return(0,n.createElement)(i,{...a},o&&(0,n.createElement)(rn,{description:t,sectionTagName:i,title:o}),(0,n.createElement)("div",{...c}))}};function gn(){return m({name:_n,metadata:vn,settings:wn})}const fn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-subsection-description","title":"Product subsection description","category":"woocommerce","description":"The product subsection description.","keywords":["products","subsection","description"],"textdomain":"default","attributes":{"content":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:En,...bn}=fn,Cn={example:{},edit:function({attributes:e}){const{content:t}=e,o=(0,s.useWooBlockProps)(e);return(0,n.createElement)(it,{...o,name:"section-description",slotContainerBlockName:"woocommerce/product-subsection"},(0,n.createElement)("div",null,t))}};function xn(){return m({name:En,metadata:bn,settings:Cn})}const yn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-shipping-class-field","title":"Product shipping class field","category":"woocommerce","description":"The product shipping class field.","keywords":["products","shipping","class"],"textdomain":"default","attributes":{"title":{"type":"string","__experimentalRole":"content"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType","isInSelectedTab"]}');function kn({onAdd:e,onCancel:t}){var o;const{errors:r,getInputProps:a,isValidForm:c}=(0,h.useFormContext)(),[i,l]=(0,n.useState)(!1),[s,u]=(0,n.useState)(!1),d=String(a("name").value),[m,p]=(0,n.useState)(d),_=(0,n.useRef)(null);async function w(){if(u(!0),m===d)return;u(!0),p(d);const e=await bt()({path:(0,A.addQueryArgs)("/wc/v3/products/shipping_classes/slug-suggestion",{name:d}),method:"GET"});u(!1),a("slug").onChange(e)}(0,n.useEffect)((()=>{var e;null===(e=_.current)||void 0===e||e.focus()}),[]);const g=s||!(null==d?void 0:d.length)||m===d;return(0,n.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__wrapper"},(0,n.createElement)(v.TextControl,{...a("name"),placeholder:(0,k.__)("e.g. Fragile products","woocommerce"),label:(0,n.createInterpolateElement)((0,k.__)("Name <required />","woocommerce"),{required:(0,n.createElement)("span",{className:"woocommerce-add-new-shipping-class-modal__optional-input"},(0,k.__)("(required)","woocommerce"))}),onBlur:function(){s&&w()},ref:_}),(0,n.createElement)(v.__experimentalInputControl,{...a("slug"),label:(0,k.__)("Slug","woocommerce"),onChange:e=>{p(""),a("slug").onChange(e)},disabled:s,help:(0,k.__)("Set a custom slug or generate it by clicking the button.","woocommerce"),prefix:(0,n.createElement)(v.__experimentalInputControlPrefixWrapper,null,(0,n.createElement)(v.Button,{disabled:g,variant:"secondary",onClick:w,isBusy:s,isSmall:!0},(0,k.__)("Generate","woocommerce")))}),(0,n.createElement)(v.TextControl,{...a("description"),label:(0,k.__)("Description","woocommerce"),help:null!==(o=null==r?void 0:r.description)&&void 0!==o?o:(0,k.__)("Describe how you and other store administrators can use this shipping class.","woocommerce")}),(0,n.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__buttons"},(0,n.createElement)(v.Button,{variant:"secondary",onClick:t},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",isBusy:i,disabled:!c||i,onClick:function(){l(!0),e().then((()=>{l(!1),t()})).catch((()=>{l(!1)}))}},(0,k.__)("Add","woocommerce"))))}function An(e){var t;const o={};return(null===(t=e.name)||void 0===t?void 0:t.length)||(o.name=(0,k.__)("The shipping class name is required.","woocommerce")),o}const Sn={name:"",slug:"",description:""};function Pn({shippingClass:e,onAdd:t,onCancel:o}){return(0,n.createElement)(v.Modal,{title:(0,k.__)("New shipping class","woocommerce"),className:"woocommerce-add-new-shipping-class-modal",onRequestClose:o},(0,n.createElement)(h.Form,{initialValues:null!=e?e:Sn,validate:An,errors:{},onSubmit:function(e){return t(Object.entries(e).reduce((function(e,[t,o]){return{...e,[t]:""===o?void 0:o}}),{}))}},(e=>(0,n.createElement)(kn,{onAdd:e.handleSubmit,onCancel:o}))))}const Bn=[{value:"",label:(0,k.__)("No shipping class","woocommerce")},{value:S.B1,label:(0,k.__)("Add new shipping class","woocommerce")}];function Vn(e){return e.map((({slug:e,name:t})=>({value:e,label:t})))}const Mn={};function Nn(e,t){const o=null==e?void 0:e.find((({slug:e})=>"uncategorized"!==e));if(o&&!(null==t?void 0:t.some((({slug:e})=>e===o.slug))))return{name:o.name,slug:o.slug}}const{name:Tn,...Ln}=yn,Fn={example:{},edit:function({attributes:e,context:{postType:t,isInSelectedTab:o}}){const[r,a]=(0,n.useState)(!1),l=(0,s.useWooBlockProps)(e),{createProductShippingClass:d}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME),{createErrorNotice:m}=(0,i.useDispatch)("core/notices"),[p]=(0,u.useEntityProp)("postType",t,"categories"),[_,w]=(0,u.useEntityProp)("postType",t,"shipping_class"),[g]=(0,u.useEntityProp)("postType",t,"virtual");function f(e){let t=(0,k.__)("We couldn’t add this shipping class. Try again in a few seconds.","woocommerce");throw"term_exists"===e.code&&(t=(0,k.__)("A shipping class with that slug already exists.","woocommerce")),m(t,{explicitDismiss:!0}),e}const{shippingClasses:E}=(0,i.useSelect)((e=>{const{getProductShippingClasses:t}=e(M.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME);return{shippingClasses:o&&t(Mn)||[]}}),[o]),b=(0,c.useInstanceId)(v.BaseControl,"wp-block-woocommerce-product-shipping-class-field");return(0,n.createElement)("div",{...l},(0,n.createElement)("div",{className:"wp-block-columns"},(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(v.SelectControl,{id:b,name:"shipping_class",value:_,onChange:e=>{e!==S.B1?w(e):a(!0)},label:(0,k.__)("Shipping class","woocommerce"),options:[...Bn,...Vn(null!=E?E:[])],disabled:e.disabled||g,help:(0,n.createInterpolateElement)((0,k.__)("Manage shipping classes and rates in <Link>global settings</Link>.","woocommerce"),{Link:(0,n.createElement)(h.Link,{href:(0,Q.getNewPath)({tab:"shipping",section:"classes"},"",{},"wc-settings"),target:"_blank",type:"external",onClick:()=>{(0,P.recordEvent)("product_shipping_global_settings_link_click")}},(0,n.createElement)(n.Fragment,null))})})),(0,n.createElement)("div",{className:"wp-block-column"})),r&&(0,n.createElement)(Pn,{shippingClass:Nn(p,E),onAdd:e=>d(e,{optimisticQueryUpdate:Mn}).then((e=>((0,P.recordEvent)("product_new_shipping_class_modal_add_button_click"),w(e.slug),e))).catch(f),onCancel:()=>a(!1)}))}};function Rn(){return m({name:Tn,metadata:Ln,settings:Fn})}const Dn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-shipping-dimensions-fields","title":"Product shipping dimensions fields","category":"woocommerce","description":"The product shipping dimensions fields.","keywords":["products","shipping","dimensions"],"textdomain":"default","attributes":{"__contentEditable":{"type":"string","__experimentalRole":"content"},"disabled":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}');function Hn({highlight:e,labels:t={},...o}){return(0,n.createElement)("svg",{width:"295",height:"195",viewBox:"0 0 295 195",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},(0,n.createElement)("path",{d:"M11.5664 134.604V35.3599C11.5664 33.9482 12.9862 32.9782 14.3014 33.4915L99.6373 66.7959C100.4 67.0935 100.905 67.8243 100.914 68.6426L102.037 171.578C102.052 173.027 100.574 174.014 99.2419 173.444L12.7831 136.448C12.0451 136.132 11.5664 135.407 11.5664 134.604Z",fill:"A"===e?"#F0F6FC":"#FFFFFF"}),(0,n.createElement)("path",{d:"M11.5664 134.603V35.3599C11.5664 33.9482 12.9862 32.9782 14.3014 33.4915L99.624 66.7908C100.393 67.0909 100.9 67.8314 100.901 68.6569L101.024 174.131L12.7844 136.447C12.0457 136.132 11.5664 135.406 11.5664 134.603Z",stroke:"#E0E0E0",strokeWidth:"2.00574"}),(0,n.createElement)("path",{d:"M1.25977 150.388L86.0112 188.183",stroke:"A"===e?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,n.createElement)("path",{d:"M250.775 32.9793L100.9 66.9577V172.981C100.9 174.297 102.146 175.257 103.418 174.921L251.73 135.764C252.611 135.531 253.224 134.735 253.224 133.824V34.9354C253.224 33.6488 252.03 32.6948 250.775 32.9793Z",fill:"B"===e?"#F0F6FC":"#FFFFFF",stroke:"#E0E0E0",strokeWidth:"2.00574"}),(0,n.createElement)("path",{d:"M270.402 28.9875V132.064",stroke:"C"===e?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,n.createElement)("path",{d:"M257.804 152.679L107.771 192.765",stroke:"B"===e?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,n.createElement)("path",{d:"M13.1406 33.41L161.446 1.61817C161.808 1.54066 162.184 1.56462 162.533 1.68742L251.16 32.8868",stroke:"#E0E0E0",strokeWidth:"2.00574"}),t.C?(0,n.createElement)("text",{x:"280",y:"85",fontSize:11,fill:"C"===e?"#007CBA":"#949494"},t.C):(0,n.createElement)("path",{d:"M282.123 80.7892C282.123 79.5323 282.435 78.5405 283.058 77.8136C283.685 77.0867 284.537 76.7233 285.615 76.7233C286.467 76.7233 287.192 76.9739 287.79 77.4752C288.391 77.9729 288.741 78.6175 288.837 79.4088H287.639C287.525 78.9326 287.285 78.553 286.92 78.2701C286.558 77.9873 286.123 77.8458 285.615 77.8458C284.92 77.8458 284.368 78.1108 283.96 78.6407C283.556 79.1671 283.353 79.8833 283.353 80.7892C283.353 81.6915 283.556 82.4077 283.96 82.9376C284.368 83.464 284.922 83.7272 285.62 83.7272C286.132 83.7272 286.569 83.5983 286.93 83.3405C287.296 83.0826 287.532 82.7353 287.639 82.2985H288.837C288.73 83.0647 288.382 83.6824 287.795 84.1515C287.208 84.617 286.483 84.8497 285.62 84.8497C284.542 84.8497 283.69 84.4863 283.063 83.7594C282.437 83.0325 282.123 82.0424 282.123 80.7892Z",fill:"C"===e?"#007CBA":"#949494"}),t.B?(0,n.createElement)("text",{x:"188",y:"190",fontSize:11,fill:"B"===e?"#007CBA":"#949494"},t.B):(0,n.createElement)("path",{d:"M192.281 189.611V181.861H195.396C196.123 181.861 196.692 182.034 197.104 182.382C197.519 182.725 197.727 183.196 197.727 183.794C197.727 184.199 197.596 184.562 197.335 184.885C197.073 185.203 196.751 185.395 196.368 185.459V185.551C196.891 185.604 197.312 185.803 197.63 186.147C197.953 186.487 198.114 186.91 198.114 187.414C198.114 188.098 197.879 188.635 197.41 189.026C196.941 189.416 196.293 189.611 195.466 189.611H192.281ZM193.484 188.591H195.224C195.765 188.591 196.177 188.483 196.459 188.268C196.742 188.054 196.884 187.74 196.884 187.328C196.884 186.924 196.737 186.618 196.443 186.41C196.15 186.199 195.72 186.093 195.154 186.093H193.484V188.591ZM193.484 185.142H194.913C195.442 185.142 195.844 185.048 196.116 184.858C196.391 184.664 196.529 184.383 196.529 184.015C196.529 183.656 196.404 183.379 196.153 183.182C195.906 182.981 195.561 182.881 195.117 182.881H193.484V185.142Z",fill:"B"===e?"#007CBA":"#949494"}),t.A?(0,n.createElement)("text",{x:"18",y:"185",fontSize:11,fill:"A"===e?"#007CBA":"#949494"},t.A):(0,n.createElement)("path",{d:"M22.7694 185.149L25.5678 177.399H26.8622L29.6605 185.149H28.3822L27.6732 183.092H24.7191L24.0048 185.149H22.7694ZM25.0253 182.082H27.3671L26.2445 178.806H26.1532L25.0253 182.082Z",fill:"A"===e?"#007CBA":"#949494"}))}const In=1e14,{name:zn,...jn}=Dn,On={example:{},edit:function({attributes:e,clientId:t,context:o}){var r,a,c;const l=(0,s.useWooBlockProps)(e),[d,m]=(0,u.useEntityProp)("postType",o.postType,"dimensions"),[p,h]=(0,u.useEntityProp)("postType",o.postType,"weight"),[_]=(0,u.useEntityProp)("postType",o.postType,"virtual"),[v,w]=(0,n.useState)(),{dimensionUnit:g,weightUnit:f}=(0,i.useSelect)((e=>{const{getOption:t}=e(M.OPTIONS_STORE_NAME);return{dimensionUnit:t("woocommerce_dimension_unit"),weightUnit:t("woocommerce_weight_unit")}}),[]);function E(t,o){var r;return{name:`dimensions.${t}`,value:null!==(r=d&&d[t])&&void 0!==r?r:"",onChange:e=>m({...null!=d?d:{},[t]:e}),onFocus:()=>w(o),onBlur:()=>w(void 0),suffix:g,disabled:e.disabled||_,min:0,max:In}}const b=`dimensions_width-${t}`,{ref:C,error:x,validate:y}=lr(b,(async function(){if((null==d?void 0:d.width)&&+d.width<=0)return{message:(0,k.__)("Width must be greater than zero.","woocommerce")}}),[null==d?void 0:d.width]),A=`dimensions_length-${t}`,{ref:S,error:P,validate:B}=lr(A,(async function(){if((null==d?void 0:d.length)&&+d.length<=0)return{message:(0,k.__)("Length must be greater than zero.","woocommerce")}}),[null==d?void 0:d.length]),V=`dimensions_height-${t}`,{ref:N,error:T,validate:L}=lr(V,(async function(){if((null==d?void 0:d.height)&&+d.height<=0)return{message:(0,k.__)("Height must be greater than zero.","woocommerce")}}),[null==d?void 0:d.height]),F=`weight-${t}`,{ref:R,error:D,validate:H}=lr(F,(async function(){if(p&&+p<=0)return{message:(0,k.__)("Weight must be greater than zero.","woocommerce")}}),[p]),I={...E("width","A"),ref:C,onBlur:y,id:b},z={...E("length","B"),ref:S,onBlur:B,id:A},j={...E("height","C"),ref:N,onBlur:L,id:V},O={id:F,name:"weight",value:null!=p?p:"",onChange:h,suffix:f,ref:R,onBlur:H,disabled:e.disabled||_,min:0,max:In};return(0,n.createElement)("div",{...l},(0,n.createElement)("h4",null,(0,k.__)("Dimensions","woocommerce")),(0,n.createElement)("div",{className:"wp-block-columns"},(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(To,{label:(0,n.createInterpolateElement)((0,k.__)("Width <Side />","woocommerce"),{Side:(0,n.createElement)("span",null,"A")}),error:x,...I}),(0,n.createElement)(To,{label:(0,n.createInterpolateElement)((0,k.__)("Length <Side />","woocommerce"),{Side:(0,n.createElement)("span",null,"B")}),error:P,...z}),(0,n.createElement)(To,{label:(0,n.createInterpolateElement)((0,k.__)("Height <Side />","woocommerce"),{Side:(0,n.createElement)("span",null,"C")}),error:T,...j}),(0,n.createElement)(To,{label:(0,k.__)("Weight","woocommerce"),error:D,...O})),(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(Hn,{highlight:v,className:"wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image",labels:{A:(null===(r=I.value)||void 0===r?void 0:r.length)?I.value:void 0,B:(null===(a=z.value)||void 0===a?void 0:a.length)?z.value:void 0,C:(null===(c=j.value)||void 0===c?void 0:c.length)?j.value:void 0}}))))}};function Gn(){return m({name:zn,metadata:jn,settings:On})}const Zn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-summary-field","title":"Product summary","category":"widgets","description":"The product summary.","keywords":["products","summary","excerpt"],"textdomain":"default","attributes":{"property":{"type":"string"},"align":{"type":"string"},"allowedFormats":{"type":"array","default":["core/bold","core/code","core/italic","core/link","core/strikethrough","core/underline","core/text-color","core/subscript","core/superscript","core/unknown"]},"direction":{"type":"string","enum":["ltr","rtl"]},"label":{"type":"string"},"helpText":{"type":"string"},"content":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),$n=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"})});function Un({direction:e,onChange:t}){return(0,n.createElement)(n.Fragment,null,(0,k.isRTL)()&&(0,n.createElement)(v.ToolbarButton,{icon:$n,title:(0,k._x)("Left to right","editor button","woocommerce"),isActive:"ltr"===e,onClick:function(){"function"==typeof t&&t("ltr"===e?void 0:"ltr")}}))}const qn=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})}),Wn=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})}),Jn=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})}),Yn=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})}),Xn=[{icon:qn,title:(0,k.__)("Align text left","woocommerce"),align:"left"},{icon:Wn,title:(0,k.__)("Align text center","woocommerce"),align:"center"},{icon:Jn,title:(0,k.__)("Align text right","woocommerce"),align:"right"},{icon:Yn,title:(0,k.__)("Align text justify","woocommerce"),align:"justify"}],Kn=()=>{const{clearSelectedBlock:e}=(0,i.useDispatch)(Se.store);return{handleBlur:function(t){var o,r;(null===(o=null==t?void 0:t.relatedTarget)||void 0===o?void 0:o.closest(".block-editor-block-contextual-toolbar"))||(null===(r=null==t?void 0:t.relatedTarget)||void 0===r?void 0:r.closest(".block-editor-link-control"))||e()}}},{name:Qn,...ea}=Zn,ta={example:{},edit:function e({attributes:t,setAttributes:o,context:r}){const{align:a,allowedFormats:i,direction:l,label:d,helpText:m}=t,p=(0,s.useWooBlockProps)(t,{style:{direction:l}}),h=(0,c.useInstanceId)(e,"wp-block-woocommerce-product-summary-field__content"),[_,w]=(0,u.useEntityProp)("postType",r.postType||"product",t.property),{handleBlur:g}=Kn();return(0,n.createElement)("div",{className:"wp-block wp-block-woocommerce-product-summary-field-wrapper"},(0,n.createElement)(Se.BlockControls,{group:"block"},(0,n.createElement)(Se.AlignmentControl,{alignmentControls:Xn,value:a,onChange:function(e){o({align:e})}}),(0,n.createElement)(Un,{direction:l,onChange:function(e){o({direction:e})}})),(0,n.createElement)(v.BaseControl,{id:h.toString(),label:void 0===d?(0,n.createInterpolateElement)((0,k.__)("Summary","woocommerce"),{optional:(0,n.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,k.__)("(OPTIONAL)","woocommerce"))}):d,help:void 0===m?(0,k.__)("Summarize this product in 1-2 short sentences. We'll show it at the top of the page.","woocommerce"):m},(0,n.createElement)("div",{...p},(0,n.createElement)(Se.RichText,{id:h.toString(),identifier:"content",tagName:"p",value:_,onChange:w,"data-empty":Boolean(_),className:ce()("components-summary-control",{[`has-text-align-${a}`]:a}),dir:l,allowedFormats:i,onBlur:g}))))}};function oa(){return m({name:Qn,metadata:ea,settings:ta})}const ra=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-tab","title":"Product tab","category":"woocommerce","description":"The product tab.","keywords":["products","tab","group"],"textdomain":"default","attributes":{"id":{"type":"string"},"title":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"providesContext":{"isInSelectedTab":"isSelected"},"usesContext":["selectedTab"],"editorStyle":"file:./editor.css"}'),na=({children:e})=>(0,n.createElement)(n.Fragment,null,e);function aa({children:e,className:t,id:o,order:r=100,selected:a=!1}){const c=ce()("wp-block-woocommerce-product-tab__button",t,{"is-selected":a});return(0,n.createElement)(v.Fill,{name:Ee},(t=>{const{onClick:i}=t;return(0,n.createElement)(na,{order:r},(0,n.createElement)(v.Button,{key:o,className:c,onClick:()=>i(o),id:`woocommerce-product-tab__${o}`,"aria-controls":`woocommerce-product-tab__${o}-content`,"aria-selected":a,tabIndex:a?void 0:-1,role:"tab"},e))}))}const{name:ca,...ia}=ra,la={example:{},edit:function({setAttributes:e,attributes:t,context:o}){const r=(0,s.useWooBlockProps)(t),{id:a,title:c,_templateBlockOrder:i,isSelected:l}=t,u=ce()("wp-block-woocommerce-product-tab__content",{"is-selected":l}),[d,m]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{if(!o.selectedTab)return;const t=o.selectedTab===a;if(e({isSelected:t}),t)return void m(!0);const r=setTimeout(m,300,!0);return()=>clearTimeout(r)}),[o.selectedTab,a,e]),(0,n.createElement)("div",{...r},(0,n.createElement)(aa,{id:a,selected:l,order:i},c),(0,n.createElement)("div",{id:`woocommerce-product-tab__${a}-content`,"aria-labelledby":`woocommerce-product-tab__${a}`,role:"tabpanel",className:u},(0,n.createElement)(h.__experimentalErrorBoundary,{errorMessage:(0,k.__)("An unexpected error occurred in this tab. Make sure any unsaved changes are saved and then try reloading the page to see if the error recurs.","woocommerce"),onError:(e,t)=>{console.error(`Error caught in tab '${a}'`,e,t)}},d&&(0,n.createElement)(Se.InnerBlocks,{templateLock:"contentOnly"}))))}};function sa(){return m({name:ca,metadata:ia,settings:la})}const ua=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-tag-field","title":"Product Tag","category":"widgets","description":"A field to select product tags.","keywords":["products","tag"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"placeholder":{"type":"string"}},"usesContext":["postType","isInSelectedTab"],"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),da=({initialTagName:e,onCancel:t,onCreate:o})=>{const{createNotice:r}=(0,i.useDispatch)("core/notices"),[a,c]=(0,n.useState)(!1),{createProductTag:l,invalidateResolutionForStoreSelector:s}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME),[u,d]=(0,n.useState)(e||"");return(0,n.createElement)(v.Modal,{title:(0,k.__)("Create tag","woocommerce"),onRequestClose:()=>t(),className:"woocommerce-create-new-tag-modal"},(0,n.createElement)("div",{className:"woocommerce-create-new-tag-modal__wrapper"},(0,n.createElement)(v.TextControl,{label:(0,k.__)("Name","woocommerce"),name:"Tops",value:u,onChange:d}),(0,n.createElement)("div",{className:"woocommerce-create-new-tag-modal__buttons"},(0,n.createElement)(v.Button,{isSecondary:!0,onClick:()=>t(),disabled:a},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{isPrimary:!0,disabled:0===u.length||a,isBusy:a,onClick:()=>{(async()=>{(0,P.recordEvent)("product_tag_add",{source:S.RG}),c(!0);try{const e=await l({name:u});s("getProductTags"),c(!1),o(e)}catch(e){r("error",(0,k.__)("Failed to create tag.","woocommerce")),c(!1),t()}})()}},(0,k.__)("Save","woocommerce")))))};function ma(e){return{value:String(e.id),label:e.name}}function pa(e){return{id:+e.value,name:e.label}}function ha(e){return e.map(ma)}const _a=({id:e,isVisible:t=!1,label:o,placeholder:r,value:a=[],onChange:l})=>{const{tagsSelectList:s,searchTags:u}=(()=>{const[e,t]=(0,n.useState)([]),[o,r]=(0,n.useState)(!0);return{searchTags:e=>{r(!0);const o=void 0!==e?{search:e}:"";(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME).getProductTags(o).then((e=>{t(e)})).finally((()=>{r(!1)}))},tagsSelectList:e,isSearching:o}})(),[d,m]=(0,n.useState)(""),[p,_]=(0,n.useState)(!1),[v,w]=(0,n.useState)(!1),[g,f]=(0,n.useState)(),{createProductTag:E,invalidateResolutionForStoreSelector:b}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME),{createNotice:C}=(0,i.useDispatch)("core/notices"),x=e=>{m(e||""),u(e||""),f(e)};(0,n.useEffect)((()=>{t&&u()}),[t]);const y=(0,c.useDebounce)(x,150);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.__experimentalSelectTreeControl,{id:e,multiple:!0,shouldNotRecursivelySelect:!0,createValue:d,label:o,isLoading:p,onInputChange:y,placeholder:0===a.length?r:"",initialInputValue:g,onCreateNew:0===d.length?()=>w(!0):async()=>{(0,P.recordEvent)("product_tag_add",{source:S.RG}),_(!0);try{f("");const e=await E({name:d});b("getProductTags"),_(!1),l([...a,e]),x("")}catch(e){C("error",(0,k.__)("Failed to create tag.","woocommerce")),_(!1)}},shouldShowCreateButton:e=>!e||-1===s.findIndex((t=>t.name===e)),items:ha(s),selected:ha(a),onSelect:e=>{if(Array.isArray(e)){const t=e.filter((({value:e})=>!a.some((t=>t.id===+e)))).map(pa);l([...a,...t])}else l([...a,pa(e)])},onRemove:e=>{const t=Array.isArray(e)?a.filter((t=>!e.some((({value:e})=>t.id===+e)))):a.filter((t=>t.id!==+e.value));l(t)}}),v&&(0,n.createElement)(da,{initialTagName:d,onCancel:()=>w(!1),onCreate:e=>{l([...a,e]),w(!1),x("")}}))},{name:va}=ua,wa={example:{},edit:function({attributes:e,context:{postType:t,isInSelectedTab:o}}){const r=(0,s.useWooBlockProps)(e),{name:a,label:i,placeholder:l}=e,[d,m]=(0,u.useEntityProp)("postType",t||"product",a||"tags"),p=(0,c.useInstanceId)(v.BaseControl,"tag-field");return(0,n.createElement)("div",{...r},(0,n.createElement)(_a,{id:p,isVisible:o,label:i||(0,k.__)("Tags","woocommerce"),placeholder:l||(0,k.__)("Search or create tags…","woocommerce"),onChange:m,value:d||[]}))}},ga=()=>m({name:va,metadata:ua,settings:wa}),fa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-inventory-quantity-field","title":"Product inventory quantity available","category":"woocommerce","description":"The product available quantity.","keywords":["products","quantity","inventory"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"]}'),{name:Ea,...ba}=fa,Ca={example:{},edit:function({attributes:e,clientId:t,context:o}){const r=(0,s.useWooBlockProps)(e),[a]=(0,u.useEntityProp)("postType",o.postType,"manage_stock"),[i,l]=(0,u.useEntityProp)("postType",o.postType,"stock_quantity"),d=(0,c.useInstanceId)(v.BaseControl,"product_stock_quantity"),{ref:m,error:p,validate:h}=lr(`stock_quantity-${t}`,(async function(){if(a&&i&&i<0)return{message:(0,k.__)("Stock quantity must be a positive number.","woocommerce")}}),[a,i]);return(0,n.useEffect)((()=>{a&&null===i&&l(1)}),[a,i]),(0,n.createElement)("div",{...r},(0,n.createElement)("div",{className:"wp-block-columns"},(0,n.createElement)("div",{className:"wp-block-column"},(0,n.createElement)(v.BaseControl,{id:d,className:p&&"has-error",help:null!=p?p:""},(0,n.createElement)(v.__experimentalInputControl,{id:d,name:"stock_quantity",ref:m,label:(0,k.__)("Available stock","woocommerce"),value:i,onChange:l,onBlur:h,type:"number",min:0}))),(0,n.createElement)("div",{className:"wp-block-column"})))}};function xa(){return m({name:Ea,metadata:ba,settings:Ca})}const ya=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-toggle-field","title":"Product toggle control","category":"woocommerce","description":"The product toggle.","keywords":["products","radio","input"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"help":{"type":"string"},"checkedHelp":{"type":"string"},"uncheckedHelp":{"type":"string"},"property":{"type":"string"},"disabled":{"type":"boolean","default":false},"disabledCopy":{"type":"string","__experimentalRole":"content"},"checkedValue":{"type":"object"},"uncheckedValue":{"type":"object"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":true,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"]}'),{name:ka,...Aa}=ya,Sa={example:{},edit:function({attributes:e,context:{postType:t}}){var o,r,a;const c=(0,s.useWooBlockProps)(e),{_templateBlockId:i,label:l,property:d,disabled:m,disabledCopy:p,checkedValue:h,uncheckedValue:_}=e,[w,g]=Gt(d,{postType:t,fallbackValue:!1}),f=(0,u.useEntityId)("postType",t),[E]=(0,u.useEntityProp)("postType",t,"parent_id");function b(){return void 0!==h?h===w:w}let C=null;return(null==e?void 0:e.help)&&(C=(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:null===(o=vt(e.help))||void 0===o?void 0:o.__html}})),(null==e?void 0:e.checkedHelp)&&b()&&(C=(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:null===(r=vt(e.checkedHelp))||void 0===r?void 0:r.__html}})),(null==e?void 0:e.uncheckedHelp)&&!b()&&(C=(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:null===(a=vt(e.uncheckedHelp))||void 0===a?void 0:a.__html}})),(0,n.createElement)("div",{...c},(0,n.createElement)(v.ToggleControl,{label:l,checked:b(),disabled:m,onChange:function(e){(0,P.recordEvent)("product_toggle_click",{block_id:i,source:S.RG,product_id:E>0?E:f}),g(e?void 0!==h?h:e:void 0!==_?_:e)},help:C}),m&&(0,n.createElement)("p",{className:"wp-block-woocommerce-product-toggle__disable-copy",dangerouslySetInnerHTML:vt(p)}))}};function Pa(){return m({name:ka,metadata:Aa,settings:Sa})}const Ba=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-attributes-field","title":"Product attributes","category":"widgets","description":"The product attributes.","keywords":["products","attributes"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["isInSelectedTab"],"editorStyle":"file:./editor.css"}'),Va=({initialAttributeTermName:e,attributeId:t,onCancel:o=(()=>{}),onCreated:r=(()=>{})})=>{const{createNotice:a}=(0,i.useDispatch)("core/notices"),[c,l]=(0,n.useState)(!1),{createProductAttributeTerm:s,invalidateResolutionForStoreSelector:u}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME);return(0,n.createElement)(v.Modal,{title:(0,k.__)("Create attribute","woocommerce"),onRequestClose:e=>{e.stopPropagation(),o()},className:"woocommerce-create-attribute-term-modal"},(0,n.createElement)(h.Form,{initialValues:{name:e,slug:(0,A.cleanForSlug)(e)},validate:function(e){var t;const o={};return(null===(t=e.name)||void 0===t?void 0:t.length)||(o.name=(0,k.__)("The attribute term name is required.","woocommerce")),o},errors:{},onSubmit:async e=>{(0,P.recordEvent)("product_attribute_term_add",{source:S.RG}),l(!0);try{const o=await s({...e,attribute_id:t});(0,P.recordEvent)("product_attribute_term_add_success",{source:S.RG}),u("getProductAttributes"),l(!1),r(o)}catch(e){(0,P.recordEvent)("product_attribute_term_add_failed",{source:S.RG}),a("error",(0,k.__)("Failed to create attribute term.","woocommerce")),l(!1),o()}}},(({getInputProps:e,handleSubmit:t,isValidForm:r,setValue:a,values:i})=>{const l=e("name");return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.TextControl,{label:(0,k.__)("Name","woocommerce"),...l,onBlur:()=>{l.onBlur(),a("slug",(0,A.cleanForSlug)(i.name))}}),(0,n.createElement)(v.TextControl,{label:(0,k.__)("Slug","woocommerce"),...e("slug"),help:(0,k.__)("The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.","woocommerce")}),(0,n.createElement)(v.TextareaControl,{label:(0,k.__)("Description","woocommerce"),...e("description")}),(0,n.createElement)("div",{className:"woocommerce-create-attribute-term-modal__buttons"},(0,n.createElement)(v.Button,{isSecondary:!0,label:(0,k.__)("Cancel","woocommerce"),onClick:()=>o()},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{isPrimary:!0,isBusy:c,label:(0,k.__)("Add attribute","woocommerce"),disabled:!r||c,onClick:t},(0,k.__)("Add","woocommerce"))))})))};let Ma=0;const Na=({value:e=[],onChange:t,placeholder:o,disabled:r,attributeId:a,label:l="",autoCreateOnSelect:s=!0,readOnlyWhenClosed:u=!1})=>{const d=(0,n.useRef)("woocommerce-attribute-term-field-"+ ++Ma),[m,p]=(0,n.useState)([]),[_,w]=(0,n.useState)(!1),[g,f]=(0,n.useState)(!1),[E,b]=(0,n.useState)(),{createNotice:C}=(0,i.useDispatch)("core/notices"),{createProductAttributeTerm:x,invalidateResolutionForStoreSelector:y}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME),B=(0,n.useCallback)((e=>(w(!0),(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms({search:e||"",attribute_id:a}).then((e=>(p(e),w(!1),e)),(e=>(w(!1),e))))),[a]),V=(0,c.useDebounce)(B,250);(0,n.useEffect)((()=>{r||void 0===a||m.length||B()}),[r,a]);const N=o=>{t(e.filter((e=>e.slug!==o.slug)))},T=()=>{const e=document.querySelector("."+d.current+" .woocommerce-experimental-select-control__input");e&&setTimeout((()=>{e.focus()}),0)},L=o=>{-99!==o.id?e.find((e=>e.slug===o.slug))?N(o):t([...e,o]):s?((async o=>{(0,P.recordEvent)("product_attribute_term_add",{source:S.RG}),f(!0);try{const r=await x({...o,attribute_id:a});(0,P.recordEvent)("product_attribute_term_add_success",{source:S.RG}),t([...e,r]),y("getProductAttributes"),y("getProductAttributeTerms"),f(!1)}catch(e){let t={source:S.RG,code:"Unknown error.",message:"An unknown error occurred."},o=(0,k.__)("Failed to create attribute term.","woocommerce");const r=e;(null==r?void 0:r.code)&&(null==r?void 0:r.message)&&(t={...t,code:r.code,message:r.message},"term_exists"===r.code&&(o=(0,k.__)("Attribute term already exists.","woocommerce"))),(0,P.recordEvent)("product_attribute_term_add_failed",t),C("error",o),f(!1)}})({name:o.name,slug:(0,A.cleanForSlug)(o.name)}),T()):b(o.name)},F=(e||[]).map((e=>e.slug));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.__experimentalSelectControl,{items:m,multiple:!0,disabled:r||!a,label:l,getFilteredItems:(e,t)=>t.length>0&&!e.find((e=>e.name.toLowerCase()===t.toLowerCase()))?[...e,{id:-99,name:t}]:e,onInputChange:V,placeholder:o||"",getItemLabel:e=>(null==e?void 0:e.name)||"",getItemValue:e=>(null==e?void 0:e.slug)||"",stateReducer:(e,t)=>{const{changes:o,type:r}=t;switch(r){case h.selectControlStateChangeTypes.ControlledPropUpdatedSelectedItem:const t=g?{isOpen:g}:{};return{...o,...t,inputValue:e.inputValue};case h.selectControlStateChangeTypes.ItemClick:return o.selectedItem&&-99===o.selectedItem.id?o:{...o,isOpen:!0,inputValue:e.inputValue,highlightedIndex:e.highlightedIndex};default:return o}},selected:e,onSelect:L,onRemove:N,readOnlyWhenClosed:u,className:"woocommerce-attribute-term-field "+d.current,__experimentalOpenMenuOnFocus:!0},(({items:e,highlightedIndex:t,getItemProps:o,getMenuProps:r,isOpen:a})=>(0,n.createElement)(h.__experimentalSelectControlMenu,{isOpen:a,getMenuProps:r},[_||g?(0,n.createElement)("div",{key:"loading-spinner",className:"woocommerce-attribute-term-field__loading-spinner"},(0,n.createElement)(v.Spinner,null)):null,...e.map(((e,r)=>{const a=F.includes(e.slug);return(0,n.createElement)(h.__experimentalSelectControlMenuItem,{key:`${e.slug}`,index:r,isActive:t===r,item:e,getItemProps:o},-99!==e.id?(0,n.createElement)(v.CheckboxControl,{onChange:()=>null,checked:a,label:(0,n.createElement)("span",null,e.name)}):(0,n.createElement)("div",{className:"woocommerce-attribute-term-field__add-new"},(0,n.createElement)(v.Icon,{icon:Bo.Z,size:20,className:"woocommerce-attribute-term-field__add-new-icon"}),(0,n.createElement)("span",null,(0,k.sprintf)((0,k.__)('Create "%s"',"woocommerce"),e.name))))}))].filter((e=>null!==e))))),!s&&E&&void 0!==a&&(0,n.createElement)(Va,{initialAttributeTermName:E,onCancel:()=>{b(void 0),T()},attributeId:a,onCreated:e=>{L(e),b(void 0),y("getProductAttributeTerms"),T()}}))};function Ta(e){return null!==e&&"object"==typeof e&&!!e.label}const La=({value:e=[],onChange:t,placeholder:o,disabled:r,label:a})=>{const[c,i]=(0,n.useState)(e),l=o=>{t(e.filter((e=>e!==o)))};return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.__experimentalSelectControl,{items:c,multiple:!0,disabled:r,label:a||"",placeholder:o||"",getItemLabel:e=>Ta(e)?e.label:e||"",getItemValue:e=>Ta(e)?e.id:e||"",getFilteredItems:(e,t)=>{const o=e.filter((e=>!t.length||!Ta(e)&&e.toLowerCase().includes(t.toLowerCase())));return t.length>0&&!o.find((e=>!Ta(e)&&e.toLowerCase()===t.toLowerCase()))?[...o,{id:"is-new",label:t}]:o},selected:e,onSelect:o=>{if(Ta(o))return i([...c,o.label]),void t([...e,o.label]);e.includes(o)?l(o):t([...e,o])},onRemove:l,className:"woocommerce-attribute-term-field"},(({items:t,highlightedIndex:o,getItemProps:r,getMenuProps:a,isOpen:c})=>(0,n.createElement)(h.__experimentalSelectControlMenu,{isOpen:c,getMenuProps:a},t.map(((t,a)=>(0,n.createElement)(h.__experimentalSelectControlMenuItem,{key:`${Ta(t)?t.id:t}`,index:a,isActive:o===a,item:t,getItemProps:r},Ta(t)?(0,n.createElement)("div",{className:"woocommerce-attribute-term-field__add-new"},(0,n.createElement)(v.Icon,{icon:Bo.Z,size:20,className:"woocommerce-attribute-term-field__add-new-icon"}),(0,n.createElement)("span",null,(0,k.sprintf)((0,k.__)('Create "%s"',"woocommerce"),t.label))):(0,n.createElement)(v.CheckboxControl,{onChange:()=>null,checked:e.includes(t),label:(0,n.createElement)("span",null," ",t," ")}))))))))};function Fa({title:e="",content:t="",className:o,type:r="info",children:a,isDismissible:c=!1,handleDismiss:i=(()=>{})}){return(0,n.createElement)("div",{className:ce()(o,r,"woocommerce-product-notice",{"is-dismissible":c})},e&&(0,n.createElement)("h3",{className:"woocommerce-product-notice__title"},e),t&&(0,n.createElement)("p",{className:"woocommerce-product-notice__content"},t),(0,n.createElement)("div",{className:"woocommerce-product-notice__content"},a),c&&(0,n.createElement)(v.Button,{className:"woocommerce-product-notice__dismiss",icon:ze.Z,onClick:i}))}function Ra(e){return 0!==e.id?e.id:e.name}const Da=e=>`${e.id}-${e.name}`,Ha=e=>!!(null==e?void 0:e.name.length)&&(e=>{var t,o;return!(!(null===(t=null==e?void 0:e.terms)||void 0===t?void 0:t.length)&&!(null===(o=null==e?void 0:e.options)||void 0===o?void 0:o.length))})(e),Ia=({title:e=(0,k.__)("Edit attribute","woocommerce"),nameLabel:t=(0,k.__)("Name","woocommerce"),globalAttributeHelperMessage:o,customAttributeHelperMessage:r=(0,k.__)("Your customers will see this on the product page","woocommerce"),termsLabel:a=(0,k.__)("Values","woocommerce"),termsPlaceholder:c=(0,k.__)("Search or create value","woocommerce"),isDefaultLabel:i=(0,k.__)("Set default value","woocommerce"),isDefaultTooltip:l=(0,k.__)("Check to preselect the first choice when customers enter the product page.","woocommerce"),useAsFilterLabel:s=(0,k.__)("Use as filter","woocommerce"),useAsFilterTooltip:u=(0,k.__)("Check to allow customers to search and filter by this option in your store.","woocommerce"),visibleLabel:d=(0,k.__)("Show in product details","woocommerce"),visibleTooltip:m=(0,k.__)("Check to show this option and its values in the product details section on the product page.","woocommerce"),cancelAccessibleLabel:p=(0,k.__)("Cancel","woocommerce"),cancelLabel:_=(0,k.__)("Cancel","woocommerce"),updateAccessibleLabel:w=(0,k.__)("Edit attribute","woocommerce"),updateLabel:g=(0,k.__)("Update","woocommerce"),onCancel:f,onEdit:E,attribute:b,attributes:C})=>{const[x,y]=(0,n.useState)({...b}),A=0===(null==x?void 0:x.id),{additions:S,deletions:P}=(0,n.useMemo)((()=>{var e,t,o,r,n,a,c,i;if(!b.variation)return{};const l=C.filter((e=>Da(e)!==Da(b))).reduce(((e,{terms:t})=>{var o;return e*(null!==(o=null==t?void 0:t.length)&&void 0!==o?o:1)}),1),s=null!==(t=null===(e=b.terms)||void 0===e?void 0:e.length)&&void 0!==t?t:0,u=l*s,d=null!==(n=null===(r=null===(o=null==x?void 0:x.terms)||void 0===o?void 0:o.filter((e=>{var t;return!(null===(t=b.terms)||void 0===t?void 0:t.some((t=>t.id===e.id)))})))||void 0===r?void 0:r.length)&&void 0!==n?n:0,m=s+d||1,p=null!==(i=null===(c=null===(a=b.terms)||void 0===a?void 0:a.filter((e=>{var t;return null===(t=null==x?void 0:x.terms)||void 0===t?void 0:t.some((t=>e.id===t.id))})))||void 0===c?void 0:c.length)&&void 0!==i?i:0;return{additions:Math.abs(u-l*m),deletions:Math.abs(u-l*p)}}),[C,b,x]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Modal,{title:e,onRequestClose:()=>f(),className:"woocommerce-edit-attribute-modal"},(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__body"},(0,n.createElement)(v.TextControl,{label:t,disabled:!A,value:(null==x?void 0:x.name)?null==x?void 0:x.name:"",onChange:e=>y({...x,name:e})}),(0,n.createElement)("p",{className:"woocommerce-edit-attribute-modal__helper-text"},A?r:o),b.terms?(0,n.createElement)(Na,{label:a,placeholder:(null==x?void 0:x.terms)&&(null==x?void 0:x.terms.length)>0?"":c,value:null==x?void 0:x.terms,attributeId:null==x?void 0:x.id,onChange:e=>{y({...x,terms:e})}}):(0,n.createElement)(La,{label:a,placeholder:(null==x?void 0:x.options)&&(null==x?void 0:x.options.length)>0?"":c,disabled:!(null==b?void 0:b.name),value:null==x?void 0:x.options,onChange:e=>{y({...x,options:e})}}),(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__options"},b.variation&&(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,n.createElement)(v.CheckboxControl,{onChange:e=>y({...x,isDefault:e}),checked:null==x?void 0:x.isDefault,label:i}),(0,n.createElement)(h.__experimentalTooltip,{className:"woocommerce-edit-attribute-modal__tooltip-set-default-value",text:l})),(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,n.createElement)(v.CheckboxControl,{onChange:e=>y({...x,visible:e}),checked:null==x?void 0:x.visible,label:d}),(0,n.createElement)(h.__experimentalTooltip,{className:"woocommerce-edit-attribute-modal__tooltip-show-in-product-details",text:m})),0!==b.id&&(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,n.createElement)(v.CheckboxControl,{disabled:!0,onChange:()=>{},checked:!0,label:s}),(0,n.createElement)(h.__experimentalTooltip,{className:"woocommerce-edit-attribute-modal__tooltip-use-as-filter",text:u}))),Boolean(S||P)&&(0,n.createElement)(Fa,null,function(){const e=(0,k.sprintf)((0,k.__)("%d variations will be added","woocommerce"),S),t=(0,k.sprintf)((0,k.__)("%d variations will be removed","woocommerce"),P);return S&&P?(0,k.sprintf)("%1$s, %2$s.",e,t):S?(0,k.sprintf)("%s.",e):(0,k.sprintf)("%s.",t)}())),(0,n.createElement)("div",{className:"woocommerce-edit-attribute-modal__buttons"},(0,n.createElement)(v.Button,{isSecondary:!0,label:p,onClick:()=>f()},_),(0,n.createElement)(v.Button,{isPrimary:!0,label:w,onClick:()=>{E(x)}},g))),(0,n.createElement)(h.__experimentalSelectControlMenuSlot,null))};function za({width:e=24,height:t=24,...o}){return(0,n.createElement)("svg",{...o,width:e,height:t,viewBox:`0 0 ${e} ${t}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("g",null,(0,n.createElement)("path",{d:"M10 17.5H14V16H10V17.5ZM6 6V7.5H18V6H6ZM8 12.5H16V11H8V12.5Z",fill:"#949494"}),(0,n.createElement)("rect",{x:"16.7734",y:"4",width:"1.22727",height:"16",transform:"rotate(30 16.7734 4)",fill:"#949494"}),(0,n.createElement)("rect",{x:"16",y:"3",width:"1.22727",height:"16",transform:"rotate(30 16 3)",fill:"white"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:"clip0_4951_450432"},(0,n.createElement)("rect",{width:"24",height:"24",fill:"white"}))))}function ja({width:e=24,height:t=24,className:o,...r}){return(0,n.createElement)("svg",{...r,width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:ce()(o,"woocommerce-hidden-icon")},(0,n.createElement)("path",{d:"M3.99863 13C4.66945 13.3354 4.66932 13.3357 4.66919 13.3359L4.672 13.3305C4.67523 13.3242 4.68086 13.3135 4.6889 13.2985C4.70497 13.2686 4.73062 13.2218 4.76597 13.1608C4.83672 13.0385 4.94594 12.8592 5.09443 12.6419C5.39214 12.2062 5.84338 11.624 6.45337 11.0431C7.6721 9.88241 9.49621 8.75 11.9986 8.75C14.501 8.75 16.3251 9.88241 17.5439 11.0431C18.1539 11.624 18.6051 12.2062 18.9028 12.6419C19.0513 12.8592 19.1605 13.0385 19.2313 13.1608C19.2666 13.2218 19.2923 13.2686 19.3083 13.2985C19.3164 13.3135 19.322 13.3242 19.3252 13.3305L19.3281 13.3359C19.3279 13.3357 19.3278 13.3354 19.9986 13C20.6694 12.6646 20.6693 12.6643 20.6691 12.664L20.6678 12.6614L20.6652 12.6563L20.6573 12.6408C20.6507 12.6282 20.6417 12.6108 20.63 12.5892C20.6068 12.5459 20.5734 12.4852 20.5296 12.4096C20.4422 12.2584 20.3131 12.0471 20.1413 11.7956C19.7984 11.2938 19.2809 10.626 18.5784 9.9569C17.1721 8.61759 14.9962 7.25 11.9986 7.25C9.00105 7.25 6.82516 8.61759 5.41889 9.9569C4.71638 10.626 4.19886 11.2938 3.85596 11.7956C3.68413 12.0471 3.55507 12.2584 3.46762 12.4096C3.42386 12.4852 3.39044 12.5459 3.3672 12.5892C3.35558 12.6108 3.3465 12.6282 3.33994 12.6408L3.33199 12.6563L3.32943 12.6614L3.3285 12.6632C3.32833 12.6635 3.32781 12.6646 3.99863 13ZM11.9986 16C13.9316 16 15.4986 14.433 15.4986 12.5C15.4986 10.567 13.9316 9 11.9986 9C10.0656 9 8.49863 10.567 8.49863 12.5C8.49863 14.433 10.0656 16 11.9986 16Z",fill:"#949494"}))}const Oa=(0,k.__)("Visible in product details","woocommerce"),Ga=(0,k.__)("Custom attribute. Customers can’t filter or search by it to find this product","woocommerce"),Za=({attribute:e,editLabel:t=(0,k.__)("Edit","woocommerce"),removeLabel:o=(0,k.__)("Remove attribute","woocommerce"),onDragStart:r,onDragEnd:a,onEditClick:c,onRemoveClick:i})=>(0,n.createElement)(h.ListItem,{className:"woocommerce-attribute-list-item",onDragStart:r,onDragEnd:a},(0,n.createElement)("div",null,e.name),(0,n.createElement)("div",null,e.options.slice(0,e.options.length>3?2:3).map((e=>(0,n.createElement)(h.Tag,{key:e,label:e}))),e.options.length>3&&(0,n.createElement)(h.Tag,{label:(0,k.sprintf)((0,k.__)("+ %d more","woocommerce"),e.options.length-2)})),(0,n.createElement)("div",{className:"woocommerce-attribute-list-item__actions"},0===e.id&&(0,n.createElement)(v.Tooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:Ga},(0,n.createElement)("div",{className:"woocommerce-attribute-list-item__actions-icon-wrapper"},(0,n.createElement)(za,{className:"woocommerce-attribute-list-item__actions-icon-wrapper-icon"}))),e.visible&&(0,n.createElement)(v.Tooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:Oa},(0,n.createElement)("div",{className:"woocommerce-attribute-list-item__actions-icon-wrapper"},(0,n.createElement)(ja,{className:"woocommerce-attribute-list-item__actions-icon-wrapper-icon"}))),"function"==typeof c&&(0,n.createElement)(v.Button,{variant:"tertiary",onClick:()=>c(e)},t),"function"==typeof i&&(0,n.createElement)(v.Button,{icon:ze.Z,label:o,onClick:()=>i(e)}))),$a=v.ComboboxControl;function Ua(e){return{label:e.name,value:`attr-${e.id}`,disabled:!!e.isDisabled}}const qa={label:"",value:"",state:"draft"};function Wa(e){const{item:t}=e;return t.disabled?(0,n.createElement)("div",{className:"item-wrapper is-disabled"},t.label):(0,n.createElement)("div",{className:"item-wrapper"},t.label)}const Ja=({label:e,help:t,current:o=null,items:r=[],instanceNumber:a=0,isLoading:c=!1,onAddNew:i,onChange:l})=>{const[s,u]=(0,n.useState)(qa),d=null==r?void 0:r.map(Ua),m=(0,n.useMemo)((()=>s.label.length?[...d,{label:"draft"===s.state?(0,k.sprintf)((0,k.__)('Create "%s"',"woocommerce"),s.label):s.label,value:s.value}]:d),[d,s]);let p=o?`attr-${o.id}`:"";"creating"===s.state&&(p="create-attribute");const h=(0,n.useRef)(null),[_,w]=(0,n.useState)("");return(0,n.useEffect)((()=>{if(!(null==h?void 0:h.current))return;const e=h.current.querySelector("input.components-combobox-control__input"),t=null==e?void 0:e.getAttribute("id");e&&"string"==typeof t&&w(t);const o=h.current.querySelector(".components-combobox-control__suggestions-container"),r={zIndex:1e3-a};o&&Object.assign(o.style,r)}),[a]),t||(t=(0,n.createElement)("div",{className:"woocommerce-attributes-combobox-help"},(0,k.__)("Select an attribute or type to create.","woocommerce")),c?t=(0,n.createElement)("div",{className:"woocommerce-attributes-combobox-help"},(0,n.createElement)(v.Spinner,null),(0,k.__)("Loading…","woocommerce")):r.length||(t=(0,n.createElement)("div",{className:"woocommerce-attributes-combobox-help"},(0,k.__)("No attributes yet. Type to create.","woocommerce")))),(0,n.createElement)("div",{className:ce()("woocommerce-attributes-combobox-container",{"no-items":!m.length}),ref:h},(0,n.createElement)(v.BaseControl,{label:e,help:t,id:_},(0,n.createElement)($a,{className:"woocommerce-attributes-combobox",allowReset:!1,options:m,value:p,onChange:e=>{if(!e)return;if("create-attribute"===e)return u({...s,state:"creating"}),null==i?void 0:i(s.label);const t=null==r?void 0:r.find((t=>t.id===Number(e.replace("attr-",""))));t&&!t.isDisabled&&l(t)},onFilterValueChange:e=>{u({label:e,value:"create-attribute",state:"draft"})},__experimentalRenderItem:Wa})))},Ya=v.FormTokenField,Xa=e=>({value:"string"==typeof e?e:e.value,slug:"string"==typeof e?(0,A.cleanForSlug)(e):(0,A.cleanForSlug)(e.value)}),Ka=e=>"string"==typeof e?e:e.value,Qa=({index:e,attribute:t,attributePlaceholder:o,disabledAttributeMessage:r,isLoadingAttributes:a,attributes:c,onNewAttributeAdd:l,onAttributeSelect:s,termPlaceholder:u,onTermsSelect:d,termsAutoSelection:m,clearButtonDisabled:p,removeLabel:h,onRemove:_})=>{var w,g,f;const E=t?t.id:void 0,{createProductAttributeTerm:b}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME),C=(0,n.useMemo)((()=>({search:"",attribute_id:E,per_page:100})),[E]),x=(0,i.useSelect)((e=>{const{getProductAttributeTerms:t}=e(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME);return E?t(C):[]}),[E,C]),[y,S]=(0,n.useState)((null===(w=null==t?void 0:t.options)||void 0===w?void 0:w.map(Xa))||[]),[P,B]=(0,n.useState)([]),V=0===(null==t?void 0:t.id),N=[...(V?y.map(Ka):null==x?void 0:x.map((e=>e.name)))||[]||[],...P.map(Ka)].filter(((e,t,o)=>o.indexOf(e)===t)),T=[...(V?null===(g=t.options)||void 0===g?void 0:g.map(Xa):null===(f=null==t?void 0:t.terms)||void 0===f?void 0:f.map((({name:e})=>Xa(e))))||[]||[],...P],[L,F]=(0,n.useState)(!1);(0,n.useEffect)((()=>{if(m&&!L&&t&&(null==x?void 0:x.length)){if(F(!0),"first"===m)return d([x[0]],e,t);d(x.slice(0,20),e,t)}}),[m,L,t,x,d,e]);const R=null==c?void 0:c.filter((e=>e.id===E||void 0===(null==e?void 0:e.takenBy)||e.takenBy<0)),D=(null==N?void 0:N.length)&&N.length>((null==T?void 0:T.length)||0);return(0,n.createElement)("tr",{key:e,className:`woocommerce-new-attribute-modal__table-row woocommerce-new-attribute-modal__table-row-${e}`},(0,n.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-column"},(0,n.createElement)(Ja,{instanceNumber:e,placeholder:o,current:t,items:R,isLoading:a,onAddNew:t=>null==l?void 0:l(t,e),onChange:t=>{t.id!==E&&(s(t,e),F(!1))},disabledAttributeMessage:r})),(0,n.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-value-column"+(D?" has-values":"")},(0,n.createElement)(Ya,{placeholder:u,disabled:!t,suggestions:N,value:T,onChange:o=>{if(!t)return;const r=o.filter((e=>"string"==typeof e)).map(Xa),n=o.map(Ka);if(V)return S((e=>[...e,...r.map(Xa)])),void d(n,e,t);const a=N.map(A.cleanForSlug),c=r.filter((e=>!a.includes(e.slug))),l=null==x?void 0:x.filter((e=>n.includes(e.name)));d(l,e,t),c.length&&async function(o){if(!t)return;B((e=>[...e,...o]));const r=o.map((async e=>{try{return await b({name:e.value,slug:e.slug,attribute_id:E},{optimisticQueryUpdate:C,optimisticUrlParameters:[E]})}catch(t){return void(0,i.dispatch)("core/notices").createErrorNotice((0,k.sprintf)((0,k.__)('There was an error trying to create the attribute term "%s".',"woocommerce"),e.value))}})),n=(await Promise.all(r)).filter((e=>void 0!==e));B((e=>e.filter((e=>!o.includes(e)))));const a=(0,i.select)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms(C).filter((e=>T.map((e=>e.value)).includes(e.name)));d([...a,...n],e,t)}(c.map((e=>({...e,status:"validating"}))))},__experimentalExpandOnFocus:!0,__experimentalAutoSelectFirstMatch:!0,__experimentalShowHowTo:!0})),(0,n.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-trash-column"},(0,n.createElement)(v.Button,{icon:ze.Z,disabled:p,label:h,onClick:()=>_(e)})))},ec={order_by:"name"},tc=({title:e=(0,k.__)("Add attributes","woocommerce"),description:t="",notice:o,attributeLabel:r=(0,k.__)("Attribute","woocommerce"),valueLabel:a=(0,k.__)("Values","woocommerce"),attributePlaceholder:c=(0,k.__)("Search or create attribute","woocommerce"),termPlaceholder:l=(0,k.__)("Search or create value","woocommerce"),removeLabel:s=(0,k.__)("Remove attribute","woocommerce"),addAnotherAccessibleLabel:u=(0,k.__)("Add another attribute","woocommerce"),addAnotherLabel:d=(0,k.__)("+ Add another","woocommerce"),cancelLabel:m=(0,k.__)("Cancel","woocommerce"),addAccessibleLabel:p=(0,k.__)("Add attributes","woocommerce"),addLabel:_=(0,k.__)("Add","woocommerce"),onCancel:w,onAdd:g,onAddAnother:f=(()=>{}),onRemoveItem:E=(()=>{}),selectedAttributeIds:b=[],createNewAttributesAsGlobal:C=!1,disabledAttributeIds:x=[],disabledAttributeMessage:y=(0,k.__)("Already used in Attributes","woocommerce"),termsAutoSelection:A,defaultVisibility:B=!1,defaultSearch:V})=>{const N=e=>0!==e.id,T=e=>{return N(e)?(t=e.terms)?t.map((e=>e.name)):[]:e.options;var t};(0,n.useEffect)((function(){const e=document.querySelector(".woocommerce-new-attribute-modal__table-row .woocommerce-attribute-input-field label"),t=setTimeout((()=>{null==e||e.focus()}),100);return()=>clearTimeout(t)}),[]);const L={name:V},{attributes:F,isLoadingAttributes:R}=(0,i.useSelect)((e=>{const{getProductAttributes:t,hasFinishedResolution:o}=e(M.EXPERIMENTAL_PRODUCT_ATTRIBUTES_STORE_NAME);return{isLoadingAttributes:!o("getProductAttributes",[ec]),attributes:t(ec)}}),[]),{createErrorNotice:D}=(0,i.useDispatch)("core/notices"),{createProductAttribute:H}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTES_STORE_NAME);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.Form,{initialValues:{attributes:[V?L:null]}},(({values:i,setValue:h})=>{var V;const M=!i.attributes.every((e=>Ha(e)));function L(e,t){return(0,P.recordEvent)("product_attribute_add_custom_attribute",{source:S.RG}),h(`attributes[${t}]`,e)}function I(e,t){if(!C)return h(`attributes[${t}]`,{id:0,name:e,slug:e});H({name:e,generate_slug:!0},{optimisticQueryUpdate:ec}).then((e=>{h(`attributes[${t}]`,e)})).catch((e=>{let t=(0,k.__)("Failed to create new attribute.","woocommerce");"woocommerce_rest_cannot_create"===e.code&&(t=e.message),D(t,{explicitDismiss:!0})}))}function z(e,t,o){const r=o&&N(o)?"terms":"options";h(`attributes[${t}].${r}`,e)}const j=i.attributes.map((e=>e?e.id:null)).filter((e=>"number"==typeof e)),O=null===(V=null==F?void 0:F.filter((e=>!b.includes(e.id))))||void 0===V?void 0:V.map((e=>({...e,isDisabled:x.includes(e.id),takenBy:j.indexOf(e.id)})));return(0,n.createElement)(v.Modal,{title:e,onRequestClose:e=>{(null==e?void 0:e.isPropagationStopped())||w()},className:"woocommerce-new-attribute-modal",size:"medium"},o&&(0,n.createElement)(v.Notice,{isDismissible:!1},(0,n.createElement)("p",null,o)),t&&(0,n.createElement)("p",null,t),(0,n.createElement)("div",{className:"woocommerce-new-attribute-modal__body"},(0,n.createElement)("table",{className:"woocommerce-new-attribute-modal__table"},(0,n.createElement)("thead",null,(0,n.createElement)("tr",{className:"woocommerce-new-attribute-modal__table-header"},(0,n.createElement)("th",null,r),(0,n.createElement)("th",null,a))),(0,n.createElement)("tbody",null,i.attributes.map(((e,t)=>(0,n.createElement)(Qa,{key:t,index:t,attribute:e,attributePlaceholder:c,disabledAttributeMessage:y,isLoadingAttributes:R,attributes:O,onNewAttributeAdd:I,onAttributeSelect:L,termPlaceholder:l,removeLabel:s,onTermsSelect:z,onRemove:e=>((e,t,o)=>{E(),t.attributes.length>1?o("attributes",t.attributes.filter(((t,o)=>o!==e))):o(`attributes[${e}]`,null)})(e,i,h),termsAutoSelection:A})))))),(0,n.createElement)("div",null,(0,n.createElement)(v.Button,{className:"woocommerce-new-attribute-modal__add-attribute",variant:"tertiary",label:u,onClick:()=>{((e,t)=>{var o;t("attributes",[...e.attributes,null]),o=e.attributes.length,setTimeout((()=>{const e=document.querySelector(`.woocommerce-new-attribute-modal__table-row-${o}`);null==e||e.scrollIntoView({behavior:"smooth"})}),0),f()})(i,h)}},d)),(0,n.createElement)("div",{className:"woocommerce-new-attribute-modal__buttons"},(0,n.createElement)(v.Button,{isSecondary:!0,label:m,onClick:()=>w()},m),(0,n.createElement)(v.Tooltip,{text:M?(0,k.__)("Add at least one attribute and one value. Press Enter to select.","woocommerce"):""},(0,n.createElement)("div",null,(0,n.createElement)(v.Button,{variant:"primary",label:p,showTooltip:!0,disabled:M,onClick:()=>(e=>{const t=[];e.attributes.forEach((e=>{var o;Ha(e)&&t.push({...e,visible:(o=e,void 0!==o.visible?o.visible:B),options:T(e)})})),g(t)})(i)},_)))))})),(0,n.createElement)(h.__experimentalSelectControlMenuSlot,null))};function oc({title:e,description:t,onCancel:o,onRemove:r}){const[a,c]=(0,n.useState)(!1);return(0,n.createElement)(v.Modal,{title:e,onRequestClose:e=>{!e.isPropagationStopped()&&o&&o()},className:"woocommerce-remove-confirmation-modal"},(0,n.createElement)("div",{className:"woocommerce-remove-confirmation-modal__content"},t),(0,n.createElement)("div",{className:"woocommerce-remove-confirmation-modal__buttons"},(0,n.createElement)(v.Button,{isDestructive:!0,variant:"primary",isBusy:a,onClick:async function(){try{c(!0),await r()}finally{c(!1)}}},(0,k.__)("Delete","woocommerce")),(0,n.createElement)(v.Button,{variant:"tertiary",onClick:o},(0,k.__)("Cancel","woocommerce"))))}const rc=({value:e,onAdd:t=(()=>{}),onAddAnother:o=(()=>{}),onRemoveItem:r=(()=>{}),onChange:a,onEdit:c=(()=>{}),onNewModalCancel:i=(()=>{}),onNewModalClose:l=(()=>{}),onNewModalOpen:s=(()=>{}),onEditModalCancel:u=(()=>{}),onEditModalClose:d=(()=>{}),onEditModalOpen:m=(()=>{}),onRemove:p=(()=>{}),onRemoveCancel:_=(()=>{}),onNoticeDismiss:w=(()=>{}),renderCustomEmptyState:g,uiStrings:f,createNewAttributesAsGlobal:E=!1,useRemoveConfirmationModal:b=!1,disabledAttributeIds:C=[],termsAutoSelection:x,defaultVisibility:y=!1})=>{f={newAttributeListItemLabel:(0,k.__)("Add new","woocommerce"),globalAttributeHelperMessage:(0,k.__)("You can change the attribute's name in <link>Attributes</link>.","woocommerce"),attributeRemoveConfirmationMessage:(0,k.__)("Remove this attribute?","woocommerce"),...f};const[A,B]=(0,n.useState)(!1),[V,M]=(0,n.useState)(),[N,T]=(0,n.useState)(),[L,F]=(0,n.useState)(null),R=e=>{a(e.map((e=>({...e,options:e.terms?e.terms.map((e=>e.name)):e.options,terms:void 0,visible:e.visible||!1}))))},D=t=>{R(e.filter((e=>Da(e)!==Da(t)))),p(t),T(null)},H=()=>{B(!0),s()},I=()=>{B(!1),M(void 0),l()},z=e=>{F(null),d(e)},j=e.sort(((e,t)=>e.position-t.position)),O=e.reduce(((e,t)=>(e[Ra(t)]=t,e)),{}),G=e.find((e=>Da(e)===L));return(0,n.createElement)("div",{className:"woocommerce-attribute-field"},g&&0===e.length?null:(0,n.createElement)(st,null,(null==f?void 0:f.newAttributeListItemLabel)&&(0,n.createElement)(v.Button,{variant:"secondary",className:"woocommerce-add-attribute-list-item__add-button",onClick:H},f.newAttributeListItemLabel)),f.notice&&(0,n.createElement)(v.Notice,{isDismissible:!0,status:"warning",className:"woocommerce-attribute-field__notice",onRemove:w},(0,n.createElement)("p",null,f.notice)),Boolean(e.length)&&(0,n.createElement)(h.Sortable,{onOrderChange:e=>{const t=e.reduce(((e,{props:t},o)=>(e[Ra(t.attribute)]=o,e)),{});a(function(e,t){return Object.keys(t).map((o=>isNaN(e[o])?{...t[o]}:{...t[o],position:e[o]}))}(t,O))}},j.map((e=>(0,n.createElement)(Za,{attribute:e,removeLabel:null==f?void 0:f.attributeRemoveLabel,key:Da(e),onEditClick:()=>{return t=e,(0,P.recordEvent)("product_options_edit",{source:S.RG,attribute:t.name}),F(Da(t)),void m(t);var t},onRemoveClick:()=>{return t=e,void(b?T(t):window.confirm(null==f?void 0:f.attributeRemoveConfirmationMessage)?D(t):_(t));var t}})))),A&&(0,n.createElement)(tc,{title:f.newAttributeModalTitle,description:f.newAttributeModalDescription,onCancel:()=>{I(),i()},onAdd:o=>{const r=o.filter((t=>!e.some((e=>Da(t)===Da(e)))));R([...e,...r]),t(o),I()},onAddAnother:o,onRemoveItem:r,selectedAttributeIds:e.map((e=>e.id)),createNewAttributesAsGlobal:E,disabledAttributeIds:C,disabledAttributeMessage:f.disabledAttributeMessage,termsAutoSelection:x,defaultVisibility:y,defaultSearch:V}),(0,n.createElement)(h.__experimentalSelectControlMenuSlot,null),G&&(0,n.createElement)(Ia,{title:(0,k.sprintf)((0,k.__)("Edit %s","woocommerce"),G.name),customAttributeHelperMessage:f.customAttributeHelperMessage,globalAttributeHelperMessage:f.globalAttributeHelperMessage?(0,n.createInterpolateElement)(f.globalAttributeHelperMessage,{link:(0,n.createElement)(h.Link,{href:(0,ir.getAdminLink)("edit.php?post_type=product&page=product_attributes"),target:"_blank",type:"wp-admin"},(0,n.createElement)(n.Fragment,null))}):void 0,onCancel:()=>{z(G),u(G)},onEdit:t=>{(t=>{var o;(0,P.recordEvent)("product_options_update",{source:S.RG,attribute:t.name,values:null===(o=t.terms)||void 0===o?void 0:o.map((e=>e.name)),default:t.isDefault,visible:t.visible,filter:!0});const r=e.map((e=>Da(e)===Da(t)?t:e));c(t),R(r),z(t)})(t)},attribute:G,attributes:e}),N&&(0,n.createElement)(oc,{title:(0,k.sprintf)((0,k.__)("Delete %(attributeName)s","woocommerce"),{attributeName:N.name}),description:(0,n.createElement)("p",null,f.attributeRemoveConfirmationModalMessage),onRemove:()=>D(N),onCancel:()=>{_(N),T(null)}}),e.length?null:g?g({addAttribute(e){M(e),H()}}):(0,n.createElement)(Pt,{names:Bt((0,k.__)("Attribute","woocommerce"),3)}))},nc=(e,t)=>e.reduce(((e,o)=>(e[t(o)?0:1].push(o),e)),[[],[]]),ac=(e,t)=>t?e.filter((e=>!!e.variation)):e.filter((e=>!e.variation));function cc({allAttributes:e=[],isVariationAttributes:t=!1,onChange:o,productId:r}){const[a,c]=(0,n.useState)(ac(e,t)),l=(0,n.useCallback)((e=>(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms({attribute_id:e}).then((e=>e),(e=>e))),[r]),s=(e,t,o)=>e.map((({isDefault:e,terms:r,...n},a)=>({...n,variation:t,position:o+a})));return{attributes:a,fetchAttributes:(0,n.useCallback)((()=>{const[o,r]=nc(ac(e,t),(e=>0===e.id));Promise.all(r.map((e=>l(e.id)))).then((e=>{c([...r.map(((t,o)=>{return r=t,n=e[o],{...r,terms:(n||[]).filter((e=>r.options.includes(e.name)))};var r,n})),...o])}))}),[e,t,l]),handleChange:r=>{const n=r.reduce(((e,t)=>void 0===t.isDefault||!0===t.isDefault?[...e,{id:t.id,name:t.name,option:t.options[0]}]:e),[]);let a=t?e.filter((e=>!e.variation)):e.filter((e=>!!e.variation));a=a.filter((e=>!(e.id>0&&r.some((t=>t.id===e.id))||0===e.id&&r.some((t=>t.name.toLowerCase()===e.name.toLowerCase())))));const c=s(r,t,t?a.length:0),i=s(a,!t,t?0:r.length);o(t?[...i,...c]:[...c,...i],n)},setAttributes:c}}const{name:ic}=Ba,lc={example:{},edit:function({attributes:e,context:{isInSelectedTab:t}}){const[o,r]=(0,u.useEntityProp)("postType","product","attributes"),a=(0,u.useEntityId)("postType","product"),c=(0,s.useWooBlockProps)(e),{attributes:i,fetchAttributes:l,handleChange:d}=cc({allAttributes:o,onChange:r,productId:a});return(0,n.useEffect)((()=>{t&&l()}),[o,t]),(0,n.createElement)("div",{...c},(0,n.createElement)(rc,{value:i,disabledAttributeIds:o.filter((e=>!!e.variation)).map((e=>e.id)),uiStrings:{disabledAttributeMessage:(0,k.__)("Already used in Variations","woocommerce")},onAdd:()=>{(0,P.recordEvent)("product_add_attributes_modal_add_button_click")},onChange:d,onNewModalCancel:()=>{(0,P.recordEvent)("product_add_attributes_modal_cancel_button_click")},onNewModalOpen:()=>{i.length?(0,P.recordEvent)("product_add_attribute_button"):(0,P.recordEvent)("product_add_first_attribute_button_click")},onAddAnother:()=>{(0,P.recordEvent)("product_add_attributes_modal_add_another_attribute_button_click")},onRemoveItem:()=>{(0,P.recordEvent)("product_add_attributes_modal_remove_attribute_button_click")},onRemove:()=>(0,P.recordEvent)("product_remove_attribute_confirmation_confirm_click"),onRemoveCancel:()=>(0,P.recordEvent)("product_remove_attribute_confirmation_cancel_click"),termsAutoSelection:"first",defaultVisibility:!0}))}},sc=()=>m({name:ic,metadata:Ba,settings:lc}),uc=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-password-field","description":"A checkbox and an input to type a password to view a product.","title":"Product password","category":"widgets","keywords":["products","password"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:dc,...mc}=uc,pc={edit:function({attributes:e}){const t=(0,s.useWooBlockProps)(e),{label:o}=e,[r,a]=(0,u.useEntityProp)("postType","product","post_password");return(0,n.createElement)("div",{...t},(0,n.createElement)(Ge,{label:o,postPassword:r,onInputChange:a}))}};function hc(){return m({name:dc,metadata:mc,settings:pc})}const _c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-details-section-description","title":"Product details section description","category":"woocommerce","description":"The product details section description.","keywords":["products","section","description"],"textdomain":"default","attributes":{"content":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["selectedTab"],"editorStyle":"file:./editor.css"}'),vc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5zM12 4H6a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2v-6h-1.5v6a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5h6V4z"})}),wc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})}),gc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM13.9624 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V10.0391H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H10L10 10.4917L16.4589 10.5139L16.4641 9.01389L5.5 8.97618V6C5.5 5.72386 5.72386 5.5 6 5.5H13.9624V4ZM5.5 10.4762V18C5.5 18.2761 5.72386 18.5 6 18.5H8.5L8.5 10.4865L5.5 10.4762Z"})}),fc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})}),Ec=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z"})});var bc=__webpack_require__(52798),Cc=__webpack_require__(17289),xc=__webpack_require__(94392),yc=__webpack_require__(25585);const kc=(0,q.jsx)(U.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M12.5939 21C14.1472 21 16.1269 20.5701 17.0711 20.1975L16.6447 18.879C16.0964 19.051 14.3299 19.6242 12.6548 19.6242C7.4467 19.6242 4.67513 16.8726 4.67513 12C4.67513 7.21338 7.50762 4.34713 12.2893 4.34713C17.132 4.34713 19.4162 7.55732 19.4162 10.7675C19.4162 14.035 19.0508 15.4968 17.4975 15.4968C16.5838 15.4968 16.0964 14.7803 16.0964 13.9777V7.5H14.4822V8.30255H14.3909C14.1777 7.67198 12.9898 7.12739 11.467 7.2707C9.18274 7.5 7.4467 9.27707 7.4467 11.8567C7.4467 14.5796 8.81726 16.672 11.467 16.758C13.203 16.8153 14.1168 16.0127 14.4822 15.1815H14.5736C14.7563 16.414 16.401 16.8439 17.467 16.8439C20.6954 16.8439 21 13.5764 21 10.7962C21 6.86943 18.0761 3 12.3807 3C6.50254 3 3 6.3535 3 11.9427C3 17.7325 6.38071 21 12.5939 21ZM11.7107 15.2962C9.73096 15.2962 9.03046 13.6051 9.03046 11.7707C9.03046 10.1083 10.0355 8.67516 11.7716 8.67516C13.599 8.67516 14.5736 9.36306 14.5736 11.7707C14.5736 14.1497 13.7513 15.2962 11.7107 15.2962Z"})}),Ac=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})}),Sc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})}),Pc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"})}),Bc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})}),Vc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M8.95 11.25H4v1.5h4.95v4.5H13V18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v.75h-2.55v-7.5H13V9c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v.75H8.95v4.5ZM14.5 15v3c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-3c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5Zm0-6V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5Z",clipRule:"evenodd"})});var Mc=__webpack_require__(76875);const Nc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"m6.6 15.6-1.2.8c.6.9 1.3 1.6 2.2 2.2l.8-1.2c-.7-.5-1.3-1.1-1.8-1.8zM5.5 12c0-.4 0-.9.1-1.3l-1.5-.3c0 .5-.1 1.1-.1 1.6s.1 1.1.2 1.6l1.5-.3c-.2-.4-.2-.9-.2-1.3zm11.9-3.6 1.2-.8c-.6-.9-1.3-1.6-2.2-2.2l-.8 1.2c.7.5 1.3 1.1 1.8 1.8zM5.3 7.6l1.2.8c.5-.7 1.1-1.3 1.8-1.8l-.7-1.3c-.9.6-1.7 1.4-2.3 2.3zm14.5 2.8-1.5.3c.1.4.1.8.1 1.3s0 .9-.1 1.3l1.5.3c.1-.5.2-1 .2-1.6s-.1-1.1-.2-1.6zM12 18.5c-.4 0-.9 0-1.3-.1l-.3 1.5c.5.1 1 .2 1.6.2s1.1-.1 1.6-.2l-.3-1.5c-.4.1-.9.1-1.3.1zm3.6-1.1.8 1.2c.9-.6 1.6-1.3 2.2-2.2l-1.2-.8c-.5.7-1.1 1.3-1.8 1.8zM10.4 4.2l.3 1.5c.4-.1.8-.1 1.3-.1s.9 0 1.3.1l.3-1.5c-.5-.1-1.1-.2-1.6-.2s-1.1.1-1.6.2z"})}),Tc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})}),Lc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6.13 5.5l1.926 1.927A4.975 4.975 0 007.025 10H5v1.5h2V13H5v1.5h2.1a5.002 5.002 0 009.8 0H19V13h-2v-1.5h2V10h-2.025a4.979 4.979 0 00-1.167-2.74l1.76-1.76-1.061-1.06-1.834 1.834A4.977 4.977 0 0012 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5zm2.37 5v3a3.5 3.5 0 107 0v-3a3.5 3.5 0 10-7 0z",fillRule:"evenodd",clipRule:"evenodd"})}),Fc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),Rc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z"})}),Dc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})}),Hc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM15.5303 8.46967C15.8232 8.76256 15.8232 9.23744 15.5303 9.53033L13.0607 12L15.5303 14.4697C15.8232 14.7626 15.8232 15.2374 15.5303 15.5303C15.2374 15.8232 14.7626 15.8232 14.4697 15.5303L12 13.0607L9.53033 15.5303C9.23744 15.8232 8.76256 15.8232 8.46967 15.5303C8.17678 15.2374 8.17678 14.7626 8.46967 14.4697L10.9393 12L8.46967 9.53033C8.17678 9.23744 8.17678 8.76256 8.46967 8.46967C8.76256 8.17678 9.23744 8.17678 9.53033 8.46967L12 10.9393L14.4697 8.46967C14.7626 8.17678 15.2374 8.17678 15.5303 8.46967Z"})}),Ic=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z"})}),zc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M12 9.2c-2.2 0-3.9 1.8-3.9 4s1.8 4 3.9 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.4-1.1-2.4-2.5s1.1-2.5 2.4-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM20.2 8c-.1 0-.3 0-.5-.1l-2.5-.8c-.4-.1-.8-.4-1.1-.8l-1-1.5c-.4-.5-1-.9-1.7-.9h-2.9c-.6.1-1.2.4-1.6 1l-1 1.5c-.3.3-.6.6-1.1.7l-2.5.8c-.2.1-.4.1-.6.1-1 .2-1.7.9-1.7 1.9v8.3c0 1 .9 1.9 2 1.9h16c1.1 0 2-.8 2-1.9V9.9c0-1-.7-1.7-1.8-1.9zm.3 10.1c0 .2-.2.4-.5.4H4c-.3 0-.5-.2-.5-.4V9.9c0-.1.2-.3.5-.4.2 0 .5-.1.8-.2l2.5-.8c.7-.2 1.4-.6 1.8-1.3l1-1.5c.1-.1.2-.2.4-.2h2.9c.2 0 .3.1.4.2l1 1.5c.4.7 1.1 1.1 1.9 1.4l2.5.8c.3.1.6.1.8.2.3 0 .4.2.4.4v8.1z"})}),jc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M14 5H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V7c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v10zm2.5-7v4l5 3V7l-5 3zm3.5 4.4l-2-1.2v-2.3l2-1.2v4.7z"})});var Oc=__webpack_require__(42890);const Gc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"})}),Zc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"m15.99 10.889-3.988 3.418-3.988-3.418.976-1.14 3.012 2.582 3.012-2.581.976 1.139Z"})});var $c=__webpack_require__(38192),Uc=__webpack_require__(51619),qc=__webpack_require__(74621);const Wc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m12 20-4.5-3.6-.9 1.2L12 22l5.5-4.4-.9-1.2L12 20zm0-16 4.5 3.6.9-1.2L12 2 6.5 6.4l.9 1.2L12 4z"})}),Jc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})}),Yc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})}),Xc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"})}),Kc=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"})}),Qc=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"})});var ei=__webpack_require__(9759);const ti=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})}),oi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"})}),ri=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})}),ni=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})}),ai=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})}),ci=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})}),ii=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",clipRule:"evenodd"})}),li=(0,q.jsxs)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,q.jsx)(U.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z",fillRule:"evenodd",clipRule:"evenodd"}),(0,q.jsx)(U.Path,{d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15",fillRule:"evenodd",clipRule:"evenodd"}),(0,q.jsx)(U.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})]}),si=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})}),ui=(0,q.jsx)(U.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"})}),di=(0,q.jsx)(U.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z"})}),mi=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",children:(0,q.jsx)(U.Path,{d:"M19.53 4.47a.75.75 0 0 1 0 1.06L17.06 8l.77.769a3.155 3.155 0 0 1 .685 3.439 3.15 3.15 0 0 1-.685 1.022v.001L13.23 17.83v.001a3.15 3.15 0 0 1-4.462 0L8 17.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L6.94 16l-.77-.769a3.154 3.154 0 0 1-.685-3.439 3.15 3.15 0 0 1 .685-1.023l4.599-4.598a3.152 3.152 0 0 1 4.462 0l.769.768 2.47-2.47a.75.75 0 0 1 1.06 0Zm-2.76 7.7L15 13.94 10.06 9l1.771-1.77a1.65 1.65 0 0 1 2.338 0L16.77 9.83a1.649 1.649 0 0 1 0 2.338h-.001ZM13.94 15 9 10.06l-1.77 1.771a1.65 1.65 0 0 0 0 2.338l2.601 2.602a1.649 1.649 0 0 0 2.338 0v-.001L13.94 15Z"})}),pi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"})}),hi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16 11.2h-3.2V8h-1.6v3.2H8v1.6h3.2V16h1.6v-3.2H16z"})}),_i=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z"})}),vi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})}),wi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 3.25a8.75 8.75 0 100 17.5 8.75 8.75 0 000-17.5zM4.75 12a7.25 7.25 0 1114.5 0 7.25 7.25 0 01-14.5 0zm9.195 1.944a2.75 2.75 0 01-4.066-.194h.621a.75.75 0 000-1.5H9.262a2.767 2.767 0 010-.5H11.5a.75.75 0 000-1.5H9.88a2.75 2.75 0 014.066-.194.75.75 0 001.06-1.061 4.25 4.25 0 00-6.88 1.255H7.5a.75.75 0 000 1.5h.258c-.01.166-.01.334 0 .5H7.5a.75.75 0 000 1.5h.626a4.25 4.25 0 006.88 1.255.75.75 0 00-1.06-1.06z"})}),gi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm.25 4c-.787 0-1.425.638-1.425 1.425 0 .058.014.147.069.3.04.113.088.223.147.36a26.094 26.094 0 01.173.415H12.5a.75.75 0 010 1.5h-.953c.002.047.003.095.003.144 0 .617-.236 1.168-.511 1.606h3.386a.75.75 0 010 1.5H9.35a.75.75 0 01-.452-1.349l.007-.005a4.417 4.417 0 00.596-.581c.328-.39.549-.806.549-1.171 0-.05-.002-.097-.004-.144H9.5a.75.75 0 010-1.5h.088a5.875 5.875 0 01-.106-.27 2.382 2.382 0 01-.157-.805 2.925 2.925 0 015.637-1.097.75.75 0 01-1.39.563 1.426 1.426 0 00-1.322-.891zm-3.35 5.9l.45.6-.45-.6z"})}),fi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})}),Ei=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})}),bi=(0,q.jsxs)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,q.jsx)(U.Path,{d:"M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z",fillRule:"evenodd",clipRule:"evenodd"}),(0,q.jsx)(U.Path,{d:"m4 5.25 4 2.5-4 2.5v-5Z"})]});var Ci=__webpack_require__(91676);const xi=(0,q.jsx)(U.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})}),yi=(0,q.jsx)(U.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.5 18.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h2.5v13zm10-.5c0 .3-.2.5-.5.5h-8v-13h8c.3 0 .5.2.5.5v12z"})});var ki=__webpack_require__(50529);const Ai=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})});var Si=__webpack_require__(78842),Pi=__webpack_require__(46646);const Bi=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})}),Vi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})}),Mi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z"})}),Ni=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z"})}),Ti=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"})}),Li=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})}),Fi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})}),Ri=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})}),Di=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"})});var Hi=__webpack_require__(36348),Ii=__webpack_require__(68782);const zi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})}),ji=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})}),Oi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})}),Gi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})}),Zi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})}),$i=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6zM5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z"})}),Ui=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})}),qi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})}),Wi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})}),Ji=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var Yi=__webpack_require__(54617);const Xi=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z",fillRule:"evenodd",clipRule:"evenodd"})}),Ki=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})}),Qi=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})}),el=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M7 16.5h10V15H7v1.5zm0-9V9h10V7.5H7z"})}),tl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})}),ol=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})}),rl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})}),nl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})}),al=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})}),cl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})}),il=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})}),ll=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1 16v-2h2v2h-2zm2-3v-1.141A3.991 3.991 0 0016 10a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2z"})}),sl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})}),ul=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M18.646 9H20V8l-1-.5L12 4 5 7.5 4 8v1h14.646zm-3-1.5L12 5.677 8.354 7.5h7.292zm-7.897 9.44v-6.5h-1.5v6.5h1.5zm5-6.5v6.5h-1.5v-6.5h1.5zm5 0v6.5h-1.5v-6.5h1.5zm2.252 8.81c0 .414-.334.75-.748.75H4.752a.75.75 0 010-1.5h14.5a.75.75 0 01.749.75z",clipRule:"evenodd"})}),dl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})}),ml=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 7A2.75 2.75 0 0 1 7 4.25h10A2.75 2.75 0 0 1 19.75 7v10A2.75 2.75 0 0 1 17 19.75H7A2.75 2.75 0 0 1 4.25 17V7ZM7 5.75c-.69 0-1.25.56-1.25 1.25v10c0 .69.56 1.25 1.25 1.25h10c.69 0 1.25-.56 1.25-1.25V7c0-.69-.56-1.25-1.25-1.25H7Z"})}),pl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"})}),hl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})}),_l=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})}),vl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z"})}),wl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z"})}),gl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})}),fl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})}),El=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})}),bl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})}),Cl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})}),xl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M9 13.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 16a4.002 4.002 0 003.8-2.75H15V16h2.5v-2.75H19v-2.5h-6.2A4.002 4.002 0 005 12a4 4 0 004 4z",fillRule:"evenodd",clipRule:"evenodd"})}),yl=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m16 15.5h-8v-1.5h8zm-7.5-2.5h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm-9-3h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2zm3 0h-2v-2h2z"}),(0,q.jsx)(U.Path,{d:"m18.5 6.5h-13a.5.5 0 0 0 -.5.5v9.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9.5a.5.5 0 0 0 -.5-.5zm-13-1.5h13a2 2 0 0 1 2 2v9.5a2 2 0 0 1 -2 2h-13a2 2 0 0 1 -2-2v-9.5a2 2 0 0 1 2-2z"})]}),kl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z"})}),Al=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.5 10h-1.7l-3.7 10.5h1.7l.9-2.6h3.9l.9 2.6h1.7L17.5 10zm-2.2 6.3 1.4-4 1.4 4h-2.8zm-4.8-3.8c1.6-1.8 2.9-3.6 3.7-5.7H16V5.2h-5.8V3H8.8v2.2H3v1.5h9.6c-.7 1.6-1.8 3.1-3.1 4.6C8.6 10.2 7.8 9 7.2 8H5.6c.6 1.4 1.7 2.9 2.9 4.4l-2.4 2.4c-.3.4-.7.8-1.1 1.2l1 1 1.2-1.2c.8-.8 1.6-1.5 2.3-2.3.8.9 1.7 1.7 2.5 2.5l.6-1.5c-.7-.6-1.4-1.3-2.1-2z"})}),Sl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.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"})}),Pl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m13.53 8.47-1.06 1.06-2.72-2.72V12h-1.5V6.81L5.53 9.53 4.47 8.47 9 3.94l4.53 4.53Zm-1.802 7.968c1.307.697 3.235.812 5.772.812v1.5c-2.463 0-4.785-.085-6.478-.988a4.721 4.721 0 0 1-2.07-2.13C8.48 14.67 8.25 13.471 8.25 12h1.5c0 1.328.208 2.28.548 2.969.332.675.81 1.138 1.43 1.47Z"})}),Bl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M17.375 15.656A6.47 6.47 0 0018.5 12a6.47 6.47 0 00-.943-3.374l-1.262.813c.448.749.705 1.625.705 2.561a4.977 4.977 0 01-.887 2.844l1.262.813zm-1.951 1.87l-.813-1.261A4.976 4.976 0 0112 17c-.958 0-1.852-.27-2.613-.736l-.812 1.261A6.47 6.47 0 0012 18.5a6.47 6.47 0 003.424-.974zm-8.8-1.87A6.47 6.47 0 015.5 12c0-1.235.344-2.39.943-3.373l1.261.812A4.977 4.977 0 007 12c0 1.056.328 2.036.887 2.843l-1.262.813zm2.581-7.803A4.977 4.977 0 0112 7c1.035 0 1.996.314 2.794.853l.812-1.262A6.47 6.47 0 0012 5.5a6.47 6.47 0 00-3.607 1.092l.812 1.261zM12 20a8 8 0 100-16 8 8 0 000 16zm0-4.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",clipRule:"evenodd"})}),Vl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"})}),Ml=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z",clipRule:"evenodd"})}),Nl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 11.25h14v1.5H5z"})}),Tl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),Ll=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})}),Fl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})}),Rl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});var Dl=__webpack_require__(9622);const Hl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})}),Il=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})}),zl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})}),jl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"})}),Ol=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})}),Gl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"})}),Zl=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]}),$l=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z"})}),Ul=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"})}),ql=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})}),Wl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})}),Jl=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})}),Yl=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"})}),Xl=(0,q.jsxs)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,q.jsx)(U.Path,{d:"M7.5 12C7.5 11.1716 6.82843 10.5 6 10.5C5.17157 10.5 4.5 11.1716 4.5 12C4.5 12.8284 5.17157 13.5 6 13.5C6.82843 13.5 7.5 12.8284 7.5 12Z"}),(0,q.jsx)(U.Path,{d:"M13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5C12.8284 13.5 13.5 12.8284 13.5 12Z"}),(0,q.jsx)(U.Path,{d:"M19.5 12C19.5 11.1716 18.8284 10.5 18 10.5C17.1716 10.5 16.5 11.1716 16.5 12C16.5 12.8284 17.1716 13.5 18 13.5C18.8284 13.5 19.5 12.8284 19.5 12Z"})]});var Kl=__webpack_require__(71738);const Ql=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"})}),es=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})});var ts=__webpack_require__(96073);const os=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v10zm-11-7.6h-.7l-3.1 4.3h2.8V15h1v-1.3h.7v-.8h-.7V9.4zm-.9 3.5H6.3l1.2-1.7v1.7zm5.6-3.2c-.4-.2-.8-.4-1.2-.4-.5 0-.9.1-1.2.4-.4.2-.6.6-.8 1-.2.4-.3.9-.3 1.5s.1 1.1.3 1.6c.2.4.5.8.8 1 .4.2.8.4 1.2.4.5 0 .9-.1 1.2-.4.4-.2.6-.6.8-1 .2-.4.3-1 .3-1.6 0-.6-.1-1.1-.3-1.5-.1-.5-.4-.8-.8-1zm0 3.6c-.1.3-.3.5-.5.7-.2.1-.4.2-.7.2-.3 0-.5-.1-.7-.2-.2-.1-.4-.4-.5-.7-.1-.3-.2-.7-.2-1.2 0-.7.1-1.2.4-1.5.3-.3.6-.5 1-.5s.7.2 1 .5c.3.3.4.8.4 1.5-.1.5-.1.9-.2 1.2zm5-3.9h-.7l-3.1 4.3h2.8V15h1v-1.3h.7v-.8h-.7V9.4zm-1 3.5H16l1.2-1.7v1.7z"})}),rs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"})}),ns=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z"})}),as=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,q.jsx)(U.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var cs=__webpack_require__(86243);const is=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})}),ls=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})}),ss=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8 4a4 4 0 0 1-4-4h4V8a4 4 0 0 1 0 8Z"})}),us=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"})}),ds=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})}),ms=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})}),ps=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var hs=__webpack_require__(24347);const _s=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),vs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"})}),ws=(0,q.jsx)(U.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})}),gs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})}),fs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"})}),Es=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})}),bs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"})}),Cs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"})}),xs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})}),ys=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"})}),ks=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"})}),As=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,q.jsx)(U.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})]}),Ss=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z"})}),Ps=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})}),Bs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})}),Vs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var Ms=__webpack_require__(16719),Ns=__webpack_require__(68617);const Ts=(0,q.jsx)(U.SVG,{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M1.36605 2.81332L2.30144 1.87332L13.5592 13.1867L12.6239 14.1267L7.92702 9.40666C6.74618 9.41999 5.57861 9.87999 4.68302 10.78L3.35623 9.44665C4.19874 8.60665 5.2071 8.03999 6.2818 7.75332L4.7958 6.25999C3.78744 6.67332 2.84542 7.29332 2.02944 8.11332L0.702656 6.77999C1.512 5.97332 2.42085 5.33332 3.3894 4.84665L1.36605 2.81332ZM15.2973 6.77999L13.9705 8.11332C12.3054 6.43999 10.1096 5.61332 7.92039 5.62666L6.20883 3.90665C9.41303 3.34665 12.8229 4.29332 15.2973 6.77999ZM10.1759 7.89332C11.0781 8.21332 11.9273 8.72665 12.6438 9.44665L12.1794 9.90665L10.1759 7.89332ZM6.00981 12.1133L8 14.1133L9.99018 12.1133C8.89558 11.0067 7.11105 11.0067 6.00981 12.1133Z"})}),Ls=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"})});var Fs=__webpack_require__(34121);const Rs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})}),Ds=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})}),Hs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})}),Is=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z"})}),zs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z"})}),js=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z"})}),Os=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z"})}),Gs=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})}),Zs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M16.83 6.342l.602.3.625-.25.443-.176v12.569l-.443-.178-.625-.25-.603.301-1.444.723-2.41-.804-.475-.158-.474.158-2.41.803-1.445-.722-.603-.3-.625.25-.443.177V6.215l.443.178.625.25.603-.301 1.444-.722 2.41.803.475.158.474-.158 2.41-.803 1.445.722zM20 4l-1.5.6-1 .4-2-1-3 1-3-1-2 1-1-.4L5 4v17l1.5-.6 1-.4 2 1 3-1 3 1 2-1 1 .4 1.5.6V4zm-3.5 6.25v-1.5h-8v1.5h8zm0 3v-1.5h-8v1.5h8zm-8 3v-1.5h8v1.5h-8z",clipRule:"evenodd"})});var $s=__webpack_require__(21571);const Us=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M8.45474 21.2069L16.4547 3.7069L15.5453 3.29114L14.2837 6.05081C13.5991 5.69873 12.8228 5.49999 12 5.49999C10.9385 5.49999 9.95431 5.83076 9.1448 6.39485L7.18994 4.44L6.12928 5.50066L8.05556 7.42694C7.49044 8.15127 7.12047 9.0353 7.02469 9.99999H5V11.5H7V13H5V14.5H7.10002C7.35089 15.7359 8.0576 16.8062 9.03703 17.5279L7.54526 20.7911L8.45474 21.2069ZM9.68024 16.1209C8.95633 15.4796 8.5 14.5431 8.5 13.5V10.5C8.5 8.567 10.067 6.99999 12 6.99999C12.6003 6.99999 13.1653 7.15111 13.659 7.41738L9.68024 16.1209ZM15.3555 9.50155L16.1645 7.73191C16.6053 8.39383 16.8926 9.16683 16.9753 9.99999H19V11.5H17V13H19V14.5H16.9C16.4367 16.7822 14.419 18.5 12 18.5C11.7508 18.5 11.5058 18.4818 11.2664 18.4466L11.928 16.9993C11.9519 16.9998 11.9759 17 12 17C13.933 17 15.5 15.433 15.5 13.5V10.5C15.5 10.1531 15.4495 9.81794 15.3555 9.50155Z"})}),qs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z"})}),Ws=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16 10h4c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1zm-8 4H4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h4c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm10-2.6L14.5 15l1.1 1.1 1.7-1.7c-.1 1.1-.3 2.3-.9 2.9-.3.3-.7.5-1.3.5h-4.5v1.5H15c.9 0 1.7-.3 2.3-.9 1-1 1.3-2.7 1.4-4l1.8 1.8 1.1-1.1-3.6-3.7zM6.8 9.7c.1-1.1.3-2.3.9-2.9.4-.4.8-.6 1.3-.6h4.5V4.8H9c-.9 0-1.7.3-2.3.9-1 1-1.3 2.7-1.4 4L3.5 8l-1 1L6 12.6 9.5 9l-1-1-1.7 1.7z"})}),Js=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z"})}),Ys=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})}),Xs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})}),Ks=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})}),Qs=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 4V2.2L9 4.8l3 2.5V5.5c3.6 0 6.5 2.9 6.5 6.5 0 2.9-1.9 5.3-4.5 6.2v.2l-.1-.2c-.4.1-.7.2-1.1.2l.2 1.5c.3 0 .6-.1 1-.2 3.5-.9 6-4 6-7.7 0-4.4-3.6-8-8-8zm-7.9 7l1.5.2c.1-1.2.5-2.3 1.2-3.2l-1.1-.9C4.8 8.2 4.3 9.6 4.1 11zm1.5 1.8l-1.5.2c.1.7.3 1.4.5 2 .3.7.6 1.3 1 1.8l1.2-.8c-.3-.5-.6-1-.8-1.5s-.4-1.1-.4-1.7zm1.5 5.5c1.1.9 2.4 1.4 3.8 1.6l.2-1.5c-1.1-.1-2.2-.5-3.1-1.2l-.9 1.1z"})}),eu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})}),tu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"})});var ou=__webpack_require__(37918),ru=__webpack_require__(73453),nu=__webpack_require__(13056),au=__webpack_require__(36216);const cu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.332 5.748c-1.03-.426-2.06.607-1.632 1.636l1.702 3.93 7.481.575c.123.01.123.19 0 .2l-7.483.575-1.7 3.909c-.429 1.029.602 2.062 1.632 1.636l12.265-5.076c1.03-.426 1.03-1.884 0-2.31L6.332 5.748Z"})}),iu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z"})}),lu=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.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,q.jsx)(U.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"})]}),su=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})}),uu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})}),du=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 3.176l6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 01-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176zM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21z",fillRule:"evenodd",clipRule:"evenodd"})}),mu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})}),pu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/SVG",children:(0,q.jsx)(U.Path,{d:"M17.192 6.75L15.47 5.03l1.06-1.06 3.537 3.53-3.537 3.53-1.06-1.06 1.723-1.72h-3.19c-.602 0-.993.202-1.28.498-.309.319-.538.792-.695 1.383-.13.488-.222 1.023-.296 1.508-.034.664-.116 1.413-.303 2.117-.193.721-.513 1.467-1.068 2.04-.575.594-1.359.954-2.357.954H4v-1.5h4.003c.601 0 .993-.202 1.28-.498.308-.319.538-.792.695-1.383.149-.557.216-1.093.288-1.662l.039-.31a9.653 9.653 0 0 1 .272-1.653c.193-.722.513-1.467 1.067-2.04.576-.594 1.36-.954 2.358-.954h3.19zM8.004 6.75c.8 0 1.46.23 1.988.628a6.24 6.24 0 0 0-.684 1.396 1.725 1.725 0 0 0-.024-.026c-.287-.296-.679-.498-1.28-.498H4v-1.5h4.003zM12.699 14.726c-.161.459-.38.94-.684 1.396.527.397 1.188.628 1.988.628h3.19l-1.722 1.72 1.06 1.06L20.067 16l-3.537-3.53-1.06 1.06 1.723 1.72h-3.19c-.602 0-.993-.202-1.28-.498a1.96 1.96 0 0 1-.024-.026z"})}),hu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"})}),_u=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})}),vu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})}),wu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})}),gu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})}),fu=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})}),Eu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})}),bu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})}),Cu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"})}),xu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"})}),yu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M5 17.7c.4.5.8.9 1.2 1.2l1.1-1.4c-.4-.3-.7-.6-1-1L5 17.7zM5 6.3l1.4 1.1c.3-.4.6-.7 1-1L6.3 5c-.5.4-.9.8-1.3 1.3zm.1 7.8l-1.7.5c.2.6.4 1.1.7 1.6l1.5-.8c-.2-.4-.4-.8-.5-1.3zM4.8 12v-.7L3 11.1v1.8l1.7-.2c.1-.2.1-.5.1-.7zm3 7.9c.5.3 1.1.5 1.6.7l.5-1.7c-.5-.1-.9-.3-1.3-.5l-.8 1.5zM19 6.3c-.4-.5-.8-.9-1.2-1.2l-1.1 1.4c.4.3.7.6 1 1L19 6.3zm-.1 3.6l1.7-.5c-.2-.6-.4-1.1-.7-1.6l-1.5.8c.2.4.4.8.5 1.3zM5.6 8.6l-1.5-.8c-.3.5-.5 1-.7 1.6l1.7.5c.1-.5.3-.9.5-1.3zm2.2-4.5l.8 1.5c.4-.2.8-.4 1.3-.5l-.5-1.7c-.6.2-1.1.4-1.6.7zm8.8 13.5l1.1 1.4c.5-.4.9-.8 1.2-1.2l-1.4-1.1c-.2.3-.5.6-.9.9zm1.8-2.2l1.5.8c.3-.5.5-1.1.7-1.6l-1.7-.5c-.1.5-.3.9-.5 1.3zm2.6-4.3l-1.7.2v1.4l1.7.2V12v-.9zM11.1 3l.2 1.7h1.4l.2-1.7h-1.8zm3 2.1c.5.1.9.3 1.3.5l.8-1.5c-.5-.3-1.1-.5-1.6-.7l-.5 1.7zM12 19.2h-.7l-.2 1.8h1.8l-.2-1.7c-.2-.1-.5-.1-.7-.1zm2.1-.3l.5 1.7c.6-.2 1.1-.4 1.6-.7l-.8-1.5c-.4.2-.8.4-1.3.5z"})}),ku=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})}),Au=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})}),Su=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})}),Pu=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 9.484h-8.889v-1.5H20v1.5Zm0 7h-4.889v-1.5H20v1.5Zm-14 .032a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),(0,q.jsx)(U.Path,{d:"M13 15.516a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 8.484a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})]}),Bu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})}),Vu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})}),Mu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})}),Nu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"})}),Tu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})}),Lu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})}),Fu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})}),Ru=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Du=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18.5 10.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"})}),Hu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.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.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Iu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})}),zu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.2 5.3h8V3.8h-8v1.5zm0 14.5h8v-1.5h-8v1.5zm3.5-6.5h1v-1h-1v1zm1-6.5h-1v.5h1v-.5zm-1 4.5h1v-1h-1v1zm0-2h1v-1h-1v1zm0 7.5h1v-.5h-1v.5zm1-2.5h-1v1h1v-1zm-8.5 1.5h1.5v-8H4.2v8zm14.5-8v8h1.5v-8h-1.5zm-5 4.5v-1h-1v1h1zm-6.5 0h.5v-1h-.5v1zm3.5-1v1h1v-1h-1zm6 1h.5v-1h-.5v1zm-8-1v1h1v-1h-1zm6 0v1h1v-1h-1z"})}),ju=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]}),Ou=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,q.jsx)(U.Path,{d:"m18 7.5v9h1.5v-9z"})]}),Gu=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m4.5 16.5v-9h1.5v9z"})]}),Zu=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m18 16.5v-9h1.5v9z"})]}),$u=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m16.5 6h-9v-1.5h9z"})]}),Uu=(0,q.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,q.jsx)(U.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,q.jsx)(U.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]}),qu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"})}),Wu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})}),Ju=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})}),Yu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})}),Xu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})}),Ku=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})}),Qu=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M14.103 7.128l2.26-2.26a4 4 0 00-5.207 4.804L5.828 15a2 2 0 102.828 2.828l5.329-5.328a4 4 0 004.804-5.208l-2.261 2.26-1.912-.512-.513-1.912zm-7.214 9.64a.5.5 0 11.707-.707.5.5 0 01-.707.707z"})}),ed=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M4.195 8.245a.75.75 0 011.06-.05l5.004 4.55 4.025-3.521L19 13.939V10.75h1.5v5.75h-5.75V15h3.19l-3.724-3.723-3.975 3.478-5.995-5.45a.75.75 0 01-.051-1.06z"})}),td=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M3.445 16.505a.75.75 0 001.06.05l5.005-4.55 4.024 3.521 4.716-4.715V14h1.5V8.25H14v1.5h3.19l-3.724 3.723L9.49 9.995l-5.995 5.45a.75.75 0 00-.05 1.06z"})}),od=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})});var rd=__webpack_require__(73091);const nd=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})}),ad=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})}),cd=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"m11.3 17.2-5-5c-.1-.1-.1-.3 0-.4l2.3-2.3-1.1-1-2.3 2.3c-.7.7-.7 1.8 0 2.5l5 5H7.5v1.5h5.3v-5.2h-1.5v2.6zm7.5-6.4-5-5h2.7V4.2h-5.2v5.2h1.5V6.8l5 5c.1.1.1.3 0 .4l-2.3 2.3 1.1 1.1 2.3-2.3c.6-.7.6-1.9-.1-2.5z"})}),id=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})}),ld=(0,q.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,q.jsx)(U.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})}),sd=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,q.jsx)(U.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})}),ud=(0,q.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q.jsx)(U.Path,{d:"M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z"})});var dd=__webpack_require__(45199);function md({width:e=24,height:t=24,className:o,...r}){return(0,n.createElement)("svg",{...r,width:e,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:ce()(o,"woocommerce-hidden-icon")},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7226 6.2125C13.1641 6.0766 12.5883 6 11.9999 6C8.10055 6 4.75407 9.36447 3.31899 11.0546C2.8507 11.6061 2.8507 12.3939 3.31899 12.9454C4.17896 13.9582 5.72533 15.5723 7.66574 16.7033L8.41572 15.4043C8.13761 15.242 7.86389 15.0655 7.59553 14.8776C6.25019 13.9359 5.15775 12.7905 4.48406 12C5.15775 11.2095 6.25019 10.0641 7.59553 9.12235C8.96667 8.16257 10.4775 7.5 11.9999 7.5C12.3118 7.5 12.6231 7.5278 12.9329 7.58027L13.7226 6.2125ZM12.3504 8.58923C12.2352 8.57753 12.1182 8.57153 11.9999 8.57153C10.1063 8.57153 8.57132 10.1066 8.57132 12.0001C8.57132 12.7505 8.81237 13.4445 9.22126 14.0091L10.1233 12.4467C10.0893 12.3034 10.0713 12.1538 10.0713 12.0001C10.0713 11.1266 10.652 10.3888 11.4484 10.1515L12.3504 8.58923ZM12.8092 10.2491L13.5611 8.94679C14.6697 9.51479 15.4285 10.6688 15.4285 12.0001C15.4285 13.8937 13.8934 15.4287 11.9999 15.4287C11.3128 15.4287 10.6729 15.2266 10.1364 14.8785L10.8883 13.5763C11.2025 13.7983 11.5859 13.9287 11.9999 13.9287C13.065 13.9287 13.9285 13.0652 13.9285 12.0001C13.9285 11.224 13.4701 10.555 12.8092 10.2491ZM9.51376 15.957C10.3246 16.2986 11.1605 16.5 11.9999 16.5C13.5223 16.5 15.0331 15.8374 16.4043 14.8776C17.7496 13.9359 18.842 12.7905 19.5157 12C18.842 11.2095 17.7496 10.0641 16.4043 9.12235C15.6875 8.62066 14.9327 8.20018 14.1579 7.91308L14.917 6.59839C17.5164 7.64275 19.6204 9.80575 20.6808 11.0546C21.1491 11.6061 21.1491 12.3939 20.6808 12.9454C19.2457 14.6355 15.8992 18 11.9999 18C10.8611 18 9.76945 17.713 8.7588 17.2646L9.51376 15.957Z",fill:"currentColor"}),(0,n.createElement)("rect",{x:"16.0625",y:"4.61377",width:"1.22727",height:"16",transform:"rotate(30 16.0625 4.61377)",fill:"currentColor"}))}const pd=(0,n.createElement)(v.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(v.Rect,{x:"-0.75",y:"-0.75",fill:"none",width:"9.5",height:"14.5",transform:"matrix(3.97376e-08 -1 -1 -4.80825e-08 18.5 18.5)",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,n.createElement)(v.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13 19L13 9L11.5 9L11.5 19L13 19Z"}),(0,n.createElement)(v.Path,{d:"M16.5 6.5C16.5 7.4665 15.7165 8.25 14.75 8.25H13V6.5C13 5.5335 13.7835 4.75 14.75 4.75C15.7165 4.75 16.5 5.5335 16.5 6.5Z",stroke:"#1E1E1E",fill:"none",strokeWidth:"1.5"}),(0,n.createElement)(v.Path,{d:"M8 6.5C8 7.4665 8.7835 8.25 9.75 8.25H11.5V6.5C11.5 5.5335 10.7165 4.75 9.75 4.75C8.7835 4.75 8 5.5335 8 6.5Z",stroke:"#1E1E1E",fill:"none",strokeWidth:"1.5"})),{name:hd,..._d}=_c,vd={example:{},edit:function({attributes:o,clientId:r,context:{selectedTab:a}}){var c;const l=(0,s.useWooBlockProps)(o),{getProductErrorMessageAndProps:d}=(0,ue.U)(),{productTemplates:m,productTemplate:p}=(0,i.useSelect)((e=>{const{getEditorSettings:t}=e("core/editor");return t()})),[h,_]=m.reduce((([e,t],o)=>(o.isSelectableByUser&&(o.layoutTemplateId?e.push(o):t.push(o)),[e,t])),[[],[]]),w=(0,u.useEntityId)("postType","product"),[g]=(0,u.useEntityProp)("postType","product","status"),{validate:f}=(0,de.M)(),{editEntityRecord:E,saveEditedEntityRecord:b,saveEntityRecord:C}=(0,i.useDispatch)("core"),{createSuccessNotice:x,createErrorNotice:y}=(0,i.useDispatch)("core/notices"),A=(0,i.useSelect)((e=>{const{getBlockRootClientId:t}=e("core/block-editor");return t(r)}),[r]),[B,V]=(0,n.useState)(),M=(0,i.useSelect)((e=>Le()&&e("core").getEntityRecords("postType","product_form",{per_page:-1})||[]),[]),{isSaving:N}=(0,i.useSelect)((e=>{const{isSavingEntityRecord:t}=e("core");return{isSaving:t("postType","product",w)}}),[w]);if(A)return(0,n.createElement)(it,{name:"section-description",slotContainerBlockName:"woocommerce/product-section"},(0,n.createElement)("div",{...l},(0,n.createElement)("p",null,(0,n.createInterpolateElement)((0,k.__)("This is a <ProductTemplate />.","woocommerce"),{ProductTemplate:(0,n.createElement)("span",null,null===(c=null==p?void 0:p.title)||void 0===c?void 0:c.toLowerCase())})),(0,n.createElement)(v.Dropdown,{focusOnMount:!0,popoverProps:{placement:"bottom-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.Button,{"aria-expanded":e,variant:"link",onClick:R(e,t)},(0,n.createElement)("span",null,(0,k.__)("Change product type","woocommerce"))),renderContent:({onClose:e})=>(0,n.createElement)("div",{className:"wp-block-woocommerce-product-details-section-description__dropdown components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,h.map(F(e))),Le()&&(0,n.createElement)(v.MenuGroup,null,M.map((t=>(0,n.createElement)(v.MenuItem,{key:t.id,icon:L("external"),info:t.excerpt.raw,iconPosition:"left",onClick:e},t.title.rendered)))),_.length>0&&(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"right-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{"aria-expanded":e,icon:L("chevronRight"),iconPosition:"right",onClick:t},(0,n.createElement)("span",null,(0,k.__)("More","woocommerce"))),renderContent:()=>(0,n.createElement)("div",{className:"wp-block-woocommerce-product-details-section-description__dropdown components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,_.map(F(e))))})))}),Boolean(B)&&(0,n.createElement)(v.Modal,{title:(0,k.__)("Change product type?","woocommerce"),className:"wp-block-woocommerce-product-details-section-description__modal",onRequestClose:()=>{V(void 0)}},(0,n.createElement)("p",null,(0,n.createElement)("b",null,(0,k.__)("This product type isn’t supported by the updated product editing experience yet.","woocommerce"))),(0,n.createElement)("p",null,(0,k.__)("You’ll be taken to the classic editing screen that isn’t optimized for commerce but offers advanced functionality and supports all extensions.","woocommerce")),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-details-section-description__modal-actions"},(0,n.createElement)(v.Button,{variant:"secondary","aria-disabled":N,onClick:()=>{N||V(void 0)}},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",isBusy:N,"aria-disabled":N,onClick:async function(){var e,t;try{if(N)return;const{id:o,productData:r}=B;await f(r);const n=null!==(e=await b("postType","product",w,{throwOnError:!0}))&&void 0!==e?e:{id:w},a=null!==(t=null==r?void 0:r.meta_data)&&void 0!==t?t:[];await C("postType","product",{...n,...r,meta_data:[...a,{key:"_product_template_id",value:o}]},{throwOnError:!0}),x((0,k.__)("Product type changed.","woocommerce")),(0,P.recordEvent)("product_template_changed",{source:S.RG,template:o}),window.location.href=(0,Q.getNewPath)({},`/product/${w}`)}catch(e){const{message:t,errorProps:o}=await d((0,pe.U)(e,g),a);y(t,o)}}},(0,k.__)("Change","woocommerce"))))));function T(e,t){return async function(){var o;try{if((0,P.recordEvent)("product_template_selector_selected",{source:S.RG,selected_template:e.id,unsupported_template:!e.layoutTemplateId}),!e.layoutTemplateId)return V(e),void t();await f(e.productData);const r=null!==(o=e.productData.meta_data)&&void 0!==o?o:[];await E("postType","product",w,{...e.productData,meta_data:[...r,{key:"_product_template_id",value:e.id}]}),await b("postType","product",w,{throwOnError:!0}),x((0,k.__)("Product type changed.","woocommerce")),(0,P.recordEvent)("product_template_changed",{source:S.RG,template:e.id})}catch(e){const{message:t,errorProps:o}=await d((0,pe.U)(e,g),a);y(t,o)}t()}}function L(o,r){if(!o)return;const{Icon:a}=e;let c;if(/^https?:\/\//.test(o))c=(0,n.createElement)("img",{src:o,alt:r});else{if(!(o in e)&&!(o in t))return;c=e[o]||t[o]}return(0,n.createElement)(a,{icon:c,size:24})}function F(e){return function(t){var o;const r=(null==p?void 0:p.id)===t.id;return(0,n.createElement)(v.MenuItem,{key:t.id,info:null!==(o=t.description)&&void 0!==o?o:void 0,isSelected:r,icon:r?L("check"):L(t.icon,t.title),iconPosition:"left",role:"menuitemradio",onClick:T(t,e),className:ce()({"components-menu-item__button--selected":r})},t.title)}}function R(e,t){return function(){t(),e||(0,P.recordEvent)("product_template_selector_open",{source:S.RG,supported_templates:h.map((e=>e.id)),unsupported_template:_.map((e=>e.id))})}}}};function wd(){return m({name:hd,metadata:_d,settings:vd})}const gd=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-list-field","title":"Product list","category":"widgets","description":"The product list.","keywords":["products"],"textdomain":"default","attributes":{"property":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}');function fd(e){return e.images.length>0?{backgroundImage:`url(${e.images[0].src})`}:void 0}function Ed({initialValue:e,onSubmit:t,onClose:o}){const[r,a]=(0,n.useState)([]),[c,l]=(0,n.useState)([]),s=(0,n.useCallback)((async(t="")=>(a([]),(0,i.resolveSelect)(M.PRODUCTS_STORE_NAME).getProducts({search:t,orderby:"title",order:"asc",exclude:[...e,...c].map((e=>e.id))}).then((e=>(a(e),e))))),[c]),{isFetching:u,...d}=(0,h.useAsyncFilter)({filter:s});(0,g.useEffect)((function(){s()}),[e,c]);const{formatAmount:m}=(0,n.useContext)(N.CurrencyContext);return(0,n.createElement)(v.Modal,{title:(0,k.__)("Add products to this group","woocommerce"),className:"woocommerce-add-products-modal",onRequestClose:o},(0,n.createElement)("form",{noValidate:!0,onSubmit:function(e){e.preventDefault(),t([...c])},className:"woocommerce-add-products-modal__form"},(0,n.createElement)("fieldset",{className:"woocommerce-add-products-modal__form-group"},(0,n.createElement)("legend",{className:"woocommerce-add-products-modal__form-group-title"},(0,k.__)("Add and manage products in this group to let customers purchase them all in one go.","woocommerce")),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__form-group-content"},(0,n.createElement)(h.__experimentalSelectControl,{...d,items:r,placeholder:(0,k.__)("Search for products","woocommerce"),label:"",selected:null,onSelect:function(e){l((t=>[...t,e]))},__experimentalOpenMenuOnFocus:!0},(({items:e,isOpen:t,highlightedIndex:o,getMenuProps:r,getItemProps:a})=>(0,n.createElement)(h.__experimentalSelectControlMenu,{isOpen:t,getMenuProps:r,className:"woocommerce-add-products-modal__menu"},u?(0,n.createElement)("div",{className:"woocommerce-add-products-modal__menu-loading"},(0,n.createElement)(v.Spinner,null)):e.map(((e,t)=>(0,n.createElement)(h.__experimentalSelectControlMenuItem,{key:e.id,index:t,isActive:o===t,item:e,getItemProps:e=>({...a(e),className:"woocommerce-add-products-modal__menu-item"})},(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"woocommerce-add-products-modal__menu-item-image",style:fd(e)}),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__menu-item-content"},(0,n.createElement)("div",{className:"woocommerce-add-products-modal__menu-item-title"},e.name),Boolean(e.price)&&(0,n.createElement)("div",{className:"woocommerce-add-products-modal__menu-item-description"},m(e.price))))))))))),Boolean(c.length)&&(0,n.createElement)("ul",{className:"woocommerce-add-products-modal__list"},c.map((e=>{return(0,n.createElement)("li",{key:e.id,className:"woocommerce-add-products-modal__list-item"},(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-image",style:fd(e)}),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-content"},(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-title"},e.name),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-description"},e.sku)),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-actions"},(0,n.createElement)(v.Button,{type:"button",variant:"tertiary",icon:ze.Z,"aria-label":(0,k.__)("Remove product","woocommerce"),onClick:(t=e,function(){l((e=>e.filter((e=>e.id!==t.id))))})})));var t})))),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__actions"},(0,n.createElement)(v.Button,{variant:"tertiary",type:"button",onClick:function(){o()}},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",type:"submit"},(0,k.__)("Add","woocommerce")))))}function bd({products:e,onSubmit:t,onClose:o}){const[r,a]=(0,n.useState)([...e]),{container:c,draggable:i,handler:l}=function({onSort:e}){const t=(0,n.useRef)(-1),o=(0,n.useRef)(-1),r=(0,n.useRef)([]);function a(e){var t;null===(t=e.target.closest("[data-draggable=parent] [data-draggable=target]"))||void 0===t||t.removeAttribute("draggable")}return{container:{"data-draggable":"parent",className:"woocommerce-draggable__container"},draggable:{"data-draggable":"target",onDragStart:function(e){var o,n;const a=e.target;if("target"!==a.dataset.draggable)return void e.preventDefault();e.dataTransfer.effectAllowed="move",e.dataTransfer.dropEffect="move",a.classList.add("is-dragging");const c=a.closest("[data-draggable=parent]");r.current=Array.from(null!==(n=null===(o=null==c?void 0:c.querySelectorAll("[data-draggable=target]"))||void 0===o?void 0:o.values())&&void 0!==n?n:[]),t.current=r.current.indexOf(a)},onDragEnter:function(e){const n=e.target,a=e.relatedTarget;if("target"!==n.dataset.draggable||n.contains(a))return void e.preventDefault();const{draggable:c,index:i}=function(e,t){const o=e.findIndex((e=>e===t||e.contains(t)));return{draggable:o>=0?e[o]:void 0,index:o}}(r.current,n);o.current=i,t.current!==o.current&&(t.current<o.current?null==c||c.classList.add("is-dragging-after"):null==c||c.classList.add("is-dragging-before"))},onDragOver:function(e){return e.preventDefault(),!1},onDragLeave:function(e){const t=e.target,o=e.relatedTarget;"target"!==t.dataset.draggable||t.contains(o)?e.preventDefault():(t.classList.remove("is-dragging-before"),t.classList.remove("is-dragging-after"))},onDragEnd:function(e){const t=e.target;"target"===t.dataset.draggable?t.classList.remove("is-dragging"):e.preventDefault()},onDrop:function(r){r.preventDefault();const n=r.target,a="target"===n.dataset.draggable?n:n.closest("[data-draggable=parent] [data-draggable=target]");if(null==a||a.removeAttribute("draggable"),null==a||a.classList.remove("is-dragging-before"),null==a||a.classList.remove("is-dragging-after"),-1!==t.current&&-1!==o.current&&t.current!==o.current){const r=t.current,n=o.current;e((e=>function(e,t,o){const r=e[t],n=e.reduce(((e,n,a)=>(a!==t&&(a===o&&e.push(r),e.push(n)),e)),[]);return o>=e.length&&n.push(r),n}(e,r,n+Number(r<n))))}t.current=-1,o.current=-1}},handler:{"data-draggable":"handler",onMouseDown:function(e){var t;null===(t=e.target.closest("[data-draggable=parent] [data-draggable=target]"))||void 0===t||t.setAttribute("draggable","true")},onMouseUp:a,onMouseLeave:a}}}({onSort:a});return(0,n.createElement)(v.Modal,{title:(0,k.__)("Reorder products in this group","woocommerce"),className:"woocommerce-reorder-products-modal",onRequestClose:o},(0,n.createElement)("form",{noValidate:!0,onSubmit:function(e){e.preventDefault(),t([...r])},className:"woocommerce-add-products-modal__form"},(0,n.createElement)("fieldset",{className:"woocommerce-add-products-modal__form-group"},(0,n.createElement)("legend",{className:"woocommerce-add-products-modal__form-group-title"},(0,k.__)("Click and drag to reorder on the product page.","woocommerce")),Boolean(r.length)&&(0,n.createElement)("ul",{...c,className:ce()("woocommerce-add-products-modal__list",c.className)},r.map((e=>(0,n.createElement)("li",{...i,key:e.id,className:"woocommerce-add-products-modal__list-item"},(0,n.createElement)(v.Button,{...l,icon:xi,variant:"tertiary",type:"button","aria-label":(0,k.__)("Sortable handler","woocommerce")}),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-image",style:fd(e)}),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-content"},(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-title"},e.name),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__list-item-description"},e.sku))))))),(0,n.createElement)("div",{className:"woocommerce-add-products-modal__actions"},(0,n.createElement)(v.Button,{variant:"tertiary",type:"button",onClick:function(){o()}},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",type:"submit"},(0,k.__)("Done","woocommerce")))))}var Cd,xd;!function(e){e.instock="instock",e.onbackorder="onbackorder",e.outofstock="outofstock"}(Cd||(Cd={})),function(e){e.instock="green",e.onbackorder="yellow",e.outofstock="red"}(xd||(xd={}));const yd={[Cd.instock]:(0,k.__)("In stock","woocommerce"),[Cd.onbackorder]:(0,k.__)("On backorder","woocommerce"),[Cd.outofstock]:(0,k.__)("Out of stock","woocommerce")},kd=e=>e.manage_stock?e.stock_quantity||0:e.stock_status?yd[e.stock_status]:yd.instock,Ad=e=>{if(e.manage_stock){const t=e.stock_quantity||0;return t>=10?xd.instock:t<10&&t>2?xd.onbackorder:xd.outofstock}return e.stock_status?xd[e.stock_status]:""};function Sd({colorOne:e="#E0E0E0",colorTwo:t="#F0F0F0",size:o=68,style:r={}}){return(0,n.createElement)(v.SVG,{width:o,height:Math.round(o/(68/56)),viewBox:"0 0 68 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},(0,n.createElement)(v.Path,{d:"M43.0926 0.333984C41.0526 1.54732 37.5593 2.46732 34.2526 2.46732C30.946 2.46732 27.4526 1.54732 25.4126 0.333984L22.2793 10.5207H46.2126L43.106 0.333984H43.0926Z",fill:e}),(0,n.createElement)(v.Path,{d:"M43.0927 0.333984C43.0927 4.09398 40.306 8.80065 34.2527 8.80065C28.1994 8.80065 25.4127 4.08065 25.4127 0.333984C15.546 0.333984 3.81268 7.45398 0.666016 10.6006L9.73269 24.7606L14.986 23.414L15.066 55.5606H53.4394L53.5194 23.414L58.7727 24.7606L67.8394 10.6006C64.6927 7.45398 52.9594 0.333984 43.0927 0.333984Z",fill:t}))}function Pd({colorOne:e="#DDDDDD",colorTwo:t="#F0F0F0",size:o=50,style:r={}}){const a=(0,c.useInstanceId)(Pd,"pants");return(0,n.createElement)(v.SVG,{width:o,height:Math.round(o/(50/72)),viewBox:"0 0 50 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},(0,n.createElement)(v.G,{clipPath:`url(#${a})`},(0,n.createElement)(v.Path,{d:"M44.6084 21.3845C40.788 21.6427 35.5059 20.8456 35.1404 16.333C34.8746 13.0889 34.5867 9.04771 34.3431 5.7811H42.9474L42.3273 0H8.34205L7.72192 5.7811H16.3262C16.0826 9.04771 15.8057 13.0889 15.5289 16.333C15.1635 20.8456 9.87022 21.6314 6.06086 21.3845L0.667969 72H14.0007C14.0007 72 21.7745 32.0711 22.904 26.0318C23.4909 22.9111 24.3989 22.2264 25.3291 22.2264C26.2593 22.2264 27.1673 22.9224 27.7543 26.0318C28.8948 32.0599 36.6575 72 36.6575 72H49.9903L44.5974 21.3845H44.6084Z",fill:t}),(0,n.createElement)(v.Path,{d:"M15.5383 16.3332C15.8041 13.089 16.092 9.04785 16.3356 5.78125H7.73137L6.07031 21.3846C9.89074 21.6428 15.1729 20.8458 15.5383 16.3332Z",fill:e}),(0,n.createElement)(v.Path,{d:"M35.1293 16.3332C35.4948 20.8458 40.788 21.6316 44.5974 21.3846L42.9363 5.78125H34.332C34.5757 9.04785 34.8525 13.089 35.1293 16.3332Z",fill:e})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:a},(0,n.createElement)(v.Rect,{width:"49.3334",height:"72",fill:"white",transform:"translate( 0.667969 )"}))))}function Bd({colorOne:e="#E0E0E0",colorTwo:t="#F0F0F0",size:o=72,style:r={}}){return(0,n.createElement)(v.SVG,{width:o,height:Math.round(o/(72/33)),viewBox:"0 0 72 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},(0,n.createElement)(v.Path,{d:"M1.82318 26.2927C2.40837 25.6395 12.1796 15.8683 13.4588 14.6027C14.6156 13.4596 16.0853 12.9696 17.8409 12.8336C19.2426 12.7383 65.159 9.36328 65.159 9.36328L65.9075 12.9016C65.9075 12.9016 17.3782 17.7736 17.3509 17.7736C13.5132 22.8633 8.01523 30.7156 7.49809 31.3008C6.10999 32.8658 3.71482 33.0019 2.13618 31.6274C0.598377 30.2257 0.448677 27.8306 1.83679 26.2655L1.82318 26.2927Z",fill:t}),(0,n.createElement)(v.Path,{d:"M70.4378 26.2927C69.8526 25.6395 60.0815 15.8683 58.8022 14.6027C57.6455 13.4596 56.1757 12.9696 54.4202 12.8336C53.0184 12.7383 7.10201 9.36328 7.10201 9.36328L6.35352 12.9016C6.35352 12.9016 54.8829 17.7736 54.9101 17.7736C58.7478 22.8633 64.2458 30.7156 64.7629 31.3008C66.151 32.8658 68.5462 33.0019 70.1248 31.6274C71.6626 30.2257 71.8123 27.8306 70.4242 26.2655L70.4378 26.2927Z",fill:t}),(0,n.createElement)(v.Path,{d:"M53.3189 0C46.4328 0 41.6016 2.5993 38.4715 8.70969C38.1449 8.4103 37.1379 8.01564 36.1172 8.01564C35.0965 8.01564 34.1031 8.42391 33.7629 8.70969C30.6328 2.5993 25.8017 0 18.9156 0C12.0295 0 4.49012 4.53176 0.666016 6.38257V11.9078H4.77591C5.34748 15.4461 8.61362 25.68 19.0244 25.68C28.1288 25.68 30.9322 19.2838 32.9736 15.378C33.6812 14.0172 34.5658 12.0711 36.1172 12.0711C37.6686 12.0711 38.5532 14.0172 39.2609 15.378C41.2886 19.2838 44.092 25.68 53.21 25.68C63.6208 25.68 66.8869 15.4597 67.4585 11.9078H71.5684V6.38257C67.7443 4.54537 60.3683 0 53.3189 0ZM19.0517 22.3186C12.9277 22.3186 8.83136 16.9022 8.83136 11.4723C8.83136 5.53882 14.1797 3.2117 19.1605 3.2117C24.1414 3.2117 29.8027 5.811 29.8027 11.0912C29.8027 17.1336 25.3662 22.305 19.0517 22.305V22.3186ZM53.21 22.3186C46.9091 22.3186 42.459 17.1472 42.459 11.1049C42.459 5.83822 48.1066 3.22531 53.1011 3.22531C58.0956 3.22531 63.4303 5.55243 63.4303 11.4859C63.4303 16.9159 59.3204 22.3322 53.21 22.3322V22.3186Z",fill:e}))}function Vd({tip:e,isDismissible:t=!0,dismissPreferenceId:o,className:r,children:a,onDismiss:c,...i}){const[l,s]=(0,n.useState)(!1),{updateUserPreferences:u,product_advice_card_dismissed:d}=(0,M.useUserPreferences)();if(t){if(o&&d&&"yes"===(null==d?void 0:d[o]))return null;if(l)return null}return(0,n.createElement)("div",{role:"group",...i,className:ce()(r,"woocommerce-advice-card",{"is-dismissible":t})},t&&(0,n.createElement)("div",{className:"woocommerce-advice-card__header"},(0,n.createElement)(v.Button,{className:"woocommerce-advice-card__dismiss-button",onClick:function(){o?u({product_advice_card_dismissed:{...d,[o]:"yes"}}):s((e=>!e)),c&&c()},icon:Yc,label:(0,k.__)("Dismiss","woocommerce"),isSmall:!0})),(0,n.createElement)("div",{className:"woocommerce-advice-card__body"},a),e&&e.length>0&&(0,n.createElement)("div",{className:"woocommerce-advice-card__footer"},e))}const{name:Md,...Nd}=gd,Td={example:{},edit:function({attributes:e,context:{postType:t}}){const{property:o}=e,r=(0,s.useWooBlockProps)(e),[a,c]=(0,n.useState)(!1),[l,d]=(0,n.useState)(!1),[m,p]=(0,n.useState)(!1),[h,_]=(0,n.useState)(!1),[w,g]=(0,u.useEntityProp)("postType",t,o),[f,E]=(0,n.useState)([]),{formatAmount:b}=(0,n.useContext)(N.CurrencyContext);function C(e){return function(){const t=f.filter((t=>t.id!==e.id));_(!0),E(t),g(t.map((e=>e.id)))}}return(0,n.useEffect)((function(){h||(w.length?(p(!1),(0,i.resolveSelect)(M.PRODUCTS_STORE_NAME).getProducts({include:w,orderby:"include"}).then(E).finally((()=>p(!1)))):E([]))}),[w,h]),(0,n.createElement)("div",{...r},(0,n.createElement)(st,null,!m&&f.length>0&&(0,n.createElement)(v.Button,{onClick:function(){d(!0)},variant:"tertiary"},(0,k.__)("Reorder","woocommerce")),(0,n.createElement)(v.Button,{onClick:function(){c(!0)},variant:"secondary"},(0,k.__)("Add products","woocommerce"))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__body"},!m&&0===f.length&&(0,n.createElement)(Vd,{tip:(0,k.__)("Tip: Group together items that have a clear relationship or compliment each other well, e.g., garment bundles, camera kits, or skincare product sets.","woocommerce"),isDismissible:!1},(0,n.createElement)(Sd,null),(0,n.createElement)(Pd,null),(0,n.createElement)(Bd,null)),!m&&f.length>0&&(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table",role:"table"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-header"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-row",role:"rowheader"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-header-column",role:"columnheader"},(0,k.__)("Product","woocommerce")),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-header-column",role:"columnheader"},(0,k.__)("Price","woocommerce")),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-header-column",role:"columnheader"},(0,k.__)("Stock","woocommerce")),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-header-column",role:"columnheader"}))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-body",role:"rowgroup"},f.map((e=>(0,n.createElement)("div",{key:e.id,className:"wp-block-woocommerce-product-list-field__table-row",role:"row"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-cell",role:"cell"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__product-image",style:fd(e)}),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__product-info"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__product-name"},(0,n.createElement)(v.Button,{variant:"link",href:(0,Q.getNewPath)({},`/product/${e.id}`),target:"_blank"},e.name)),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__product-sku"},e.sku))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-cell",role:"cell"},e.on_sale&&(0,n.createElement)("span",null,e.sale_price?b(e.sale_price):b(e.price)),e.regular_price&&(0,n.createElement)("span",{className:ce()({"wp-block-woocommerce-product-list-field__price--on-sale":e.on_sale})},b(e.regular_price))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-cell",role:"cell"},(0,n.createElement)("span",{className:ce()("woocommerce-product-variations__status-dot",Ad(e))},"●"),(0,n.createElement)("span",null,kd(e))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-list-field__table-cell",role:"cell"},(0,n.createElement)(v.Button,{variant:"tertiary",icon:Pi.Z,"aria-label":(0,k.__)("Preview the product","woocommerce"),href:e.permalink,target:"_blank"}),(0,n.createElement)(v.Button,{type:"button",variant:"tertiary",icon:ze.Z,"aria-label":(0,k.__)("Remove product","woocommerce"),onClick:C(e)})))))))),a&&(0,n.createElement)(Ed,{initialValue:f,onSubmit:function(e){const t=[...f,...e];_(!0),E(t),g(t.map((e=>e.id))),c(!1)},onClose:function(){c(!1)}}),l&&(0,n.createElement)(bd,{products:f,onSubmit:function(e){E(e),g(e.map((e=>e.id))),d(!1)},onClose:function(){d(!1)}}))}};function Ld(){return m({name:Md,metadata:Nd,settings:Td})}const Fd=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-variation-items-field","title":"Product variations items","category":"woocommerce","description":"The product variations items.","keywords":["products","variations"],"textdomain":"default","attributes":{"description":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["isInSelectedTab"],"editorStyle":"file:./editor.css"}');function Rd({className:e,totalCount:t,perPageOptions:o=S.QO,defaultPerPage:r=S.Ux,onPageChange:a,onPerPageChange:c}){const i=(0,h.usePagination)({defaultPerPage:r,totalCount:t,onPageChange:a,onPerPageChange:c}),l=(0,k.__)("Viewing %d-%d of %d items","woocommerce");return(0,n.createElement)("div",{className:ce()(e,"woocommerce-product-variations-pagination")},(0,n.createElement)("div",{className:"woocommerce-product-variations-pagination__info"},(0,k.sprintf)(l,i.start,i.end,t)),(0,n.createElement)("div",{className:"woocommerce-product-variations-pagination__current-page"},(0,n.createElement)(h.PaginationPageArrowsWithPicker,{...i})),(0,n.createElement)("div",{className:"woocommerce-product-variations-pagination__page-size"},(0,n.createElement)(h.PaginationPageSizePicker,{...i,total:t,perPageOptions:o,label:""})))}function Dd(){return(0,n.createElement)(v.SVG,{width:"90",height:"64",viewBox:"0 0 90 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(v.Path,{d:"M89.4707 32.0026L80.0137 38.0743L83.1112 48.872L71.7948 48.2247L69.3959 59.2741L59.1941 54.3068L53.3124 64L45.001 56.2691L36.6895 64L30.8078 54.3068L20.6061 59.2741L18.2072 48.2247L6.89067 48.872L9.98819 38.0743L0.53125 32.0026L9.98819 25.9257L6.89067 15.1332L18.2072 15.7804L20.6061 4.7259L30.8078 9.69837L36.6895 0L45.001 7.73096L53.3124 0L59.1889 9.69837L69.3959 4.7259L71.7948 15.7804L83.1112 15.1332L80.0137 25.9257L89.4707 32.0026Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M44.9266 16.8066C41.6031 16.8066 38.9062 19.5292 38.9062 26.0632C38.9062 34.051 44.9266 40.7187 44.9266 40.7187C44.9266 40.7187 50.947 34.0459 50.947 26.0632C50.947 19.5292 48.2502 16.8066 44.9266 16.8066Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M44.9218 49.9242C46.9389 49.9242 48.5741 48.289 48.5741 46.2719C48.5741 44.2548 46.9389 42.6196 44.9218 42.6196C42.9047 42.6196 41.2695 44.2548 41.2695 46.2719C41.2695 48.289 42.9047 49.9242 44.9218 49.9242Z",fill:"white"}))}function Hd(e){const t=(0,c.useInstanceId)(v.G,"clip");return(0,n.createElement)(v.SVG,{width:"264",height:"167",...e,viewBox:"0 0 264 167",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(v.G,{clipPath:`url(#${t})`},(0,n.createElement)(v.Path,{d:"M38.5556 0.164185C11.3783 0.164185 -3.89877 21.4091 1.5234 37.3916C7.43365 54.8517 25.6968 71.9169 25.6968 85.7696H51.4188C51.4188 71.908 69.6821 54.8517 75.5923 37.3916C81.0145 21.4091 65.7463 0.164185 38.5556 0.164185Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M50.5063 48.3114C44.2189 48.3114 40.5228 52.5755 40.5228 59.1735V59.9899C40.079 59.9899 39.6176 59.9899 39.1827 59.9944H38.3486C37.7141 59.9944 37.3325 59.9944 36.5915 59.9944V59.1779C36.5915 52.5755 32.8953 48.3114 26.6124 48.3114C21.0127 48.3114 17.8047 50.4812 17.8047 54.2616C17.8047 57.0969 20.4936 59.0137 25.7915 59.9589C29.0306 60.5357 32.1721 60.6777 35.2781 60.7087V85.7652H36.6003V60.7176C37.3413 60.722 37.7185 60.722 38.3574 60.7176C38.9919 60.7176 39.7906 60.7176 40.5316 60.7176V85.7652H41.8539V60.7132C44.9554 60.6777 48.0969 60.5401 51.3405 59.9633C56.6384 59.0182 59.3273 57.1013 59.3273 54.266C59.3273 50.4856 56.1192 48.3158 50.5196 48.3158L50.5063 48.3114ZM35.2781 59.9855C32.2032 59.95 29.106 59.8124 25.9202 59.2445C21.0172 58.3704 19.6905 56.2938 19.6905 54.1329C19.6905 50.2682 23.5996 49.0347 26.6124 49.0347C32.2342 49.0347 35.2781 53.0148 35.2781 59.169V59.981V59.9855ZM51.1985 59.2445C48.0126 59.8124 44.9155 59.9544 41.845 59.9855V59.1735C41.845 53.0148 44.8889 49.0391 50.5107 49.0391C53.528 49.0391 57.4326 50.2726 57.4326 54.1373C57.4326 56.2982 56.1015 58.3704 51.2029 59.2489L51.1985 59.2445Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M38.5585 101.872C45.5248 101.872 51.4173 96.1613 51.4173 89.834H25.6953C25.6953 96.1613 31.5923 101.872 38.5585 101.872Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M57.2858 89.9271H19.832V85.7695H57.2858V89.9271Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M69.5768 106.602H7.63895L0.4375 167L15.2974 151.328H64.2566L69.5768 106.602Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M119.436 122.749C113.97 115.072 110.828 111.394 104.652 111.394C97.8809 111.394 94.908 119.061 98.9724 123.853C103.445 129.125 118.993 134.627 118.993 134.627C118.993 134.627 94.0694 129.923 84.9112 129.923C79.8573 129.923 74.6836 131.96 74.6836 139.135C74.6836 146.31 79.8617 148.346 84.9112 148.346C94.0694 148.346 118.993 143.643 118.993 143.643C118.993 143.643 103.445 149.145 98.9724 154.416C94.908 159.208 97.8764 166.876 104.652 166.876C110.828 166.876 113.97 163.197 119.436 155.521C121.287 152.921 130.707 139.135 130.707 139.135C130.707 139.135 121.287 125.349 119.436 122.749Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M94.2838 102.671L169.715 102.671V80.4849L94.2838 80.4849V102.671Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M169.712 0H94.2812V75.4311H169.712V0Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M147.619 49.6336C147.619 44.4156 144.429 39.4194 138.168 36.0116H157.66L139.472 6.00781H124.524L106.336 36.0116H125.828C119.567 39.4194 116.377 44.4156 116.377 49.6336C116.377 55.5394 121.005 61.4985 127.106 64.6888C118.667 62.9849 117.344 69.4232 117.344 69.4232H146.661C146.661 69.4232 145.338 62.9849 136.899 64.6888C143 61.4985 147.628 55.5394 147.628 49.6336H147.619Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M147.86 80.7911H94.2812V85.2283H147.86V80.7911Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M169.712 89.8473H94.2812V94.2844H169.712V89.8473Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M136.82 98.9034H94.2812V103.341H136.82V98.9034Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M219.52 167C229.042 167 235.063 158.538 235.063 151.457H203.977C203.977 158.538 209.998 167 219.52 167Z",fill:"#DDDDDD"}),(0,n.createElement)(v.Path,{d:"M219.516 58.2018C185.027 58.2018 168.143 86.1557 178.522 110.613C185.541 127.141 202.225 125.264 202.225 138.505H236.826C236.826 125.264 253.514 127.141 260.529 110.613C270.903 86.1557 254.006 58.2018 219.516 58.2018Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M219.52 167C228.9 167 234.882 158.787 235.059 151.776C235.059 151.67 235.059 142.707 235.059 142.6H203.973C203.973 142.685 203.973 151.63 203.973 151.719C204.115 158.742 210.105 167.004 219.511 167.004L219.52 167Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M240.248 142.596H198.801V138.505H240.248V142.596Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M240.248 149.074H198.801V144.983H240.248V149.074Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M169.656 125.371H142.133V152.894H169.656V125.371Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M155.015 146.194L162.181 139.587L147.445 139.663V138.571L162.154 138.647L155.015 132.067L155.676 131.228L163.982 139.055V139.184L155.676 147.033L155.015 146.194Z",fill:"#DDDDDD"}),(0,n.createElement)(v.Path,{d:"M22.0977 126.533L27.44 141.921L53.5835 112.729",stroke:"white",strokeMiterlimit:"10"}),(0,n.createElement)(v.Path,{d:"M232.227 110.138C232.227 102.307 227.559 97.4392 220.042 97.4126C220.042 97.4126 220.025 97.4126 220.016 97.4126C220.007 97.4126 219.998 97.4126 219.989 97.4126C212.473 97.4392 207.805 102.928 207.805 110.138C207.805 117.349 212.22 120.774 218.516 125.287C214.704 128.858 212.663 134.516 212.663 138.505H215.867C215.867 134.809 216.572 129.56 220.016 126.462C223.463 129.56 224.164 134.809 224.164 138.505H227.368C227.368 134.516 225.322 128.858 221.515 125.287C227.812 120.778 232.227 116.958 232.227 110.138ZM220.016 124.435C213.773 119.989 209.242 117.158 209.242 110.138C209.242 103.119 213.546 98.7216 220.016 98.7082C226.485 98.7216 230.789 103.354 230.789 110.138C230.789 116.222 226.259 119.989 220.016 124.435Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M250.84 40.1516C250.84 45.9864 246.155 50.7297 240.342 50.8184H199.862C193.97 50.8184 189.195 46.0441 189.195 40.1516C189.195 34.2591 193.97 29.4847 199.862 29.4847H240.36C246.164 29.4847 250.84 34.3256 250.84 40.1516Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M240.122 47.7347C244.31 47.7347 247.705 44.3396 247.705 40.1516C247.705 35.9636 244.31 32.5686 240.122 32.5686C235.934 32.5686 232.539 35.9636 232.539 40.1516C232.539 44.3396 235.934 47.7347 240.122 47.7347Z",fill:"#E0E0E0"}),(0,n.createElement)(v.Path,{d:"M131.996 6.00781H124.524L106.332 36.0116H125.824H138.168H157.661L139.468 6.00781H131.996Z",fill:"#F0F0F0"}),(0,n.createElement)(v.Path,{d:"M151.608 26.0281H112.384L106.332 36.0116L151.608 26.0281Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M145.555 16.0446H118.435L112.383 26.0281L145.555 16.0446Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M139.469 6.00781H124.525L118.438 16.0446L139.469 6.00781Z",fill:"white"}),(0,n.createElement)(v.Path,{d:"M57.4297 42.9647H87.8994",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,n.createElement)(v.Path,{d:"M61.8945 32.1914L83.4412 53.7381",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,n.createElement)(v.Path,{d:"M72.668 27.7321V58.2018",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:t},(0,n.createElement)(v.Rect,{width:"263.121",height:"167",fill:"white",transform:"translate(0.4375)"}))))}function Id({message:e,actionText:t,isError:o,onActionClick:r}){return(0,n.createElement)("div",{className:"woocommerce-variations-table-error-or-empty-state"},o?(0,n.createElement)(Dd,null):(0,n.createElement)(Hd,null),(0,n.createElement)("p",{className:"woocommerce-variations-table-error-or-empty-state__message"},o?(0,k.__)("We couldn’t load the variations","woocommerce"):null!=e?e:(0,k.__)("No variations yet","woocommerce")),(0,n.createElement)("div",{className:"woocommerce-variations-table-error-or-empty-state__actions"},(0,n.createElement)(v.Button,{variant:"link",onClick:r},o?(0,k.__)("Try again","woocommerce"):null!=t?t:(0,k.__)("Generate from options","woocommerce"))))}function zd({initialValues:e,attribute:t,onFilter:o}){const[r,a]=(0,n.useState)(e),[l,s]=(0,n.useState)([]),[u,d]=(0,n.useState)(0),[m,p]=(0,n.useState)(!1),[h,_]=(0,n.useState)(""),[w,f]=(0,n.useState)(1),E=(0,g.useRef)(null),b=0===r.length;async function C(e,t="",o=1){try{p(!0);const{getProductAttributeTerms:r,getProductAttributeTermsTotalCount:n}=(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME),a={attribute_id:e,per_page:10,page:o,search:t},c=await r(a),l=await n(a);s(o>1?e=>[...e,...c]:c),d(l)}catch{}finally{p(!1)}}function x(e,o){return async function(){o(),e||await C(t.id)}}async function y(e){if(m||l.length>=u)return;const o=e.currentTarget,r=o.scrollHeight-o.clientHeight;if(o.scrollTop>=r){const e=w+1;await C(t.id,h,e),f(e)}}function A(e){return r.includes(e)}function S(e){return function(t){a((o=>t?[...o,e]:o.reduce((function(t,o){return o===e?t:[...t,o]}),[])))}}function P(e){"Enter"===e.code&&e.preventDefault()}(0,g.useEffect)((()=>a(e)),[e]);const B=(0,c.useDebounce)((function(e){_(e),s([]),f(1),C(t.id,e)}),300),V=(0,c.useInstanceId)(v.__experimentalInputControl,"search"),N=(0,c.useInstanceId)(v.CheckboxControl,"checkbox");return(0,n.createElement)(v.Dropdown,{className:"woocommerce-product-variations-filter",onClose:function(){_(""),f(1)},renderToggle:({isOpen:e,onToggle:o})=>(0,n.createElement)(v.Button,{"aria-expanded":e,icon:e?Eo:bo.Z,variant:"tertiary",onClick:x(e,o),className:"woocommerce-product-variations-filter__toggle"},(0,n.createElement)("span",null,(0,k.sprintf)((0,k.__)("Any %s","woocommerce"),t.name))),renderContent:({onClose:e})=>{return(0,n.createElement)("form",{className:"woocommerce-product-variations-filter__form",noValidate:!0,onSubmit:(c=e,function(e){e.preventDefault(),o(r),c()}),onReset:async function(e){var o;e.preventDefault(),b||(_(""),a([]),f(1),null===(o=E.current)||void 0===o||o.focus(),await C(t.id))}},t.options.length>10&&(0,n.createElement)("div",{className:"woocommerce-product-variations-filter__form-header"},(0,n.createElement)("label",{htmlFor:V,"aria-label":(0,k.__)("Search options","woocommerce")},(0,n.createElement)(v.__experimentalInputControl,{ref:E,id:V,type:"search",value:h,suffix:(0,n.createElement)(oe.Z,{icon:ou.Z}),onChange:B,onKeyDown:P}))),(0,n.createElement)("div",{className:"woocommerce-product-variations-filter__form-body",onScroll:y},l.length>0?(0,n.createElement)("ul",{className:"woocommerce-product-variations-filter__form-list"},l.map((e=>(0,n.createElement)("li",{key:e.slug,className:"woocommerce-product-variations-filter__form-list-item"},(0,n.createElement)("label",{htmlFor:`${N}-${e.slug}`,className:"woocommerce-product-variations-filter__form-list-item-label"},(0,n.createElement)(v.CheckboxControl,{id:`${N}-${e.slug}`,checked:A(e.slug),onChange:S(e.slug)}),(0,n.createElement)("span",null,e.name)))))):!m&&(0,n.createElement)("div",{className:"woocommerce-product-variations-filter__form-list-empty"},(0,k.__)("No options were found for that search","woocommerce")),m&&(0,n.createElement)("div",{className:"woocommerce-product-variations-filter__loading"},(0,n.createElement)(v.Spinner,null))),(0,n.createElement)("div",{className:"woocommerce-product-variations-filter__form-footer"},(0,n.createElement)(v.Button,{type:"reset",variant:"secondary","aria-disabled":b},(0,k.__)("Reset","woocommerce")),(0,n.createElement)(v.Button,{type:"submit",variant:"primary"},(0,k.__)("Filter","woocommerce"))));var c}})}function jd(){const[e]=(0,u.useEntityProp)("postType","product","id"),{editedRecord:t}=(0,u.useEntityRecord)("postType","product",e),[o,r]=(0,n.useState)(!1),{isGeneratingVariations:c,generateError:l}=(0,i.useSelect)((t=>{const{isGeneratingVariations:o,generateProductVariationsError:r}=t(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{isGeneratingVariations:o({product_id:e}),generateError:r({product_id:e})}}),[e]),s=(0,n.useMemo)((()=>o||Boolean(c)),[o,c]);return{generateProductVariations:(0,n.useCallback)((async function(o,n){r(!0);const{status:c,variations:l}=await(0,i.resolveSelect)("core").getEditedEntityRecord("postType","product",e),s=o.some((e=>e.variation)),u=await async function(e){var t,o;try{const{attributes:r}=await(0,i.resolveSelect)("core").getEntityRecord("postType","product",e);if(!r.some((e=>e.variation)))return{};const n=await(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).getProductVariations({product_id:e,per_page:1,has_price:!0});return n&&n.length>0&&n[0].regular_price?{regular_price:n[0].regular_price,stock_quantity:null!==(t=n[0].stock_quantity)&&void 0!==t?t:void 0,stock_status:n[0].stock_status,manage_stock:n[0].manage_stock,low_stock_amount:null!==(o=n[0].low_stock_amount)&&void 0!==o?o:void 0}:{}}catch{return{}}}(e);await Promise.all(l.map((e=>(0,i.dispatch)("core").invalidateResolution("getEntityRecord",["postType","product_variation",e])))),await(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).invalidateResolutionForStore();const d=(0,a.applyFilters)("woocommerce.product.variations.generate.meta_data",[],t);return(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).generateProductVariations({product_id:e},{type:s?"variable":"simple",attributes:o,default_attributes:n},{delete:!0,default_values:u,meta_data:d}).then((async t=>(await(0,i.dispatch)("core").invalidateResolution("getEntityRecord",["postType","product",e]),await(0,i.resolveSelect)("core").getEntityRecord("postType","product",e),await(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).invalidateResolutionForStore(),t))).finally((()=>{if(r(!1),"auto-draft"===c&&(0,Q.getPath)().endsWith("add-product")){const t=(0,Q.getNewPath)({},`/product/${e}`);(0,Q.navigateTo)({url:t})}}))}),[]),isGenerating:s,generateError:l}}function Od(){return(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton woocommerce-product-variations__table-row","aria-hidden":"true"},(0,n.createElement)("div",{className:"woocommerce-sortable__handle"}),(0,n.createElement)("div",{className:"woocommerce-product-variations__selection"},(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__checkbox"})),(0,n.createElement)("div",{className:"woocommerce-product-variations__attributes"},Array(2).fill(0).map(((e,t)=>(0,n.createElement)("div",{key:t,className:"woocommerce-tag woocommerce-product-variations__attribute"},(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__attribute-option"}))))),(0,n.createElement)("div",{className:"woocommerce-product-variations__price"},(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__regular-price"})),(0,n.createElement)("div",{className:"woocommerce-product-variations__quantity"},(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__quantity"})),(0,n.createElement)("div",{className:"woocommerce-product-variations__actions"},(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__visibility-icon"}),(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__edit-link"}),(0,n.createElement)("div",{className:"woocommerce-table-row-skeleton__menu-toggle"})))}function Gd(e,t){return e.length>t?e.substring(0,t)+"…":e}async function Zd({message:e=(0,k.__)("Enter a value","woocommerce"),defaultValue:t,onOk:o,onCancel:r}){const n=window.prompt(e,t);null!==n?o(n):null==r||r()}const $d="multiple-update",Ud="single-update",qd="woocommerce-actions-menu-slot",Wd="top-level",Jd=(e,t)=>e?`${qd}_${e}${t?`_${$d}`:`_${Ud}`}`:qd,Yd=({children:e,order:t=20,group:o=Wd,supportsMultipleSelection:r,onClick:a=(()=>{}),...c})=>{const i=e=>()=>{const{selection:t,onChange:o,onClose:r}=e;a({selection:Array.isArray(t)?t:[t],onChange:o,onClose:r})},l=r=>(0,n.createElement)(v.Fill,{key:r,name:Jd(o,r===$d)},(o=>(0,h.createOrderedChildren)((0,n.createElement)(v.MenuItem,{...c,onClick:i(o)},e),t,o))),s=r?[$d,Ud].map(l):l(Ud);return(0,n.createElement)(n.Fragment,null,s)};function Xd({selection:e,onChange:t,onClose:o,supportsMultipleSelection:r=!1}){const a=e.map((({id:e})=>e));function c(o){t(e.map((({id:e,dimensions:t})=>({id:e,dimensions:{...t,...o}}))))}return(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"right-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_click",{source:S.RG,variation_id:a}),t()},"aria-expanded":e,icon:Uc.Z,iconPosition:"right"},(0,k.__)("Shipping","woocommerce")),renderContent:()=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_select",{source:S.RG,action:"toggle_shipping",variation_id:a}),t(e.map((({id:e,virtual:t})=>({id:e,virtual:!t})))),(0,P.recordEvent)("product_variations_menu_shipping_update",{source:S.RG,action:"toggle_shipping",variation_id:a}),o()}},(0,k.__)("Toggle shipping","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_select",{source:S.RG,action:"dimensions_length_set",variation_id:a}),Zd({onOk(e){(0,P.recordEvent)("product_variations_menu_shipping_update",{source:S.RG,action:"dimensions_length_set",variation_id:a}),c({length:e})}}),o()}},(0,k.__)("Set length","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_select",{source:S.RG,action:"dimensions_width_set",variation_id:a}),Zd({onOk(e){(0,P.recordEvent)("product_variations_menu_shipping_update",{source:S.RG,action:"dimensions_width_set",variation_id:a}),c({width:e})}}),o()}},(0,k.__)("Set width","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_select",{source:S.RG,action:"dimensions_height_set",variation_id:a}),Zd({onOk(e){(0,P.recordEvent)("product_variations_menu_shipping_update",{source:S.RG,action:"dimensions_height_set",variation_id:a}),c({height:e})}}),o()}},(0,k.__)("Set height","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_shipping_select",{source:S.RG,action:"weight_set",variation_id:a}),Zd({onOk(o){(0,P.recordEvent)("product_variations_menu_shipping_update",{source:S.RG,action:"weight_set",variation_id:a}),t(e.map((({id:e})=>({id:e,weight:o}))))}}),o()}},(0,k.__)("Set weight","woocommerce"))),(0,n.createElement)(Yd.Slot,{group:"shipping",onChange:t,onClose:o,selection:e,supportsMultipleSelection:r}))})}function Kd({selection:e,onChange:t,onClose:o}){return(0,n.createElement)(v.MenuItem,{onClick:()=>{const r=e.map((({id:e})=>e));(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"stock_quantity_set",variation_id:r}),Zd({onOk(o){const n=Number(o);Number.isNaN(n)||((0,P.recordEvent)("product_variations_menu_inventory_update",{source:S.RG,action:"stock_quantity_set",variation_id:r}),t(e.map((({id:e})=>({id:e,stock_quantity:n,manage_stock:!0})))))}}),o()}},(0,k.__)("Update stock","woocommerce"))}function Qd({selection:e,onChange:t,onClose:o,supportsMultipleSelection:r=!1}){const a=e.map((({id:e})=>e));return(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"right-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_click",{source:S.RG,variation_id:a}),t()},"aria-expanded":e,icon:Uc.Z,iconPosition:"right"},(0,k.__)("Inventory","woocommerce")),renderContent:()=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(Kd,{selection:e,onChange:t,onClose:o}),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"manage_stock_toggle",variation_id:a}),t(e.map((({id:e,manage_stock:t})=>({id:e,manage_stock:!t})))),o()}},(0,k.__)('Toggle "track quantity"',"woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"set_status_in_stock",variation_id:a}),t(e.map((({id:e})=>({id:e,stock_status:Cd.instock,manage_stock:!1})))),o()}},(0,k.__)("Set status to In stock","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"set_status_out_of_stock",variation_id:a}),t(e.map((({id:e})=>({id:e,stock_status:Cd.outofstock,manage_stock:!1})))),o()}},(0,k.__)("Set status to Out of stock","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"set_status_on_back_order",variation_id:a}),t(e.map((({id:e})=>({id:e,stock_status:Cd.onbackorder,manage_stock:!1})))),o()}},(0,k.__)("Set status to On back order","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_inventory_select",{source:S.RG,action:"low_stock_amount_set",variation_id:a}),Zd({onOk(o){(0,P.recordEvent)("product_variations_menu_inventory_update",{source:S.RG,action:"low_stock_amount_set",variation_id:a});const r=Number(o);if(Number.isNaN(r))return null;t(e.map((({id:e})=>({id:e,low_stock_amount:r,manage_stock:!0}))))}}),o()}},(0,k.__)("Edit low stock threshold","woocommerce"))),(0,n.createElement)(Yd.Slot,{group:"inventory",onChange:t,onClose:o,selection:e,supportsMultipleSelection:r}))})}function em({selection:e,onChange:t,onClose:o}){return(0,n.createElement)(v.MenuItem,{onClick:()=>{const r=e.map((({id:e})=>e));(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"list_price_set",variation_id:r}),Zd({onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"list_price_set",variation_id:r}),t(e.map((({id:e})=>({id:e,regular_price:o}))))}}),o()}},(0,k.__)("Set regular price","woocommerce"))}function tm(e,t,o=1){if(function(e){return e.endsWith("%")}(t)){if(Number.isNaN(Number(e)))return 0;const r=function(e){const t=e.substring(0,e.length-1);if(!Number.isNaN(Number(t)))return Number(t)}(t);return void 0===r?Number(e):Number(e)+Number(e)*(r/100)*o}if(Number.isNaN(Number(e))){if(Number.isNaN(Number(t)))return;return Number(t)}return Number(e)+Number(t)*o}function om({selection:e,onChange:t,onClose:o,supportsMultipleSelection:r=!1}){const a=e.map((({id:e})=>e));return(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"right-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_click",{source:S.RG,variation_id:a}),t()},"aria-expanded":e,icon:Uc.Z,iconPosition:"right"},(0,k.__)("Pricing","woocommerce")),renderContent:()=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,{label:(0,k.__)("Regular price","woocommerce")},(0,n.createElement)(em,{selection:e,onChange:t,onClose:o}),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"list_price_increase",variation_id:a}),Zd({message:(0,k.__)("Enter a value (fixed or %)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"list_price_increase",variation_id:a}),t(e.map((({id:e,regular_price:t})=>{var r;return{id:e,regular_price:null===(r=tm(t,o))||void 0===r?void 0:r.toFixed(2)}})))}}),o()}},(0,k.__)("Increase regular price","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"list_price_decrease",variation_id:a}),Zd({message:(0,k.__)("Enter a value (fixed or %)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"list_price_increase",variation_id:a}),t(e.map((({id:e,regular_price:t})=>{var r;return{id:e,regular_price:null===(r=tm(t,o,-1))||void 0===r?void 0:r.toFixed(2)}})))}}),o()}},(0,k.__)("Decrease regular price","woocommerce"))),(0,n.createElement)(v.MenuGroup,{label:(0,k.__)("Sale price","woocommerce")},(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"sale_price_set",variation_id:a}),Zd({onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"sale_price_set",variation_id:a}),t(e.map((({id:e})=>({id:e,sale_price:o}))))}}),o()}},(0,k.__)("Set sale price","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"sale_price_increase",variation_id:a}),Zd({message:(0,k.__)("Enter a value (fixed or %)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"sale_price_increase",variation_id:a}),t(e.map((({id:e,sale_price:t})=>{var r;return{id:e,sale_price:null===(r=tm(t,o))||void 0===r?void 0:r.toFixed(2)}})))}}),o()}},(0,k.__)("Increase sale price","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"sale_price_decrease",variation_id:a}),Zd({message:(0,k.__)("Enter a value (fixed or %)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"sale_price_decrease",variation_id:a}),t(e.map((({id:e,sale_price:t})=>{var r;return{id:e,sale_price:null===(r=tm(t,o,-1))||void 0===r?void 0:r.toFixed(2)}})))}}),o()}},(0,k.__)("Decrease sale price","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_pricing_select",{source:S.RG,action:"sale_price_schedule",variation_id:a}),Zd({message:(0,k.__)("Sale start date (YYYY-MM-DD format or leave blank)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"sale_price_schedule",variation_id:a}),t(e.map((({id:e})=>({id:e,date_on_sale_from_gmt:o}))))}}),Zd({message:(0,k.__)("Sale end date (YYYY-MM-DD format or leave blank)","woocommerce"),onOk(o){(0,P.recordEvent)("product_variations_menu_pricing_update",{source:S.RG,action:"sale_price_schedule",variation_id:a}),t(e.map((({id:e})=>({id:e,date_on_sale_to_gmt:o}))))}}),o()}},(0,k.__)("Schedule sale","woocommerce"))),(0,n.createElement)(Yd.Slot,{group:"pricing",onChange:t,onClose:o,selection:e,supportsMultipleSelection:r}))})}function rm({selection:e,onChange:t,onClose:o}){return(0,n.createElement)(v.MenuItem,{onClick:function(){const r=e.map((({id:e})=>e));(0,P.recordEvent)("product_variations_menu_toggle_visibility_select",{source:S.RG,action:"status_set",variation_id:r}),t(e.map((({id:e,status:t})=>{return{id:e,status:(o=t,"private"===o?"publish":"private")};var o}))),(0,P.recordEvent)("product_variations_toggle_visibility_update",{source:S.RG,action:"status_set",variation_id:r}),o()}},(0,k.__)("Toggle visibility","woocommerce"))}Yd.Slot=({fillProps:e,group:t=Wd,onChange:o,onClose:r,selection:a,supportsMultipleSelection:c})=>(0,n.createElement)(v.Slot,{name:Jd(t,c),fillProps:{...e,onChange:o,onClose:r,selection:a}},(e=>h.sortFillsByOrder&&(null==e?void 0:e.length)?(0,n.createElement)(v.MenuGroup,null,(0,h.sortFillsByOrder)(e)):null));const nm="downloads_menu_item__upload_files_modal",am="downloads_menu_item__upload_files_modal_wrapper";function cm(e){return{id:`${e.id}`,name:e.name,file:e.url}}function im({selection:e,onChange:t,onClose:o,supportsMultipleSelection:r=!1}){const a=e.map((({id:e})=>e)),c=(null==e?void 0:e.length)>0?e[0].downloads.map((({id:e})=>Number.parseInt(e,10))):[],[i,l]=(0,n.useState)(!1);function s(r){const n={downloadable:!0,downloads:Array.isArray(r)?r.map(cm):cm(r)};t(e.map((({id:e})=>({...n,id:e})))),(0,P.recordEvent)("product_variations_menu_downloads_update",{source:S.RG,action:"downloads_set",variation_id:a}),o()}function u(r,n){return function(){(0,P.recordEvent)("product_variations_menu_downloads_select",{source:S.RG,action:`${r}_set`,variation_id:a}),Zd({message:n,onOk(o){t(e.map((({id:e})=>({id:e,downloadable:!0,[r]:o})))),(0,P.recordEvent)("product_variations_menu_downloads_update",{source:S.RG,action:`${r}_set`,variation_id:a})}}),l(!1),o()}}return(0,n.useEffect)((function(){const e=document.querySelector(`.${nm}`),t=null==e?void 0:e.closest('[role="dialog"]'),o=null==t?void 0:t.parentElement;return null==o||o.classList.add(am),()=>{null==o||o.classList.remove(am)}}),[i]),(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"right-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(v.MenuItem,{onClick:()=>{(0,P.recordEvent)("product_variations_menu_downloads_click",{source:S.RG,variation_id:a}),t()},"aria-expanded":e,icon:Uc.Z,iconPosition:"right"},(0,k.__)("Downloads","woocommerce")),renderContent:()=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(Ae.MediaUpload,{modalClass:nm,multiple:"add",value:c,onSelect:s,render:({open:e})=>{return(0,n.createElement)(v.MenuItem,{onClick:(t=e,function(){(0,P.recordEvent)("product_variations_menu_downloads_select",{source:S.RG,action:"downloads_set",variation_id:a}),t(),l(!0)})},(0,k.__)("Upload files","woocommerce"));var t}}),(0,n.createElement)(v.MenuItem,{onClick:u("download_limit",(0,k.__)("Leave blank for unlimited re-downloads","woocommerce"))},(0,k.__)("Set download limit","woocommerce")),(0,n.createElement)(v.MenuItem,{onClick:u("download_expiry",(0,k.__)("Enter the number of days before a download link expires, or leave blank","woocommerce"))},(0,k.__)("Set download expiry","woocommerce"))),(0,n.createElement)(Yd.Slot,{group:"downloads",onChange:t,onClose:o,selection:e,supportsMultipleSelection:r}))})}const lm=["image"],sm="woocommerce-add-image-menu-item__upload_image_modal",um="woocommerce-add-image-menu-item__upload_image_modal_wrapper";function dm({selection:e,onChange:t,onClose:o}){const[r,a]=(0,n.useState)(!1),c=e.map((({id:e})=>e));return(0,n.useEffect)((function(){const e=document.querySelector(`.${sm}`),t=null==e?void 0:e.closest('[role="dialog"]'),o=null==t?void 0:t.parentElement;return null==o||o.classList.add(um),()=>{null==o||o.classList.remove(um)}}),[r]),(0,n.createElement)(Ae.MediaUpload,{onSelect:function(r){const n=or(r);(0,P.recordEvent)("product_variations_menu_add_image_update",{source:S.RG,action:"add_image_to_variation",variation_id:c}),t(e.map((({id:e})=>({id:e,image:n})))),o()},modalClass:sm,allowedTypes:lm,mode:"upload",multiple:!1,render:({open:e})=>{return(0,n.createElement)(v.MenuItem,{onClick:(t=e,function(){(0,P.recordEvent)("product_variations_menu_add_image_select",{source:S.RG,action:"add_image_to_variation",variation_id:c}),t(),a(!0)})},(0,k.__)("Add image","woocommerce"));var t}})}function mm({selection:e,onChange:t,onDelete:o,onClose:r,supportsMultipleSelection:a=!1}){const c=a||1!==e.length?null:e[0];return(0,n.createElement)("div",{className:ce()({"components-dropdown-menu__menu":a})},(0,n.createElement)(v.MenuGroup,{label:a?void 0:(0,k.sprintf)((0,k.__)("Variation Id: %s","woocommerce"),null==c?void 0:c.id)},a?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Kd,{selection:e,onChange:t,onClose:r}),(0,n.createElement)(em,{selection:e,onChange:t,onClose:r}),(0,n.createElement)(dm,{selection:e,onChange:t,onClose:r})):(0,n.createElement)(v.MenuItem,{href:null==c?void 0:c.permalink,target:"_blank",rel:"noreferrer",onClick:()=>{(0,P.recordEvent)("product_variations_preview",{source:S.RG,variation_id:null==c?void 0:c.id})}},(0,k.__)("Preview","woocommerce")),(0,n.createElement)(rm,{selection:e,onChange:t,onClose:r})),(0,n.createElement)(Yd.Slot,{group:"top-level",onChange:t,onClose:r,selection:e,supportsMultipleSelection:a}),(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(om,{selection:e,onChange:t,onClose:r,supportsMultipleSelection:a}),(0,n.createElement)(Qd,{selection:e,onChange:t,onClose:r,supportsMultipleSelection:a}),(0,n.createElement)(Xd,{selection:e,onChange:t,onClose:r,supportsMultipleSelection:a}),(0,n.createElement)(im,{selection:e,onChange:t,onClose:r,supportsMultipleSelection:a})),(0,n.createElement)(Yd.Slot,{group:"secondary",onChange:t,onClose:r,selection:e,supportsMultipleSelection:a}),(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(v.MenuItem,{isDestructive:!0,label:a?void 0:(0,k.__)("Delete variation","woocommerce"),variant:"link",onClick:()=>{o(e),r()},className:"woocommerce-product-variations__actions--delete"},(0,k.__)("Delete","woocommerce"))),(0,n.createElement)(Yd.Slot,{group:"tertiary",onChange:t,onClose:r,selection:e,supportsMultipleSelection:a}))}function pm({selection:e,onChange:t,onDelete:o}){return e&&1===e.length?(0,n.createElement)(v.DropdownMenu,{popoverProps:{placement:"left-start"},icon:Kl.Z,label:(0,k.__)("Actions","woocommerce"),toggleProps:{onClick(){(0,P.recordEvent)("product_variations_menu_view",{source:S.RG,variation_id:e[0].id})}}},(({onClose:r})=>(0,n.createElement)(mm,{selection:e,onClose:r,onChange:t,onDelete:o,supportsMultipleSelection:!1}))):null}function hm({icon:e,iconPosition:t,text:o,info:r,...a}){return(0,n.createElement)(Ae.MediaUpload,{...a,render:({open:a})=>(0,n.createElement)(v.MenuItem,{icon:null!=e?e:Zl,iconPosition:null!=t?t:"left",onClick:a,info:null!=r?r:(0,k.__)("Choose from uploaded media","woocommerce")},null!=o?o:(0,k.__)("Media Library","woocommerce"))})}function _m({allowedTypes:e,maxUploadFileSize:t,wpAllowedMimeTypes:o,additionalData:r,icon:a,iconPosition:c,text:i,info:l,onUploadProgress:s,onUploadSuccess:u,onUploadError:d,...m}){var p;const h=t||(null===(p=window.productBlockEditorSettings)||void 0===p?void 0:p.maxUploadFileSize)||10485760;return(0,n.createElement)(v.FormFileUpload,{...m,onChange:function(t){const n=t.currentTarget.files;(0,Ae.uploadMedia)({allowedTypes:e,filesList:n,maxUploadFileSize:h,additionalData:r,wpAllowedMimeTypes:o,onFileChange(e){e.some((e=>!e.id))?null==s||s(e):u(e)},onError:d})},render:({openFileDialog:e})=>(0,n.createElement)(v.MenuItem,{icon:null!=a?a:Ao,iconPosition:null!=c?c:"left",onClick:e,info:null!=l?l:(0,k.__)("Select files from your device","woocommerce")},null!=i?i:(0,k.__)("Upload","woocommerce"))})}function vm({selection:e,onChange:t,onDelete:o,...r}){const[a,c]=(0,n.useState)(!1),{createErrorNotice:l}=(0,i.useDispatch)("core/notices");function s(o){return function(r){const n=r.length&&or(r[0])||void 0,a={id:e[0].id,image:n};c(!1),t([a],!1),o()}}function u(o){return function(r){const n={id:e[0].id,image:or(r)||void 0};t([n],!1),o()}}return(0,n.createElement)(v.Dropdown,{...r,popoverProps:{placement:"bottom-end"},renderToggle:e=>r.renderToggle({...e,isBusy:a}),className:"woocommerce-image-actions-menu",contentClassName:"woocommerce-image-actions-menu__menu-content",renderContent:({onClose:o})=>(0,n.createElement)("div",{className:"components-dropdown-menu__menu"},(0,n.createElement)(v.MenuGroup,null,(0,n.createElement)(_m,{allowedTypes:["image"],accept:"image/*",multiple:!1,info:(0,k.__)("1000 pixels wide or larger","woocommerce"),onUploadProgress:()=>{c(!0),o()},onUploadSuccess:s(o),onUploadError:e=>{!function(e){l((0,k.sprintf)((0,k.__)("Error uploading file:%1$s%2$s","woocommerce"),"\n",e.message))}(e),c(!1),o()}}),(0,n.createElement)(hm,{allowedTypes:["image"],multiple:!1,value:e[0].id,onSelect:u(o)})),(0,n.createElement)(Yd.Slot,{group:"image-actions-menu",onChange:t,onClose:o,selection:e,supportsMultipleSelection:!1}))})}const wm="woocommerce_manage_stock",gm=[{label:(0,k.__)("In stock","woocommerce"),value:"instock"},{label:(0,k.__)("Out of stock","woocommerce"),value:"outofstock"},{label:(0,k.__)("On backorder","woocommerce"),value:"onbackorder"}];function fm({initialValue:e,onSubmit:t,onCancel:o}){var r,a;const[c,l]=(0,n.useState)({manage_stock:Boolean(null==e?void 0:e.manage_stock),stock_status:null!==(r=null==e?void 0:e.stock_status)&&void 0!==r?r:"",stock_quantity:null!==(a=null==e?void 0:e.stock_quantity)&&void 0!==a?a:1}),[s,u]=(0,n.useState)({}),{canManageStock:d,isLoadingManageStockOption:m}=(0,i.useSelect)((e=>{const{getOption:t,isResolving:o}=e(M.OPTIONS_STORE_NAME);return{canManageStock:"yes"===t(wm),isLoadingManageStockOption:o("getOption",[wm])}}),[]);function p(){let e;return c.manage_stock&&c.stock_quantity&&Number.parseInt(c.stock_quantity,10)<0&&(e=(0,k.__)("Stock quantity must be a positive number.","woocommerce")),u({stock_quantity:e}),!e}return(0,n.createElement)("form",{onSubmit:function(e){e.preventDefault(),p()&&(null==t||t(c))},className:"woocommerce-variation-stock-status-form","aria-label":(0,k.__)("Variation stock status form","woocommerce"),noValidate:!0},(0,n.createElement)("div",{className:"woocommerce-variation-stock-status-form__controls"},(0,n.createElement)(v.ToggleControl,{label:(0,k.__)("Track inventory","woocommerce"),disabled:m||!d,checked:c.manage_stock,onChange:function(e){l((t=>({...t,manage_stock:e})))},help:function(){if(!m&&!d)return(0,n.createInterpolateElement)((0,k.__)("Per your <Link>store settings</Link>, inventory management is <strong>disabled</strong>.","woocommerce"),{Link:(0,n.createElement)("a",{href:(0,ir.getAdminLink)("admin.php?page=wc-settings&tab=products§ion=inventory"),target:"_blank",rel:"noreferrer"}),strong:(0,n.createElement)("strong",null)})}()})),(0,n.createElement)("div",{className:"woocommerce-variation-stock-status-form__controls"},c.manage_stock?(0,n.createElement)(v.__experimentalInputControl,{type:"number",min:0,label:(0,k.__)("Available stock","woocommerce"),help:s.stock_quantity,value:c.stock_quantity,onChange:function(e){l((t=>({...t,stock_quantity:e})))},onBlur:p,className:ce()({"has-error":s.stock_quantity})}):(0,n.createElement)(Tr,{title:(0,k.__)("Stock status","woocommerce"),selected:c.stock_status,options:gm,onChange:function(e){l((t=>({...t,stock_status:e})))}})),(0,n.createElement)("div",{className:"woocommerce-variation-stock-status-form__actions"},(0,n.createElement)(v.Button,{variant:"tertiary",onClick:o},"Cancel"),(0,n.createElement)(v.Button,{variant:"primary",type:"submit"},"Save")))}function Em({initialValue:e,onSubmit:t,onCancel:o}){var r,a;const[c,i]=(0,n.useState)({regular_price:null!==(r=null==e?void 0:e.regular_price)&&void 0!==r?r:"",sale_price:null!==(a=null==e?void 0:e.sale_price)&&void 0!==a?a:""}),[l,s]=(0,n.useState)({}),u=Sr({value:c.regular_price,onChange(e){i((t=>({...t,regular_price:e})))}}),d=Sr({value:c.sale_price,onChange(e){i((t=>({...t,sale_price:e})))}});function m(){const e={regular_price:void 0},t=Number.parseFloat(c.regular_price);return t&&(t<0&&(e.regular_price=(0,k.__)("Regular price must be greater than or equals to zero.","woocommerce")),c.sale_price&&t<=Number.parseFloat(c.sale_price)&&(e.regular_price=(0,k.__)("Regular price must be greater than the sale price.","woocommerce"))),s(e),!e.regular_price}function p(){const e={sale_price:void 0};if(c.sale_price){const t=Number.parseFloat(c.sale_price);t<0&&(e.sale_price=(0,k.__)("Sale price must be greater than or equals to zero.","woocommerce")),(!c.regular_price||Number.parseFloat(c.regular_price)<=t)&&(e.sale_price=(0,k.__)("Sale price must be lower than the regular price.","woocommerce"))}return s(e),!e.sale_price}return(0,n.createElement)("form",{onSubmit:function(e){e.preventDefault(),p()&&m()&&(null==t||t(c))},className:"woocommerce-variation-pricing-form","aria-label":(0,k.__)("Variation pricing form","woocommerce")},(0,n.createElement)("div",{className:"woocommerce-variation-pricing-form__controls"},(0,n.createElement)(v.__experimentalInputControl,{...u,name:"regular_price",label:(0,k.__)("Regular price","woocommerce"),help:l.regular_price,className:ce()(u.className,{"has-error":l.regular_price}),onBlur:m}),(0,n.createElement)(v.__experimentalInputControl,{...d,name:"sale_price",label:(0,k.__)("Sale price","woocommerce"),help:l.sale_price,className:ce()(d.className,{"has-error":l.sale_price}),onBlur:p})),(0,n.createElement)("div",{className:"woocommerce-variation-pricing-form__actions"},(0,n.createElement)(v.Button,{variant:"tertiary",onClick:o},"Cancel"),(0,n.createElement)(v.Button,{variant:"primary",type:"submit"},"Save")))}const bm=(0,k.__)("Not visible to customers","woocommerce");function Cm(e){return(0,Q.getNewPath)({},`/product/${e.parent_id}/variation/${e.id}`,{})}function xm({variation:e,variableAttributes:t,isUpdating:o,isSelected:r,isSelectionDisabled:a,hideActionButtons:c,onChange:i,onDelete:l,onEdit:s,onSelect:u}){const{formatAmount:d}=(0,n.useContext)(N.CurrencyContext),{matchesAny:m,tags:p}=(0,n.useMemo)((function(){let o=!1;const r=t.map((t=>{const r=e.attributes.find((e=>e.id===t.id));return r?{id:r.id,label:r.option}:(o=!0,{id:t.id,label:(0,k.sprintf)((0,k.__)("Any %s","woocommerce"),t.name)})}));return{matchesAny:o,tags:r}}),[t,e]);function _(e,t){i(e[0],t)}function w(e){l(e[0])}function g(t,o,r){return function(){o||(0,P.recordEvent)("product_variations_inline_select",{source:S.RG,product_id:e.parent_id,variation_id:e.id,selected_option:t}),r()}}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"woocommerce-product-variations__selection",role:"cell"},m&&(0,n.createElement)(h.__experimentalTooltip,{text:(0,k.__)("'Any' variations are no longer fully supported. Use regular variations instead","woocommerce"),helperText:(0,k.__)("View helper text","woocommerce"),position:"middle right"},(0,n.createElement)(oe.Z,{icon:_l,size:24})),o?(0,n.createElement)(v.Spinner,null):(0,n.createElement)(v.CheckboxControl,{value:e.id,checked:r,onChange:u,disabled:a,"aria-label":r?(0,k.__)("Unselect variation","woocommerce"):(0,k.__)("Select variation","woocommerce")})),(0,n.createElement)("div",{className:"woocommerce-product-variations__attributes-cell",role:"cell"},(0,n.createElement)(vm,{selection:[e],onChange:_,onDelete:w,renderToggle:({isOpen:t,onToggle:o,isBusy:r})=>r?(0,n.createElement)("div",{className:"woocommerce-product-variations__add-image-button"},(0,n.createElement)(v.Spinner,{"aria-label":(0,k.__)("Loading image","woocommerce")})):(0,n.createElement)(v.Button,{className:ce()(e.image?"woocommerce-product-variations__image-button":"woocommerce-product-variations__add-image-button"),icon:e.image?void 0:Bo.Z,iconSize:e.image?void 0:16,size:"compact",onClick:g("image",t,o)},e.image&&(0,n.createElement)("div",{className:"woocommerce-product-variations__image",style:{backgroundImage:`url('${e.image.src}')`}}))}),(0,n.createElement)("div",{className:"woocommerce-product-variations__attributes"},p.map((e=>{const t=(0,n.createElement)(h.Tag,{id:e.id,className:"woocommerce-product-variations__attribute",key:e.id,label:Gd(e.label,S.VY),screenReaderLabel:e.label});return p.length<=S.VY?t:(0,n.createElement)(h.__experimentalTooltip,{key:e.id,text:e.label,position:"top center"},(0,n.createElement)("span",null,t))})))),(0,n.createElement)("div",{className:ce()("woocommerce-product-variations__price",{"woocommerce-product-variations__price--fade":"private"===e.status}),role:"cell"},e.regular_price?(0,n.createElement)(v.Dropdown,{contentClassName:"woocommerce-product-variations__pricing-actions-menu",popoverProps:{placement:"bottom"},renderToggle:({isOpen:t,onToggle:o})=>(0,n.createElement)(v.Button,{onClick:g("price",t,o)},(0,n.createElement)(n.Fragment,null,e.on_sale&&(0,n.createElement)("span",{className:"woocommerce-product-variations__sale-price"},d(e.sale_price)),(0,n.createElement)("span",{className:ce()("woocommerce-product-variations__regular-price",{"woocommerce-product-variations__regular-price--on-sale":e.on_sale})},d(e.regular_price)))),renderContent:({onClose:t})=>function(t){return(0,n.createElement)(Em,{initialValue:e,onSubmit:o=>{i({...o,id:e.id},!0),t()},onCancel:t})}(t)}):null),(0,n.createElement)("div",{className:ce()("woocommerce-product-variations__quantity",{"woocommerce-product-variations__quantity--fade":"private"===e.status}),role:"cell"},e.regular_price?(0,n.createElement)(v.Dropdown,{contentClassName:"woocommerce-product-variations__stock-status-actions-menu",popoverProps:{placement:"bottom"},renderToggle:({isOpen:t,onToggle:o})=>(0,n.createElement)(v.Button,{onClick:g("stock",t,o),variant:"tertiary"},(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",{className:ce()("woocommerce-product-variations__status-dot",Ad(e))},"●"),kd(e))),renderContent:({onClose:t})=>function(t){return(0,n.createElement)(fm,{initialValue:e,onSubmit:o=>{i({...o,id:e.id},!0),t()},onCancel:t})}(t)}):null),(0,n.createElement)("div",{className:"woocommerce-product-variations__actions",role:"cell"},("private"===e.status||!e.regular_price)&&(0,n.createElement)(h.__experimentalTooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:bm},(0,n.createElement)("div",{className:"woocommerce-attribute-list-item__actions-icon-wrapper"},(0,n.createElement)(md,{className:"woocommerce-attribute-list-item__actions-icon-wrapper-icon"}))),c&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.Button,{href:Cm(e),onClick:s},(0,k.__)("Edit","woocommerce")),(0,n.createElement)(pm,{selection:[e],onChange:_,onDelete:w}))))}function ym({selection:e,disabled:t,onChange:o,onDelete:r}){return e?(0,n.createElement)(v.Dropdown,{popoverProps:{placement:"bottom-end"},renderToggle:({isOpen:e,onToggle:o})=>(0,n.createElement)(v.Button,{disabled:t,"aria-expanded":e,icon:e?Eo:bo.Z,variant:"secondary",onClick:o,className:"variations-actions-menu__toggle"},(0,n.createElement)("span",null,(0,k.__)("Quick update","woocommerce"))),renderContent:({onClose:t})=>(0,n.createElement)(mm,{selection:e,onClose:t,onChange:o,onDelete:r,supportsMultipleSelection:!0})}):null}function km(e,t){if("id"in e){const e="update"===t?"updated":"deleted";return(0,k.sprintf)((0,k.__)("1 variation %s.","woocommerce"),e)}const{update:o=[],delete:r=[]}=e,n=o.length,a=r.length;return a>0?(0,k.sprintf)((0,k.__)("%s variations deleted.","woocommerce"),a):n>0?(0,k.sprintf)((0,k.__)("%s variations updated.","woocommerce"),n):""}const Am=(0,n.forwardRef)((function({isVisible:e=!1,noticeText:t,noticeActions:o=[],noticeStatus:r="error",onNoticeDismiss:a=(()=>{}),onVariationTableChange:c=(()=>{})},l){const s=(0,u.useEntityId)("postType","product"),[d]=(0,u.useEntityProp)("postType","product","attributes"),m=(0,n.useMemo)((()=>d.filter((e=>e.variation))),[d]),[p]=(0,u.useEntityProp)("postType","product","variations"),{createSuccessNotice:h,createErrorNotice:_}=(0,i.useDispatch)("core/notices"),{isLoading:w,variations:g,totalCount:f,onPageChange:E,onPerPageChange:b,onFilter:C,getFilters:x,hasFilters:y,clearFilters:A,selected:B,isSelectingAll:V,selectedCount:N,areAllSelected:T,areSomeSelected:L,isSelected:F,onSelect:R,onSelectPage:D,onSelectAll:H,onClearSelection:I,isUpdating:z,onUpdate:j,onDelete:O,onBatchUpdate:G,onBatchDelete:Z,isGenerating:$,variationsError:U,onGenerate:q,getCurrentVariations:W}=function({productId:e}){const[t,o]=(0,n.useState)([]),[r,a]=(0,n.useState)(0),[c,l]=(0,n.useState)(!1),[s,u]=(0,n.useState)(),[d,m]=(0,n.useState)([]),p=(0,n.useRef)(S.Ux);async function h(e,t=!1){const r={page:1,per_page:p.current,order:"asc",orderby:"menu_order",attributes:[],...e};try{const{invalidateResolution:e}=(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);t&&(await e("getProductVariations",[r]),await e("getProductVariationsTotalCount",[r]));const{getProductVariations:n,getProductVariationsTotalCount:c}=(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);l(!0),u(void 0);const s=await n(r),d=await c(r);o(s),a(d),l(!1)}catch(e){u(e),l(!1)}}const[_,v]=(0,n.useState)(0),[w,g]=(0,n.useState)(!1),f=(0,n.useRef)({}),E=(0,n.useMemo)((function(){return _>0?Object.values(f.current):[]}),[_]),b=(0,n.useCallback)((function(e){return _>0&&e.id in f.current}),[_]),C=(0,n.useMemo)((()=>_>0&&t.every(b)),[t,_,b]),x=(0,n.useMemo)((()=>_>0&&t.some(b)),[t,_,b]);function y(e){return function(t){t?(f.current[e.id]=e,v((e=>e+1))):(delete f.current[e.id],v((e=>e-1)))}}function k(){f.current={},v(0)}const[A,P]=(0,n.useState)({}),{isGenerating:B,generateProductVariations:V,generateError:N}=jd(),T=(0,n.useRef)(!1);return{isLoading:c,variations:t,totalCount:r,onPageChange:function(t){h({product_id:e,attributes:d,page:t})},onPerPageChange:function(t){p.current=t,h({product_id:e,attributes:d})},onFilter:function(t){return function(o){let r=!1;const n=d.reduce(((e,n)=>n.attribute===t.slug?(r=!0,0===o.length?e:[...e,{...n,terms:o}]):[...e,n]),[]);r||n.push({attribute:t.slug,terms:o}),k(),h({product_id:e,attributes:n}),m(n)}},getFilters:function(e){var t,o;return null!==(o=null===(t=d.find((t=>t.attribute===e.slug)))||void 0===t?void 0:t.terms)&&void 0!==o?o:[]},hasFilters:function(){return Boolean(d.length)},clearFilters:async function(){return m([]),h({product_id:e})},selected:E,isSelectingAll:w,selectedCount:_,areAllSelected:C,areSomeSelected:x,isSelected:b,onSelect:y,onSelectPage:function(e){e?t.forEach((e=>{f.current[e.id]=e})):t.forEach((e=>{delete f.current[e.id]})),v(Object.keys(f.current).length)},onSelectAll:async function(){g(!0);const{getProductVariations:t}=(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);let o=1,n=0;for(;n<r;){const r=await t({product_id:e,page:o++,per_page:50,order:"asc",orderby:"menu_order",attributes:d});n+=r.length,r.forEach((e=>{f.current[e.id]=e}))}return v(n),g(!1),n},onClearSelection:k,isUpdating:A,onUpdate:async function({id:t,...r}){if(A[t])return;o((e=>e.map((e=>e.id===t?{...e,...r}:e))));const{updateProductVariation:n}=(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return n({product_id:e,id:t},r).then((async o=>(await(0,i.dispatch)("core").invalidateResolution("getEntityRecord",["postType","product_variation",t]),await h({product_id:e,attributes:d}),o)))},onDelete:async function(t){if(A[t])return;const{deleteProductVariation:o,invalidateResolutionForStore:r}=(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return o({product_id:e,id:t}).then((async o=>(y(o)(!1),await(0,i.dispatch)("core").invalidateResolution("getEntityRecord",["postType","product",e]),await(0,i.dispatch)("core").invalidateResolution("getEntityRecord",["postType","product_variation",t]),await r(),await h({product_id:e,attributes:d}),o)))},onBatchUpdate:async function(t){var o;const{invalidateResolution:r}=(0,i.dispatch)("core"),{batchUpdateProductVariations:n,invalidateResolutionForStore:a}=(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);f.current={},v(0);let c=1;const l=[];for(;50*(c-1)<t.length;){const a=50*(c-1),i=a+50,s=t.slice(a,i);P((e=>s.reduce(((e,t)=>({...e,[t.id]:!0})),0===a?{}:e)));const u=await n({product_id:e},{update:s});c++;const d=null!==(o=null==u?void 0:u.update)&&void 0!==o?o:[];l.push(...d);for(const e of d)await r("getEntityRecord",["postType","product_variation",e.id]),f.current[e.id]=e,v((e=>e+1))}return P({}),await a(),await h({product_id:e,attributes:d}),{update:l}},onBatchDelete:async function(t){var o,r;const{invalidateResolution:n}=(0,i.dispatch)("core"),{batchUpdateProductVariations:a,invalidateResolutionForStore:c}=(0,i.dispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);f.current={},v(0);let l=1;const s=[];for(;50*(l-1)<t.length;){const c=50*(l-1),i=c+50,u=t.slice(c,i);P((e=>u.reduce(((e,t)=>({...e,[t.id]:!0})),0===c?{}:e)));const d=await a({product_id:e},{delete:u.map((({id:e})=>e))});l++;const m=null!==(o=null==d?void 0:d.delete)&&void 0!==o?o:[];s.push(...null!==(r=null==d?void 0:d.delete)&&void 0!==r?r:[]);for(const e of m)await n("getEntityRecord",["postType","product_variation",e.id]),delete f.current[e.id],v((e=>e-1))}return P({}),await n("getEntityRecord",["postType","product",e]),await c(),await h({product_id:e,attributes:d}),{delete:s}},isGenerating:B,onGenerate:V,variationsError:null!=N?N:s,getCurrentVariations:function(){B&&(m([]),k());const t=!1===T.current&&!1===B,o=!0===T.current&&!1===B;(t||o)&&h({product_id:e},!0),T.current=Boolean(B)}}}({productId:s});(0,n.useEffect)((()=>{e&&W()}),[e,$,s]);const J=void 0!==U;if(!w&&!$&&(0===p.length||J))return(0,n.createElement)(Id,{onActionClick:function(){q(d)},isError:J});function Y(e){O(e.id).then((t=>{(0,P.recordEvent)("product_variations_delete",{source:S.RG,product_id:s,variation_id:e.id}),h(km(t,"delete")),c("delete")})).catch((()=>{_((0,k.__)("Failed to delete variation.","woocommerce"))}))}function X(e,t=!0){const{id:o,...r}=e;j(e).then((o=>{(0,P.recordEvent)("product_variations_change",{source:S.RG,product_id:s,variation_id:e.id,updated_options:Object.keys(r)}),t&&h(km(o,"update")),c("update",[e])})).catch((()=>{_((0,k.__)("Failed to save variation.","woocommerce"))}))}function K(e){const t=Date.now();G(e).then((o=>{(0,P.recordEvent)("product_variations_update_all",{source:S.RG,product_id:s,variations_count:e.length,request_time:Date.now()-t}),h(km(o)),c("update",e)})).catch((()=>{_((0,k.__)("Failed to update variations.","woocommerce"))}))}function Q(e){const t=Date.now();Z(e).then((o=>{(0,P.recordEvent)("product_variations_delete_all",{source:S.RG,product_id:s,variations_count:e.length,request_time:Date.now()-t}),h(km(o)),c("delete")})).catch((()=>{_((0,k.__)("Failed to delete variations.","woocommerce"))}))}function ee(e){return function(){(0,P.recordEvent)("product_variations_edit",{source:S.RG,product_id:s,variation_id:e.id})}}return(0,n.createElement)("div",{className:"woocommerce-product-variations",ref:l},t&&(0,n.createElement)(v.Notice,{status:r,className:"woocommerce-product-variations__notice",onRemove:a,actions:o.map((e=>({...e,onClick:()=>{null==e||e.onClick(K,Q)}})))},t),(0,n.createElement)("div",{className:"woocommerce-product-variations__table",role:"table"},(y()||f>0)&&(0,n.createElement)("div",{className:"woocommerce-product-variations__table-header",role:"rowgroup"},(0,n.createElement)("div",{className:"woocommerce-product-variations__table-row",role:"rowheader"},(0,n.createElement)("div",{className:"woocommerce-product-variations__filters"},L?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",null,(0,k.sprintf)((0,k.__)("%d selected","woocommerce"),N)),(0,n.createElement)(v.Button,{variant:"tertiary",onClick:()=>D(!0)},(0,k.sprintf)((0,k.__)("Select page (%d)","woocommerce"),g.length)),(0,n.createElement)(v.Button,{variant:"tertiary",isBusy:V,onClick:async function(){const e=Date.now();H().then((t=>{(0,P.recordEvent)("product_variations_select_all",{source:S.RG,product_id:s,variations_count:t,request_time:Date.now()-e})}))}},(0,k.sprintf)((0,k.__)("Select all (%d)","woocommerce"),f)),(0,n.createElement)(v.Button,{variant:"tertiary",onClick:I},(0,k.__)("Clear selection","woocommerce"))):m.map((e=>(0,n.createElement)(zd,{key:e.id,initialValues:x(e),attribute:e,onFilter:C(e)})))),(0,n.createElement)("div",{className:"woocommerce-product-variations__actions"},(0,n.createElement)(ym,{selection:B,disabled:!L&&!V,onChange:K,onDelete:Q}))),f>0&&(0,n.createElement)("div",{className:"woocommerce-product-variations__table-row woocommerce-product-variations__table-rowheader",role:"rowheader"},(0,n.createElement)("div",{className:"woocommerce-product-variations__table-column woocommerce-product-variations__selection",role:"columnheader"},(0,n.createElement)(v.CheckboxControl,{value:"all",checked:T,indeterminate:!T&&L,onChange:D,"aria-label":(0,k.__)("Select all","woocommerce")})),(0,n.createElement)("div",{className:"woocommerce-product-variations__table-column",role:"columnheader"},(0,k.__)("Variation","woocommerce")),(0,n.createElement)("div",{className:"woocommerce-product-variations__table-column woocommerce-product-variations__price",role:"columnheader"},(0,k.__)("Price","woocommerce")),(0,n.createElement)("div",{className:"woocommerce-product-variations__table-column",role:"columnheader"},(0,k.__)("Stock","woocommerce")))),w||$?(0,n.createElement)("div",{className:"woocommerce-product-variations__table-body",role:"presentation","aria-label":$?(0,k.__)("Generating variations…","woocommerce"):(0,k.__)("Loading variations…","woocommerce")},Array.from({length:g.length||5}).map(((e,t)=>(0,n.createElement)(Od,{key:t})))):f>0?(0,n.createElement)("div",{className:"woocommerce-product-variations__table-body",role:"rowgroup"},g.map((e=>(0,n.createElement)("div",{key:`${e.id}`,className:"woocommerce-product-variations__table-row",role:"row"},(0,n.createElement)(xm,{variation:e,variableAttributes:m,isUpdating:z[e.id],isSelected:F(e),isSelectionDisabled:V,hideActionButtons:!L,onChange:X,onDelete:Y,onEdit:ee(e),onSelect:R(e)}))))):(0,n.createElement)(Id,{isError:!1,message:(0,k.__)("No variations were found","woocommerce"),actionText:(0,k.__)("Clear filters","woocommerce"),onActionClick:A}),f>5&&(0,n.createElement)("div",{className:"woocommerce-product-variations__table-footer",role:"row"},(0,n.createElement)(Rd,{totalCount:f,onPageChange:E,onPerPageChange:b}))))})),Sm=()=>{const[e,t]=(0,n.useState)(!1),o=(0,u.useEntityId)("postType","product"),r=(0,n.useRef)(),a=(0,n.useMemo)((()=>({product_id:o,page:1,per_page:S.Ux,order:"asc",orderby:"menu_order"})),[o]),{totalCount:c}=(0,i.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:t(a)}}),[o]),{updateUserPreferences:l,variable_product_block_tour_shown:s}=(0,M.useUserPreferences)(),d={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,k.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,k.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,k.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,P.recordEvent)("variable_product_block_tour_shown",{variable_count:c})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{l({variable_product_block_tour_shown:"yes"}),t(!1),(0,P.recordEvent)("variable_product_block_tour_dismissed")}};(0,n.useEffect)((()=>{const o=r.current!==c&&c>0&&0===r.current;r.current=c,o&&!e&&t(!0)}),[c]);const{hasShownProductEditorTour:m}=(0,i.useSelect)((e=>{const{getOption:t}=e(M.OPTIONS_STORE_NAME);return{hasShownProductEditorTour:"yes"===t("woocommerce_block_product_tour_shown")}}));return"yes"!==s&&e&&m?(0,n.createElement)(h.TourKit,{config:d}):null},{name:Pm,...Bm}=Fd,Vm={example:{},edit:function({attributes:e,context:{isInSelectedTab:t}}){const o=(0,n.useRef)(!1),{invalidateResolution:r}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),a=(0,u.useEntityId)("postType","product"),c=(0,s.useWooBlockProps)(e),[l]=(0,u.useEntityProp)("postType","product","status"),[d]=(0,u.useEntityProp)("postType","product","has_options"),[m]=Gt("attributes"),p=(0,n.useMemo)((function(){return null==m?void 0:m.some((e=>e.variation))}),[m]),h=(0,n.useMemo)((()=>({product_id:a,order:"asc",orderby:"menu_order",has_price:!1})),[a]),{totalCountWithoutPrice:_}=(0,i.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCountWithoutPrice:d?t(h):0}}),[d,h]),{updateUserPreferences:v,variable_items_without_price_notice_dismissed:w}=(0,M.useUserPreferences)(),{ref:g}=lr("variations",(async function(e,t){if(_>0&&!o.current&&"publish"!==l&&"publish"===(null==t?void 0:t.status))return"yes"!==w&&v({variable_items_without_price_notice_dismissed:{...w||{},[a]:"no"}}),{message:(0,k.__)("Set variation prices before adding this product.","woocommerce")}}),[_]),f=!w||"yes"!==w[a],E=_>0&&f?(0,k.sprintf)((0,k.__)("%d variations do not have prices. Variations that do not have prices will not be visible to customers.","woocommerce"),_):"";return p?(0,n.createElement)("div",{...c},(0,n.createElement)(Am,{isVisible:t,ref:g,noticeText:E,onNoticeDismiss:()=>{o.current=!0,v({variable_items_without_price_notice_dismissed:{...w||{},[a]:"yes"}})},noticeActions:[{label:(0,k.__)("Set prices","woocommerce"),onClick:function(e){(0,P.recordEvent)("product_variations_set_prices_select",{source:S.RG});const t=(0,i.resolveSelect)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).getProductVariations({product_id:a,order:"asc",orderby:"menu_order",has_price:!1,_fields:["id"],per_page:_});Zd({onOk(o){(0,P.recordEvent)("product_variations_set_prices_update",{source:S.RG}),t.then((t=>{e(t.map((({id:e})=>({id:e,regular_price:o}))))}))}})},className:"is-destructive"}],onVariationTableChange:(e,t)=>{("delete"===e||"update"===e&&t&&t.find((e=>"regular_price"in e||"sale_price"in e)))&&r("getProductVariationsTotalCount",[h])}}),t&&(0,n.createElement)(Sm,null)):(0,n.createElement)(Pt,{names:[(0,k.__)("Variation","woocommerce"),(0,k.__)("Colors","woocommerce"),(0,k.__)("Sizes","woocommerce")]})}};function Mm(){return m({name:Pm,metadata:Bm,settings:Vm})}const Nm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-variations-options-field","title":"Product variations options","category":"woocommerce","description":"The product variations options.","keywords":["products","variations"],"textdomain":"default","attributes":{"description":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType","isInSelectedTab"],"editorStyle":"file:./editor.css"}');function Tm(e){const t=(0,c.useInstanceId)(Tm,"clip-path");return(0,n.createElement)("svg",{...e,viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:!1},(0,n.createElement)("g",{clipPath:`url(#${t})`},(0,n.createElement)("path",{d:"M18.7261 9.37008H26.8168V5.47626H28.4106C29.4938 5.47626 29.9499 4.92889 29.9499 3.91198C29.9499 2.89508 29.4938 2.34771 28.4106 2.34771C27.8689 2.34771 25.6325 2.32955 25.6325 2.32955V0L28.9263 0.0181591C31.2664 0.0181591 32.6244 1.59022 32.6244 3.91198C32.6244 6.23375 31.339 7.72539 29.1206 7.811V9.37008H37.2761C37.2761 9.37008 46.6289 13.7438 46.6289 14.0136H9.31112C9.31112 13.7438 18.7287 9.37008 18.7287 9.37008H18.7261Z",fill:"#F0F0F0"}),(0,n.createElement)("path",{d:"M0 21.0152C0 21.0152 9.19987 12.1613 10.6356 11.0484C11.8717 10.0912 13.3826 9.34668 16.3213 9.34668H18.7263C19.0943 14.2315 23.023 18.076 28.0013 18.076C32.9796 18.076 36.9083 14.2315 37.2763 9.34668H39.6812C42.62 9.34668 44.1309 10.0886 45.367 11.0484C46.8001 12.1613 56 21.0152 56 21.0152L52.8202 30.3541H44.3822L44.39 56.0025H11.6074L11.6152 30.3541H3.17719L-0.00259399 21.0152H0Z",fill:"currentColor"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:t},(0,n.createElement)("rect",{width:"56",height:"56",fill:"white",transform:"matrix(-1 0 0 1 56 0)"}))))}const{name:Lm,...Fm}=Nm,Rm={example:{},edit:function({attributes:e,context:{postType:t,isInSelectedTab:o}}){const r=(0,s.useWooBlockProps)(e),{generateProductVariations:a}=jd(),{updateUserPreferences:c,local_attributes_notice_dismissed_ids:i=[]}=(0,M.useUserPreferences)(),[l,d]=(0,u.useEntityProp)("postType","product","attributes"),[m,p]=(0,u.useEntityProp)("postType","product","default_attributes"),_=(0,u.useEntityId)("postType",t),{attributes:w,fetchAttributes:g,handleChange:f}=cc({allAttributes:l,isVariationAttributes:!0,productId:_,onChange(e,t){d(e),p(t),a(e,t)}});(0,n.useEffect)((()=>{o&&g()}),[o,l]);const E=w.filter((e=>0===e.id)).map((e=>e.name));let b="";return E.length>0&&!(null==i?void 0:i.includes(_))&&(b=(0,n.createInterpolateElement)((0,k.__)("Buyers can’t search or filter by <attributeNames /> to find the variations. Consider adding them again as <globalAttributeLink>global attributes</globalAttributeLink> to make them easier to discover.","woocommerce"),{attributeNames:(0,n.createElement)("span",null,2===E.length?E.join((0,k.__)(" and ","woocommerce")):E.join(", ")),globalAttributeLink:(0,n.createElement)(h.Link,{href:(0,ir.getAdminLink)("edit.php?post_type=product&page=product_attributes"),type:"external",target:"_blank"})})),(0,n.createElement)("div",{...r},(0,n.createElement)(rc,{value:(0,n.useMemo)((function(){return w.map((e=>({...e,isDefault:m.some((t=>t.id===e.id||t.name===e.name))})))}),[w,m]),onAdd:()=>{(0,P.recordEvent)("product_options_modal_add_button_click")},onChange:f,createNewAttributesAsGlobal:!0,useRemoveConfirmationModal:!0,onNoticeDismiss:()=>c({local_attributes_notice_dismissed_ids:[...i,_]}),onAddAnother:()=>{(0,P.recordEvent)("product_add_options_modal_add_another_option_button_click")},onNewModalCancel:()=>{(0,P.recordEvent)("product_options_modal_cancel_button_click")},onNewModalOpen:()=>{(0,P.recordEvent)("product_options_add_option")},onRemoveItem:()=>{(0,P.recordEvent)("product_add_options_modal_remove_option_button_click")},onRemove:()=>(0,P.recordEvent)("product_remove_option_confirmation_confirm_click"),onRemoveCancel:()=>(0,P.recordEvent)("product_remove_option_confirmation_cancel_click"),renderCustomEmptyState:function({addAttribute:e}){return(0,n.createElement)("div",{className:"wp-block-woocommerce-product-variations-options-field__empty-state"},(0,n.createElement)("div",{className:"wp-block-woocommerce-product-variations-options-field__empty-state-image"},(0,n.createElement)(Tm,{className:"wp-block-woocommerce-product-variations-options-field__empty-state-image-product"}),(0,n.createElement)(Tm,{className:"wp-block-woocommerce-product-variations-options-field__empty-state-image-product"}),(0,n.createElement)(Tm,{className:"wp-block-woocommerce-product-variations-options-field__empty-state-image-product"})),(0,n.createElement)("p",{className:"wp-block-woocommerce-product-variations-options-field__empty-state-description"},(0,k.__)("Sell your product in multiple variations like size or color.","woocommerce")),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-variations-options-field__empty-state-actions"},(0,n.createElement)(v.Button,{variant:"primary",onClick:()=>e()},(0,k.__)("Add options","woocommerce"))))},disabledAttributeIds:l.filter((e=>!e.variation)).map((e=>e.id)),termsAutoSelection:"all",uiStrings:{notice:b,globalAttributeHelperMessage:"",customAttributeHelperMessage:"",newAttributeModalNotice:"",newAttributeModalTitle:(0,k.__)("Add variation options","woocommerce"),newAttributeModalDescription:(0,k.__)("Select from existing attributes or create new ones to add new variations for your product. You can change the order later.","woocommerce"),attributeRemoveLabel:(0,k.__)("Remove variation option","woocommerce"),attributeRemoveConfirmationModalMessage:(0,k.__)("If you continue, some variations of this product will be deleted and customers will no longer be able to purchase them.","woocommerce")}}))}};function Dm(){return m({name:Lm,metadata:Fm,settings:Rm})}const Hm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-single-variation-notice","title":"Notice","category":"woocommerce","description":"Notice description","keywords":["products","notice"],"textdomain":"default","attributes":{"title":{"type":"string"},"content":{"type":"string"},"isDismissible":{"type":"boolean"},"type":{"type":"string"}},"supports":{"align":false,"html":true,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');const{name:Im,...zm}=Hm,jm={example:{},edit:function({attributes:e}){const t=(0,s.useWooBlockProps)(e),{content:o,isDismissible:r,title:a,type:c="info"}=e,[l]=(0,u.useEntityProp)("postType","product_variation","parent_id"),{dismissedNotices:d,dismissNotice:m,isResolving:p}=function(){const{updateOptions:e}=(0,i.useDispatch)(M.OPTIONS_STORE_NAME),{dismissedNotices:t,isResolving:o}=(0,i.useSelect)((e=>{const{getOption:t,hasFinishedResolution:o}=e(M.OPTIONS_STORE_NAME);return{dismissedNotices:t(S.dE)||[],isResolving:!o("getOption",[S.dE])}}),[]);return{dismissedNotices:t,dismissNotice:async t=>{const{dismissedNoticesOption:o}=await(async()=>{const{getOption:e}=(0,i.resolveSelect)(M.OPTIONS_STORE_NAME);return{dismissedNoticesOption:await e(S.dE)||[]}})();e({[S.dE]:[...o,t]})},isResolving:o}}(),{parentName:_,isParentResolving:v}=(0,i.useSelect)((e=>{const{getEditedEntityRecord:t,hasFinishedResolution:o}=e("core"),{name:r}=t("postType","product",l);return{parentName:r||"",isParentResolving:!o("getEditedEntityRecord",["postType","product",l])}}));return d.includes(l)||p||v||""===_?null:(0,n.createElement)("div",{...t},(0,n.createElement)(Fa,{title:a,type:c,isDismissible:r,handleDismiss:()=>{(0,P.recordEvent)("product_single_variation_notice_dismissed"),m(l)}},(0,n.createInterpolateElement)(o,{strong:(0,n.createElement)("strong",null),noticeLink:(0,n.createElement)(h.Link,{href:(0,Q.getNewPath)({tab:"variations"},`/product/${l}`),onClick:()=>{(0,P.recordEvent)("product_single_variation_notice_click")}}),parentProductName:(0,n.createElement)("span",null,_)})))}};function Om(){return m({name:Im,metadata:zm,settings:jm})}const Gm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-has-variations-notice","title":"Notice","category":"woocommerce","description":"Notice description","keywords":["products","notice"],"textdomain":"default","attributes":{"title":{"type":"string"},"content":{"type":"string"},"buttonText":{"type":"string"},"type":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),Zm=e=>!(!Array.isArray(e)||!e.length)&&e.some((({variation:e})=>e)),{name:$m,...Um}=Gm,qm={example:{},edit:function({attributes:e}){const t=(0,s.useWooBlockProps)(e),{buttonText:o,content:r,title:a,type:c="info"}=e,[i]=(0,u.useEntityProp)("postType","product","attributes"),[l]=(0,u.useEntityProp)("postType","product","type"),d=Zm(i)&&"variable"===l;return(0,n.createElement)("div",{...t},d&&(0,n.createElement)(Fa,{content:r,title:a,type:c},(0,n.createElement)(v.Button,{isSecondary:!0,onClick:()=>(0,Q.navigateTo)({url:(0,Q.getNewPath)({tab:"variations"})})},o)))}};function Wm(){return m({name:$m,metadata:Um,settings:qm})}const Jm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-taxonomy-field","title":"Taxonomy","category":"widgets","description":"A block that displays a taxonomy field, allowing searching, selection, and creation of new items","keywords":["taxonomy"],"textdomain":"default","attributes":{"slug":{"type":"string","__experimentalRole":"content"},"property":{"type":"string","__experimentalRole":"content"},"label":{"type":"string","__experimentalRole":"content"},"createTitle":{"type":"string","__experimentalRole":"content"},"dialogNameHelpText":{"type":"string","__experimentalRole":"content"},"parentTaxonomyText":{"type":"string","__experimentalRole":"content"},"placeholder":{"type":"string","__experimentalRole":"content"},"help":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType","isInSelectedTab"]}');async function Ym(e,t){const o=[],r={};return e.forEach((e=>{r[e.id]=e})),e.forEach((e=>{e.parent>0&&!r[e.parent]&&o.push(e.parent)})),o.length>0?(0,i.resolveSelect)("core").getEntityRecords("taxonomy",t,{include:o}).then((o=>Ym([...o,...e],t))):e}const Xm=(e,t={fetchParents:!0})=>{const[o,r]=(0,n.useState)(!1);return{searchEntity:async function(o){r(!0);let n=[];try{n=await(0,i.resolveSelect)("core").getEntityRecords("taxonomy",e,{per_page:30,search:(0,h.escapeHTML)(o)}),(null==t?void 0:t.fetchParents)&&(n=await Ym(n,e))}finally{r(!1)}return n},isResolving:o}},Km=({onCancel:e,onCreate:t,initialName:o,slug:r,hierarchical:a,dialogNameHelpText:l,parentTaxonomyText:s,title:u})=>{const[d,m]=(0,n.useState)(""),[p,_]=(0,n.useState)([]),{searchEntity:w,isResolving:g}=Xm(r),f=(0,c.useDebounce)((0,n.useCallback)((e=>w(e||"").then(_)),[]),150);(0,n.useEffect)((()=>{f("")}),[]);const{saveEntityRecord:E}=(0,i.useDispatch)("core"),[b,C]=(0,n.useState)(!1),[x,y]=(0,n.useState)(null),[A,S]=(0,n.useState)(o||""),[P,B]=(0,n.useState)(null),V=(0,c.useInstanceId)(v.BaseControl,"taxonomy_name"),M=(0,c.useInstanceId)(h.__experimentalSelectTreeControl,"parent-taxonomy-select");return(0,n.createElement)(v.Modal,{title:u,onRequestClose:e,className:"woocommerce-create-new-taxonomy-modal"},(0,n.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__wrapper"},(0,n.createElement)(v.BaseControl,{id:V,label:(0,k.__)("Name","woocommerce"),help:x||l,className:ce()({"has-error":x})},(0,n.createElement)(v.TextControl,{id:V,value:A,onChange:S})),a&&(0,n.createElement)(h.__experimentalSelectTreeControl,{isLoading:g,label:(0,n.createInterpolateElement)(`${s||(0,k.__)("Parent","woocommerce")} <optional/>`,{optional:(0,n.createElement)("span",{className:"woocommerce-create-new-taxonomy-modal__optional"},(0,k.__)("(optional)","woocommerce"))}),id:M,items:p.map((e=>({label:e.name,value:String(e.id),parent:e.parent>0?String(e.parent):void 0}))),shouldNotRecursivelySelect:!0,selected:P?{value:String(P.id),label:P.name}:void 0,onSelect:e=>e&&B({id:+e.value,name:e.label,parent:e.parent?+e.parent:0}),onRemove:()=>B(null),onInputChange:e=>{f(e),m(e||"")},createValue:d}),(0,n.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__buttons"},(0,n.createElement)(v.Button,{variant:"tertiary",onClick:e,disabled:b},(0,k.__)("Cancel","woocommerce")),(0,n.createElement)(v.Button,{variant:"primary",disabled:0===A.length||b,isBusy:b,onClick:async()=>{y(null),C(!0);try{const e=await E("taxonomy",r,{name:A,parent:P?P.id:null},{throwOnError:!0});C(!1),t(e)}catch(e){if(C(!1),!e.message)throw y((0,k.__)("Failed to create taxonomy","woocommerce")),e;y(e.message)}}},(0,k.__)("Create","woocommerce")))))},{name:Qm}=Jm,ep={example:{},edit:function({attributes:e,context:{postType:t,isInSelectedTab:o}}){const r=(0,s.useWooBlockProps)(e),{hierarchical:a}=(0,i.useSelect)((t=>t("core").getTaxonomy(e.slug)||{hierarchical:!1})),{label:l,help:u,slug:d,property:m,createTitle:p,dialogNameHelpText:_,parentTaxonomyText:v,disabled:w,placeholder:g}=e,[f,E]=(0,n.useState)(""),[b,C]=(0,n.useState)([]),{searchEntity:x,isResolving:y}=Xm(d,{fetchParents:a}),k=(0,c.useDebounce)((0,n.useCallback)((e=>{E(e),x(e||"").then(C)}),[a]),150);(0,n.useEffect)((()=>{o&&k("")}),[o]);const[A,S]=Gt(m,{postType:t,fallbackValue:[]}),P=(A||[]).map((e=>({value:String(e.id),label:e.name}))),[B,V]=(0,n.useState)(!1),M=b.map((e=>({parent:a&&e.parent&&e.parent>0?String(e.parent):void 0,label:e.name,value:String(e.id)})));return(0,n.createElement)("div",{...r},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.__experimentalSelectTreeControl,{id:(0,c.useInstanceId)(h.__experimentalSelectTreeControl,"woocommerce-taxonomy-select"),label:(0,n.createElement)(wt,{label:l,tooltip:u}),isLoading:y,disabled:w,multiple:!0,createValue:f,onInputChange:k,placeholder:g,shouldNotRecursivelySelect:!0,shouldShowCreateButton:e=>!e||-1===M.findIndex((t=>t.label.toLowerCase()===e.toLowerCase())),onCreateNew:()=>V(!0),items:M,selected:P,onSelect:e=>{Array.isArray(e)?S([...e.map((e=>({id:+e.value,name:e.label,parent:+(e.parent||0)}))),...A||[]]):S([{id:+e.value,name:e.label,parent:+(e.parent||0)},...A||[]])},onRemove:e=>{Array.isArray(e)?S((A||[]).filter((t=>!e.find((e=>e.value===String(t.id)))))):S((A||[]).filter((t=>String(t.id)!==e.value)))},onClear:function(){S([])},isClearingAllowed:(A||[]).length>0}),B&&(0,n.createElement)(Km,{slug:d,hierarchical:a,title:p,dialogNameHelpText:_,parentTaxonomyText:v,onCancel:()=>V(!1),onCreate:e=>{V(!1),E(""),S([{id:e.id,name:e.name,parent:e.parent},...A||[]])},initialName:f})))}},tp=()=>m({name:Qm,metadata:Jm,settings:ep}),op=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-text-field","title":"Product text field","category":"woocommerce","description":"A text field for use in the product editor.","keywords":["products","text"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"property":{"type":"string"},"placeholder":{"type":"string"},"help":{"type":"string"},"tooltip":{"type":"string"},"suffix":{"type":"object"},"type":{"type":"object"},"required":{"type":"object"},"pattern":{"type":"object"},"minLength":{"type":"object"},"maxLength":{"type":"object"},"min":{"type":"object"},"max":{"type":"object"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType"]}'),{name:rp,...np}=op,ap={example:{},edit:function({attributes:e,context:{postType:t}}){var o;const r=(0,s.useWooBlockProps)(e),{property:a,label:i,placeholder:l,required:u,pattern:d,minLength:m,maxLength:p,min:_,max:v,help:w,tooltip:g,disabled:f,type:E,suffix:b}=e,[C,x]=Gt(a,{postType:t,fallbackValue:""}),{hasEdit:y}=Ve(),A=(0,n.useRef)(null),{error:S,validate:P,ref:B}=lr(a,(async function(){var e,t,o,r,n,a;if(!A.current)return;const c=A.current;let i="";return c.validity.typeMismatch&&(i=null!==(e=null==E?void 0:E.message)&&void 0!==e?e:(0,k.__)("Invalid value for the field.","woocommerce")),c.validity.valueMissing&&(i="string"==typeof u?u:(0,k.__)("This field is required.","woocommerce")),c.validity.patternMismatch&&(i=null!==(t=null==d?void 0:d.message)&&void 0!==t?t:(0,k.__)("Invalid value for the field.","woocommerce")),c.validity.tooShort&&(i=(0,k.sprintf)(null!==(o=null==m?void 0:m.message)&&void 0!==o?o:(0,k.__)("The minimum length of the field is %d","woocommerce"),null==m?void 0:m.value)),c.validity.tooLong&&(i=(0,k.sprintf)(null!==(r=null==p?void 0:p.message)&&void 0!==r?r:(0,k.__)("The maximum length of the field is %d","woocommerce"),null==p?void 0:p.value)),c.validity.rangeUnderflow&&(i=(0,k.sprintf)(null!==(n=null==_?void 0:_.message)&&void 0!==n?n:(0,k.__)("The minimum value of the field is %d","woocommerce"),null==_?void 0:_.value)),c.validity.rangeOverflow&&(i=(0,k.sprintf)(null!==(a=null==v?void 0:v.message)&&void 0!==a?a:(0,k.__)("The maximum value of the field is %d","woocommerce"),null==v?void 0:v.value)),c.setCustomValidity(i),c.validity.valid?void 0:{message:i}}),[E,u,d,m,p,_,v,C]);return(0,n.createElement)("div",{...r},(0,n.createElement)(gt,{ref:(0,c.useMergeRefs)([A,B]),type:null!==(o=null==E?void 0:E.value)&&void 0!==o?o:"text",value:C,disabled:f,label:i,onChange:x,onBlur:()=>{y(a)&&P()},error:S,help:w,placeholder:l,tooltip:g,suffix:function(){if(!b||!C||!A.current)return;const e="url"===A.current.type&&!A.current.validity.typeMismatch;return!0===b&&e?(0,n.createElement)(h.Link,{type:"external",href:C,target:"_blank",rel:"noreferrer",className:"wp-block-woocommerce-product-text-field__suffix-link"},(0,n.createElement)(oe.Z,{icon:Pi.Z,size:20})):"string"==typeof b?b:void 0}(),required:Boolean(u),pattern:null==d?void 0:d.value,minLength:null==m?void 0:m.value,maxLength:null==p?void 0:p.value,min:null==_?void 0:_.value,max:null==v?void 0:v.value}))}},cp=()=>m({name:rp,metadata:np,settings:ap}),ip=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-number-field","title":"Product number control","category":"woocommerce","description":"A reusable number field for the product editor.","keywords":["products","number","input"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"property":{"type":"string"},"suffix":{"type":"string"},"help":{"type":"string"},"placeholder":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"tooltip":{"type":"string"},"required":{"type":"boolean","default":false},"step":{"type":"number","default":1}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:lp,...sp}=ip,up={example:{},edit:function({attributes:e,context:{postType:t}}){const o=(0,s.useWooBlockProps)(e),{label:r,property:a,suffix:c,placeholder:i,help:l,min:u,max:d,required:m,tooltip:p,disabled:h,step:_}=e,[v,w]=Gt(a,{postType:t,fallbackValue:""}),{hasEdit:g}=Ve(),{error:f,validate:E}=lr(a,(async function(){return"number"==typeof u&&v&&parseFloat(v)<u?{message:(0,k.sprintf)((0,k.__)("Value must be greater than or equal to %d","woocommerce"),u)}:"number"==typeof d&&v&&parseFloat(v)>d?{message:(0,k.sprintf)((0,k.__)("Value must be less than or equal to %d","woocommerce"),u)}:m&&!v?{message:(0,k.__)("This field is required.","woocommerce")}:void 0}),[v]);return(0,n.createElement)("div",{...o},(0,n.createElement)(To,{label:r,onChange:w,value:v||"",help:l,suffix:c,placeholder:i,error:f,onBlur:()=>{g(a)&&E()},required:m,tooltip:p,disabled:h,step:_,min:u,max:d}))}},dp=()=>m({name:lp,metadata:sp,settings:up}),mp=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-linked-list-field","title":"Linked product list","category":"widgets","description":"The linked product list.","keywords":["products","linked","list"],"textdomain":"default","attributes":{"property":{"type":"string","__experimentalRole":"content"},"emptyState":{"type":"object","default":{}}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","usesContext":["postType","isInSelectedTab"]}');function pp(){return(0,n.createElement)("div",{"aria-hidden":"true","aria-label":(0,k.__)("Loading linked products","woocommerce"),className:"woocommerce-product-list"},(0,n.createElement)("div",{role:"table"},(0,n.createElement)("div",{role:"rowgroup"},(0,n.createElement)("div",{role:"rowheader"},(0,n.createElement)("div",{role:"columnheader"},(0,n.createElement)("div",{className:"skeleton"})),(0,n.createElement)("div",{role:"columnheader"}))),(0,n.createElement)("div",{role:"rowgroup"},Array.from({length:3}).map(((e,t)=>(0,n.createElement)("div",{role:"row",key:t},(0,n.createElement)("div",{role:"cell"},(0,n.createElement)("div",{className:"woocommerce-product-list__product-image skeleton"}),(0,n.createElement)("div",{className:"woocommerce-product-list__product-info"},(0,n.createElement)("div",{className:"woocommerce-product-list__product-name skeleton"}),(0,n.createElement)("div",{className:"woocommerce-product-list__product-price skeleton"}))),(0,n.createElement)("div",{role:"cell",className:"woocommerce-product-list__actions"},(0,n.createElement)("div",{className:"skeleton"}),(0,n.createElement)("div",{className:"skeleton"}))))))))}function hp({product:e,className:t,...o}){const{formatAmount:r}=(0,n.useContext)(N.CurrencyContext);return(0,n.createElement)(n.Fragment,null,(Boolean(e.regular_price)||Boolean(e.price))&&(0,n.createElement)("span",{...o,className:ce()("woocommerce-product-formatted-price",t)},e.on_sale&&(0,n.createElement)("span",null,e.sale_price?r(e.sale_price):r(e.price)),e.regular_price&&(0,n.createElement)("span",{className:ce()({"woocommerce-product-formatted-price--on-sale":e.on_sale})},r(e.regular_price))))}function _p(e){return e.images.length>0?{backgroundImage:`url(${e.images[0].src})`}:void 0}function vp({product:e,className:t,style:o,...r}){return(0,n.createElement)("div",{"aria-hidden":"true",...r,className:ce()("woocommerce-product-image",t),style:{...o,..._p(e)}})}function wp({products:e,onRemove:t,onEdit:o,onPreview:r,className:a,...c}){function i(e){return function(){o&&o(e)}}function l(e){return function(){r&&r(e)}}function s(e){return function(){t&&t(e)}}return(0,n.createElement)("div",{...c,className:ce()("woocommerce-product-list",a)},(0,n.createElement)("div",{role:"table"},(0,n.createElement)("div",{role:"rowgroup"},(0,n.createElement)("div",{role:"rowheader"},(0,n.createElement)("div",{role:"columnheader"},(0,k.__)("Product","woocommerce")),(0,n.createElement)("div",{role:"columnheader","aria-label":(0,k.__)("Actions","woocommerce")}))),(0,n.createElement)("div",{role:"rowgroup"},e.map((e=>(0,n.createElement)("div",{role:"row",key:e.id},(0,n.createElement)("div",{role:"cell"},(0,n.createElement)(vp,{product:e,className:"woocommerce-product-list__product-image"}),(0,n.createElement)("div",{className:"woocommerce-product-list__product-info"},(0,n.createElement)("a",{className:"woocommerce-product-list__product-name",href:(0,Q.getNewPath)({},`/product/${e.id}`,{}),target:"_blank",rel:"noreferrer",onClick:i(e)},e.name),(0,n.createElement)(hp,{product:e,className:"woocommerce-product-list__product-price"}))),(0,n.createElement)("div",{role:"cell",className:"woocommerce-product-list__actions"},(0,n.createElement)(v.Button,{icon:Pi.Z,size:24,"aria-label":(0,k.__)("See product page","woocommerce"),href:e.permalink,target:"_blank",rel:"noreferrer",onClick:l(e)}),(0,n.createElement)(v.Button,{icon:ze.Z,size:24,"aria-label":(0,k.__)("Remove product","woocommerce"),onClick:s(e)}))))))))}function gp(e){return{label:e.name,value:`attr-${e.id}`,product:e}}function fp(e){const{item:t}=e;return(0,n.createElement)("div",{className:"woocommerce-product-select__menu-item"},t.product&&(0,n.createElement)(vp,{product:t.product,className:"woocommerce-product-select__menu-item-image"}),(0,n.createElement)("div",{className:"woocommerce-product-select__menu-item-content"},(0,n.createElement)("div",{className:"woocommerce-product-select__menu-item-title"},t.label),t.product&&(0,n.createElement)(hp,{product:t.product,className:"woocommerce-product-select__menu-item-description"})))}function Ep({className:e,label:t,help:o,placeholder:r,items:a=[],isLoading:c=!1,filter:i,onSelect:l}){const[s,u]=(0,n.useState)(""),d=null==a?void 0:a.map(gp),m=(0,n.useRef)(null),[p,h]=(0,n.useState)("");return(0,n.useEffect)((()=>{if(!(null==m?void 0:m.current))return;const e=m.current.getAttribute("id");m.current&&"string"==typeof e&&h(e)}),[]),r&&!o&&(o=r),o||(o=(0,n.createElement)("div",{className:"woocommerce-product-combobox-help"},(0,k.__)("Search for products","woocommerce")),c&&(o=(0,n.createElement)("div",{className:"woocommerce-product-combobox-help"},(0,n.createElement)(v.Spinner,null),(0,k.__)("Loading…","woocommerce")))),(0,n.createElement)("div",{className:ce()("woocommerce-product-select",{"no-items":!d.length},e)},(0,n.createElement)(v.BaseControl,{label:t,help:o,id:p},(0,n.createElement)(xt,{className:"woocommerce-product-combobox",allowReset:!1,options:d,value:s,ref:m,onChange:e=>{if(!e)return;const t=null==a?void 0:a.find((t=>t.id===Number(e.replace("attr-",""))));t&&l&&l(t)},onFilterValueChange:e=>{u(e),i(e)},__experimentalRenderItem:fp})))}function bp({colorOne:e="#E0E0E0",colorTwo:t="#F0F0F0",size:o="88",style:r={}}){return(0,n.createElement)(v.SVG,{width:o,height:o,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},(0,n.createElement)(v.Path,{d:"M59.5299 29.3511H6.48494C4.38544 44.6382 0.74386 74.8826 0.105058 79.5685C-0.505262 84.0386 1.48031 87.9998 7.72592 87.9998H58.293C64.5386 87.9998 66.5241 84.0386 65.9138 79.5685C65.275 74.8826 61.6294 44.6382 59.534 29.3511H59.5299Z",fill:e}),(0,n.createElement)(v.Path,{d:"M45.1549 17.5C42.7177 15.6069 39.3976 14.6787 35.0155 14.6665C34.987 14.6665 31.024 14.6665 30.9996 14.6665C26.6175 14.6787 23.3014 15.6069 20.8601 17.5C17.9916 19.7269 16.5391 23.106 16.5391 27.5476V40.2454H23.8629V28.5898C23.8629 25.569 25.2422 22.0393 30.9833 21.9986C31.0159 21.9986 35.0033 21.9986 35.0358 21.9986C40.7769 22.0393 42.1562 25.569 42.1562 28.5898V40.2454H49.4801V27.5476C49.4801 23.106 48.0275 19.7269 45.159 17.5H45.1549Z",fill:t}),(0,n.createElement)(v.Path,{d:"M47.3921 47.6711L44.0312 87.9998H87.9987L84.2676 47.6711H47.3921Z",fill:t}),(0,n.createElement)(v.Path,{d:"M66.0147 65.9912C60.2736 65.9912 56.8477 62.4738 56.8477 56.5828V51.3188H60.5096V56.5828C60.5096 62.3272 64.6516 62.3272 66.0147 62.3272C67.3777 62.3272 71.5197 62.3272 71.5197 56.5828V51.3188H75.1817V56.5828C75.1817 62.4738 71.7557 65.9912 66.0147 65.9912Z",fill:e}))}function Cp({colorOne:e="#E0E0E0",colorTwo:t="#F0F0F0",size:o="88",style:r={}}){return(0,n.createElement)(v.SVG,{width:o,height:o,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},(0,n.createElement)(v.G,{clipPath:"url(#clip0_13540_198076)"},(0,n.createElement)(v.Path,{d:"M77.2539 14.7807L39.9517 14.6667C35.4172 14.6667 32.8506 17.199 32.8506 21.718V36.7241L10.818 36.6997C6.29575 36.6997 3.76167 39.2645 3.76167 43.7957L3.66797 81.0294L84.3632 81.0742V21.8319C84.3632 17.313 81.7965 14.7807 77.262 14.7807H77.2539Z",fill:e}),(0,n.createElement)(v.Path,{d:"M47.5672 47.6794H40.2461V54.9953H47.5672V47.6794Z",fill:t}),(0,n.createElement)(v.Path,{d:"M62.3836 47.6794H55.0625V54.9953H62.3836V47.6794Z",fill:t}),(0,n.createElement)(v.Path,{d:"M77.0242 47.6794H69.7031V54.9953H77.0242V47.6794Z",fill:t}),(0,n.createElement)(v.Path,{d:"M47.5672 62.3232H40.2461V69.6391H47.5672V62.3232Z",fill:t}),(0,n.createElement)(v.Path,{d:"M62.3836 62.3232H55.0625V69.6391H62.3836V62.3232Z",fill:t}),(0,n.createElement)(v.Path,{d:"M76.9617 62.3232H69.6406V69.6391H76.9617V62.3232Z",fill:t}),(0,n.createElement)(v.Path,{d:"M77.0221 36.6795L40.3555 36.7243V22.0682L77.0221 22.0234V36.6795Z",fill:t}),(0,n.createElement)(v.Path,{d:"M88 80.8988V80.7034L0 80.6667V87.9581L88 87.9948V80.8988Z",fill:t}),(0,n.createElement)(v.Path,{d:"M29.4451 14.6667C27.844 14.6667 27.3225 16.6901 25.7621 16.6901C24.2018 16.6901 23.6844 14.6667 22.0832 14.6667C20.4821 14.6667 19.9607 16.6901 18.4003 16.6901C16.8399 16.6901 16.3225 14.6667 14.7173 14.6667C13.1121 14.6667 12.5947 16.6901 11.0344 16.6901C9.47399 16.6901 8.95658 14.6667 7.35547 14.6667V19.5643V62.3275H29.4451V14.6667Z",fill:t})))}function xp(e,t){switch(t.type){case"SELECT_SEARCHED_PRODUCT":case"REMOVE_LINKED_PRODUCT":return t.payload.selectedProduct?{...e,...t.payload}:e;default:return{...e,...t.payload}}}function yp({image:e,tip:t}){switch(e){case"CashRegister":return(0,n.createElement)(Cp,null);case"ShoppingBags":return(0,n.createElement)(bp,null);default:return/^https?:\/\//.test(e)?(0,n.createElement)("img",{src:e,alt:t,height:88,width:88}):null}}const{name:kp,...Ap}=mp,Sp={example:{},edit:function({attributes:e,context:{postType:t,isInSelectedTab:o}}){const{property:r,emptyState:a}=e,l=(0,n.useRef)(!1),[,d]=(0,n.useState)(""),[m,p]=(0,n.useState)([]),[h,_]=(0,n.useState)(!1),w=(0,s.useWooBlockProps)(e),[g,f]=(0,n.useReducer)(xp,{linkedProducts:[]}),E=(0,u.useEntityId)("postType",t),b=function(e){return async function(t){return 0===t.length?(e({type:"SET_LINKED_PRODUCTS",payload:{linkedProducts:[]}}),Promise.resolve([])):(e({type:"LOADING_LINKED_PRODUCTS",payload:{isLoading:!0}}),(0,i.resolveSelect)(M.PRODUCTS_STORE_NAME).getProducts({include:t}).then((t=>(e({type:"SET_LINKED_PRODUCTS",payload:{linkedProducts:t}}),t))).finally((()=>{e({type:"LOADING_LINKED_PRODUCTS",payload:{isLoading:!1}})})))}}(f),C=function(e){return function(t,o){Array.isArray(t)||(t=[t]);const r=[...o,...t];return e({type:"SELECT_SEARCHED_PRODUCT",payload:{selectedProduct:t,linkedProducts:r}}),r.map((e=>e.id))}}(f),x=function(e){return function(t,o){const r=o.reduce(((e,o)=>o.id===t.id?e:[...e,o]),[]);return e({type:"REMOVE_LINKED_PRODUCT",payload:{selectedProduct:t,linkedProducts:r}}),r.map((e=>e.id))}}(f),[y,A]=Gt(r,{postType:t});function B(e="",t=[]){return d(e),_(!0),async function(e="",t=[]){return(0,i.resolveSelect)(M.PRODUCTS_STORE_NAME).getProducts({search:e,orderby:"title",order:"asc",per_page:5,exclude:t})}(e,t).then((e=>{p(e)})).finally((()=>{_(!1)}))}(0,n.useEffect)((()=>{!g.selectedProduct&&y&&y.length>0&&b(y)}),[y,g.selectedProduct]);const V=(0,c.useDebounce)((function(e=""){B(e,[...y||[],E])}),300);(0,n.useEffect)((()=>{o&&!l.current&&(l.current=!0,B("",[...y||[],E]))}),[o,l,y,E]);const N=(0,n.useCallback)((e=>{if((y||[]).includes(e.id))return;const t=C(e,g.linkedProducts);A(t),B("",[...t||[],E]),(0,P.recordEvent)("linked_products_product_add",{source:S.RG,field:r,product_id:E,linked_product_id:e.id})}),[y,g.linkedProducts]),[T,L]=(0,n.useState)(!1);return(0,n.createElement)("div",{...w},(0,n.createElement)(st,null,(0,n.createElement)(v.Button,{variant:"tertiary",icon:Ys,onClick:async function(){(0,P.recordEvent)("linked_products_choose_related_click",{source:S.RG,field:r}),f({type:"LOADING_LINKED_PRODUCTS",payload:{isLoading:!0}}),L(!0);const e=await async function({postId:e,postType:t="product",forceRequest:o=!1,exclude:r=[]}){const{getEditedEntityRecord:n}=(0,i.select)("core"),a=n("postType",t,e),c={categories:(null==a?void 0:a.categories)?a.categories.map((e=>e.id)):[],tags:(null==a?void 0:a.tags)?a.tags.map((e=>e.id)):[],exclude:(null==r?void 0:r.length)?r:[e],limit:4};return o&&await(0,i.dispatch)(M.PRODUCTS_STORE_NAME).invalidateResolution("getSuggestedProducts",[c]),await(0,i.resolveSelect)(M.PRODUCTS_STORE_NAME).getSuggestedProducts(c)}({postId:E,forceRequest:!0});if(f({type:"LOADING_LINKED_PRODUCTS",payload:{isLoading:!1}}),L(!1),!e)return;const t=C(e,[]);A(t)},isBusy:T,disabled:T},(0,k.__)("Choose products for me","woocommerce"))),(0,n.createElement)("div",{className:"wp-block-woocommerce-product-linked-list-field__form-group-content"},(0,n.createElement)(Ep,{items:m,filter:V,onSelect:N,isLoading:h,selected:null})),g.isLoading&&(0,n.createElement)(pp,null),!g.isLoading&&0===g.linkedProducts.length&&(0,n.createElement)(Vd,{tip:a.tip,dismissPreferenceId:`woocommerce-product-${r}-advice-card-dismissed`,isDismissible:a.isDismissible,onDismiss:function(){(0,P.recordEvent)("linked_products_placeholder_dismiss",{source:S.RG,field:r})}},(0,n.createElement)(yp,{...a})),!g.isLoading&&g.linkedProducts.length>0&&(0,n.createElement)(wp,{products:g.linkedProducts,onRemove:function(e){const t=x(e,g.linkedProducts);A(t),B("",[...t||[],E]),(0,P.recordEvent)("linked_products_product_remove",{source:S.RG,field:r,product_id:E,linked_product_id:e.id})},onEdit:function(e){(0,P.recordEvent)("linked_products_product_select",{source:S.RG,field:r,product_id:E,linked_product_id:e.id})},onPreview:function(e){(0,P.recordEvent)("linked_products_product_preview_click",{source:S.RG,field:r,product_id:E,linked_product_id:e.id})}}))}};function Pp(){return m({name:kp,metadata:Ap,settings:Sp})}const Bp=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-text-area-field","title":"Product textarea block","category":"woocommerce","description":"A text-area field for use in the product editor.","keywords":["textarea","rich-text"],"textdomain":"default","attributes":{"property":{"type":"string"},"label":{"type":"string","__experimentalRole":"content"},"placeholder":{"type":"string"},"help":{"type":"string"},"required":{"type":"string"},"tooltip":{"type":"string"},"disabled":{"type":"boolean"},"align":{"type":"string","enum":["left","center","right","justify"]},"mode":{"type":"string","enum":["plain-text","rich-text"],"default":"rich-text"},"allowedFormats":{"type":"array","default":["core/bold","core/code","core/italic","core/link","core/strikethrough","core/underline","core/text-color","core/subscript","core/superscript","core/unknown"]},"direction":{"type":"string","enum":["ltr","rtl"]}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":true}}');function Vp({direction:e,onChange:t}){return(0,k.isRTL)()?(0,n.createElement)(v.ToolbarButton,{icon:$n,title:(0,k._x)("Left to right","editor button","woocommerce"),isActive:"ltr"===e,onClick:()=>null==t?void 0:t("ltr"===e?void 0:"ltr")}):null}const Mp=[{icon:qn,title:(0,k.__)("Align text left","woocommerce"),align:"left"},{icon:Wn,title:(0,k.__)("Align text center","woocommerce"),align:"center"},{icon:Jn,title:(0,k.__)("Align text right","woocommerce"),align:"right"},{icon:Yn,title:(0,k.__)("Align text justify","woocommerce"),align:"justify"}];function Np({align:e,setAlignment:t}){return(0,n.createElement)(Se.AlignmentControl,{alignmentControls:Mp,value:e,onChange:t})}const{name:Tp,...Lp}=Bp,Fp={example:{},edit:function e({attributes:t,setAttributes:o,context:{postType:r}}){const{property:a,label:i,placeholder:l,help:u,required:d,note:m,tooltip:p,disabled:h=!1,align:_,allowedFormats:w,direction:g,mode:f="rich-text"}=t,E=(0,s.useWooBlockProps)(t,{className:"wp-block-woocommerce-product-text-area-field",style:{direction:g}}),b=(0,c.useInstanceId)(e,"wp-block-woocommerce-product-content-field__content"),C=b.toString()+"__label";if(!a)throw new Error((0,k.__)("Property attribute is required.","woocommerce"));const[x,y]=Gt(a,{postType:r}),{handleBlur:A}=Kn(),S=(0,n.useRef)(null),P=(0,n.useRef)(null),B="rich-text"===f,V="plain-text"===f;return(0,n.createElement)("div",{...E},B&&(0,n.createElement)(Se.BlockControls,{group:"block"},(0,n.createElement)(Np,{align:_,setAlignment:function(e){o({align:e})}}),(0,n.createElement)(Vp,{direction:g,onChange:function(e){o({direction:e})}})),(0,n.createElement)(v.BaseControl,{id:b.toString(),label:(0,n.createElement)(wt,{label:i||"",labelId:C,required:d,note:m,tooltip:p,onClick:B?function(){var e;null===(e=S.current)||void 0===e||e.focus()}:function(){var e;null===(e=P.current)||void 0===e||e.focus()}}),help:u},B&&(0,n.createElement)(Se.RichText,{ref:S,id:b.toString(),"aria-labelledby":C,identifier:"content",tagName:"p",value:x||"",onChange:y,"data-empty":Boolean(x),className:ce()("components-summary-control",{[`has-text-align-${_}`]:_}),dir:g,allowedFormats:w,placeholder:l,required:d,"aria-required":d,readOnly:h,onBlur:A}),V&&(0,n.createElement)(v.TextareaControl,{ref:P,"aria-labelledby":C,value:x||"",onChange:y,placeholder:l,required:d,disabled:h,onBlur:A})))},icon:ao},Rp=()=>m({name:Tp,metadata:Lp,settings:Fp}),Dp=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-select-field","title":"Product select field","category":"woocommerce","description":"A select field for use in the product editor.","keywords":["products","select"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"property":{"type":"string"},"placeholder":{"type":"string"},"help":{"type":"string"},"tooltip":{"type":"string"},"disabled":{"type":"boolean"},"multiple":{"type":"boolean","default":false},"options":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"disabled":{"type":"boolean","default":false}}},"default":[]}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["postType"]}'),{name:Hp,...Ip}=Dp,zp={example:{},edit:function({attributes:e,context:{postType:t}}){const o=(0,s.useWooBlockProps)(e),{property:r,label:a,note:c,placeholder:i,help:l,tooltip:u,disabled:d,options:m,multiple:p}=e,[h,_]=Gt(r,{postType:t,fallbackValue:""});return(0,n.createElement)("div",{...o},(0,n.createElement)(v.SelectControl,{value:h,disabled:d,label:(0,n.createElement)(wt,{label:a,note:c,tooltip:u}),onChange:_,help:function(){if(l)return(0,n.createElement)("span",{dangerouslySetInnerHTML:vt(l)})}(),placeholder:i,options:m,multiple:p}))}},jp=()=>m({name:Hp,metadata:Ip,settings:zp});function Op(){const e=(0,Qe.__experimentalGetCoreBlocks)().filter((e=>!(0,j.getBlockType)(e.name)));(0,Qe.registerCoreBlocks)(e);const t=Object.values(o).map((e=>e())),r=[...e,...t];return function(){r.forEach((e=>e&&(0,j.unregisterBlockType)(e.name)))}}function Gp({clientId:e}){const t=(0,i.useSelect)((t=>{const{getBlockAttributes:o,getBlockName:r}=t("core/block-editor"),n=o(e);if(null==n?void 0:n.icon)return n.icon;const{getBlockType:a}=t("core/blocks"),c=r(e),i=a(null!=c?c:void 0);return null==i?void 0:i.icon}),[e]);if(!t)return null;if("object"==typeof t){const{src:e,...o}=t;if(/^<(.)+>$/.test(e)){const t=(0,n.createElement)(n.RawHTML,{"aria-hidden":"true",...o},e);return(0,n.createElement)(Se.BlockIcon,{icon:t,showColors:!0})}if(/^https?:\/\/(.)+/.test(e)){const t=(0,n.createElement)("img",{src:e,alt:"","aria-hidden":"true",...o,height:24,width:24});return(0,n.createElement)(Se.BlockIcon,{icon:t,showColors:!0})}}return(0,n.createElement)(Se.BlockIcon,{icon:t,showColors:!0})}const Zp=window.wc.customerEffortScore,$p=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());function Up({productType:e}){const{hideFeedbackBar:t,shouldShowFeedbackBar:o}=(0,we.U)(),{showCesModal:r,showProductMVPFeedbackModal:a}=(0,Zp.useCustomerEffortScoreModal)(),c=()=>({product_type:e});return(0,n.createElement)(n.Fragment,null,o&&(0,n.createElement)("div",{className:"woocommerce-product-mvp-ces-footer"},(0,n.createElement)(h.Pill,null,"Beta"),(0,n.createElement)("div",{className:"woocommerce-product-mvp-ces-footer__message"},(0,n.createInterpolateElement)((0,k.__)("How is your experience with the new product form? <span><shareButton>Share feedback</shareButton> or <turnOffButton>turn it off</turnOffButton></span>","woocommerce"),{span:(0,n.createElement)("span",{className:"woocommerce-product-mvp-ces-footer__message-buttons"}),shareButton:(0,n.createElement)(v.Button,{variant:"link",onClick:()=>{(0,P.recordEvent)("product_editor_feedback_bar_share_feedback_click",{...c()}),r({action:S.EI,showDescription:!1,title:(0,k.__)("What do you think of the new product form?","woocommerce"),firstQuestion:(0,k.__)("The product editing screen is easy to use","woocommerce"),secondQuestion:(0,k.__)("Product form is easy to use","woocommerce"),onsubmitLabel:(0,k.__)("Thanks for the feedback — we'll put it to good use!","woocommerce"),shouldShowComments:()=>!1,getExtraFieldsToBeShown:(e,t,o)=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.BaseControl,{id:"feedback_additional_thoughts",className:"woocommerce-product-feedback__additional-thoughts",label:(0,n.createInterpolateElement)((0,k.__)("ADDITIONAL THOUGHTS <optional />","woocommerce"),{optional:(0,n.createElement)("span",{className:"woocommerce-product-feedback__optional-input"},(0,k.__)("(OPTIONAL)","woocommerce"))})},(0,n.createElement)(v.TextareaControl,{value:e.additional_thoughts||"",onChange:o=>t({...e,additional_thoughts:o}),help:(null==o?void 0:o.additional_thoughts)||""})),(0,n.createElement)(v.BaseControl,{id:"feedback_email",className:"woocommerce-product-feedback__email",label:(0,n.createInterpolateElement)((0,k.__)("YOUR EMAIL ADDRESS <optional />","woocommerce"),{optional:(0,n.createElement)("span",{className:"woocommerce-product-feedback__optional-input"},(0,k.__)("(OPTIONAL)","woocommerce"))})},(0,n.createElement)(v.TextControl,{value:e.email||"",onChange:o=>t({...e,email:o}),help:(null==o?void 0:o.email)||""}),(0,n.createElement)("span",null,(0,k.__)("In case you want to participate in further discussion and future user research.","woocommerce")))),validateExtraFields:({email:e="",additional_thoughts:t=""})=>{const o={};return e.length>0&&!$p(e)&&(o.email=(0,k.__)("Please enter a valid email address.","woocommerce")),(null==t?void 0:t.length)>500&&(o.additional_thoughts=(0,k.__)("Please enter no more than 500 characters.","woocommerce")),o}},{},{type:"snackbar"})}}),turnOffButton:(0,n.createElement)(v.Button,{onClick:()=>{(0,P.recordEvent)("product_editor_feedback_bar_turnoff_editor_click",{...c()}),t(),a()},variant:"link"})})),(0,n.createElement)(v.Button,{className:"woocommerce-product-mvp-ces-footer__close-button",icon:ze.Z,label:(0,k.__)("Hide this message","woocommerce"),onClick:()=>{(0,P.recordEvent)("product_editor_feedback_bar_dismiss_click",{...c()}),t()}})))}var qp=__webpack_require__(7862),Wp=__webpack_require__.n(qp);const Jp=window.wc.experimental;function Yp({recordScoreCallback:e,onCloseModal:t,onSkipFeedback:o}){const[r,a]=(0,n.useState)(!1),[c,l]=(0,n.useState)(!1),[s,u]=(0,n.useState)(!1),[d,m]=(0,n.useState)(!1),[p,h]=(0,n.useState)(!1),_=[{key:"missing-features",label:(0,k.__)("Missing features","woocommerce"),checked:r,onChange:a},{key:"missing-plugins",label:(0,k.__)("Missing plugins","woocommerce"),checked:c,onChange:l},{key:"difficult-to-use",label:(0,k.__)("It's difficult to use","woocommerce"),checked:s,onChange:u},{key:"slow-buggy-or-broken",label:(0,k.__)("It's slow, buggy, or broken","woocommerce"),checked:d,onChange:m},{key:"other",label:(0,k.__)("Other (describe below)","woocommerce"),checked:p,onChange:h}],[w,g]=(0,n.useState)(""),[f,E]=(0,n.useState)(""),b=_.filter((e=>e.checked)).map((e=>e.key)),{createSuccessNotice:C}=(0,i.useDispatch)("core/notices"),x=(0,n.createElement)("span",{className:"woocommerce-product-mvp-feedback-modal__optional"},(0,k.__)("(optional)","woocommerce"));return(0,n.createElement)(Zp.FeedbackModal,{title:(0,k.__)("Thanks for trying out the new product form!","woocommerce"),onSubmit:()=>{e(b,w,f),C((0,k.__)("Thanks for the feedback — we'll put it to good use!","woocommerce"))},onCancel:o,onModalClose:t,isSubmitButtonDisabled:!b.length,submitButtonLabel:(0,k.__)("Send","woocommerce"),cancelButtonLabel:(0,k.__)("Skip","woocommerce"),className:"woocommerce-product-mvp-feedback-modal"},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Jp.Text,{variant:"subtitle.small",as:"p",weight:"600",size:"14",lineHeight:"20px"}),(0,n.createElement)("fieldset",{className:"woocommerce-product-mvp-feedback-modal__reason"},(0,n.createElement)("legend",null,(0,k.__)("What made you turn off the new product form?","woocommerce")),(0,n.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__checkboxes"},_.map(((e,t)=>(0,n.createElement)(v.CheckboxControl,{key:t,label:e.label,name:e.key,checked:e.checked,onChange:e.onChange}))))),(0,n.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__comments"},(0,n.createElement)(v.TextareaControl,{label:(0,n.createInterpolateElement)((0,k.__)("Additional thoughts <optional/>","woocommerce"),{optional:x}),value:w,onChange:e=>g(e),rows:5})),(0,n.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__email"},(0,n.createElement)(v.TextControl,{label:(0,n.createInterpolateElement)((0,k.__)("Your email address <optional/>","woocommerce"),{optional:x}),value:f,onChange:e=>E(e),rows:5,help:(0,k.__)("In case you want to participate in further discussion and future user research.","woocommerce")}))))}Yp.propTypes={recordScoreCallback:Wp().func.isRequired,onCloseModal:Wp().func};const Xp=({productId:e})=>{const{values:t}=(0,h.useFormContext)(),{hideProductMVPFeedbackModal:o}=(0,i.useDispatch)(Zp.STORE_KEY),{isProductMVPModalVisible:r}=(0,i.useSelect)((e=>{const{isProductMVPFeedbackModalVisible:t}=e(Zp.STORE_KEY);return{isProductMVPModalVisible:t()}})),a=null!=e?e:null==t?void 0:t.id,{_feature_nonce:c}=(0,ir.getSetting)("admin",{}),l=a?(0,ir.getAdminLink)(`post.php?post=${a}&action=edit&product_block_editor=0&_feature_nonce=${c}`):(0,ir.getAdminLink)(`post-new.php?post_type=product&product_block_editor=0&_feature_nonce=${c}`);return r?(0,n.createElement)(Yp,{recordScoreCallback:(e,t,r)=>{(0,P.recordEvent)("product_mvp_feedback",{action:"disable",checked:e,comments:t||"",email:r}),o(),window.location.href=`${l}&new-product-experience-disabled=true`},onCloseModal:()=>{(0,P.recordEvent)("product_mvp_feedback",{action:"cancel",checked:"",comments:""}),o()},onSkipFeedback:()=>{(0,P.recordEvent)("product_mvp_feedback",{action:"disable",checked:"",comments:"Feedback skipped"}),o(),window.location.href=l}}):null},Kp=({value:e,onChange:t,attributeList:o=[]})=>(0,n.createElement)(rc,{value:o,disabledAttributeIds:e.filter((e=>!!e.variation)).map((e=>e.id)),uiStrings:{disabledAttributeMessage:(0,k.__)("Already used in Variations","woocommerce")},onAdd:()=>{(0,P.recordEvent)("product_add_attributes_modal_add_button_click")},onChange:t,onNewModalCancel:()=>{(0,P.recordEvent)("product_add_attributes_modal_cancel_button_click")},onNewModalOpen:()=>{o.length?(0,P.recordEvent)("product_add_attribute_button"):(0,P.recordEvent)("product_add_first_attribute_button_click")},onAddAnother:()=>{(0,P.recordEvent)("product_add_attributes_modal_add_another_attribute_button_click")},onRemoveItem:()=>{(0,P.recordEvent)("product_add_attributes_modal_remove_attribute_button_click")},onRemove:()=>(0,P.recordEvent)("product_remove_attribute_confirmation_confirm_click"),onRemoveCancel:()=>(0,P.recordEvent)("product_remove_attribute_confirmation_cancel_click"),termsAutoSelection:"first",defaultVisibility:!0});function Qp({position:e}){return(0,n.createElement)(v.Button,{"data-testid":"woocommerce-product-variation-switcher-footer-placeholder",className:"woocommerce-product-variation-switcher-footer__button is-placeholder",disabled:!0},"left"===e&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(oe.Z,{icon:Cc.Z,size:16,className:"woocommerce-product-variation-switcher-footer__arrow"}),(0,n.createElement)("div",{className:"woocommerce-product-variation-switcher-footer__product-image"})),(0,n.createElement)("div",{className:"woocommerce-product-variation-switcher-footer__item-label"}),"right"===e&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"woocommerce-product-variation-switcher-footer__product-image"}),(0,n.createElement)(oe.Z,{icon:xc.Z,size:16,className:"woocommerce-product-variation-switcher-footer__arrow"})))}function eh({className:e}){return(0,n.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,style:{borderRadius:"3px",background:"var(--wp-gray-gray-0, #F6F7F7)"}},(0,n.createElement)("g",{clipPath:"url(#clip0_7819_478402)"},(0,n.createElement)("path",{d:"M22.9869 7.07134C19.8275 7.07134 17.9977 7.62377 16.9543 8.85386C17.6297 6.47326 18.8776 4.68605 21.1572 3.06738C18.4558 3.41616 16.8877 4.44261 16.1282 5.91147C15.3688 4.44378 13.8007 3.41733 11.0993 3.06738C13.3789 4.68605 14.6268 6.47209 15.3021 8.85386C14.2587 7.62377 12.429 7.07134 9.26953 7.07134C13.0354 8.83982 14.4761 10.263 15.7029 12.8133H16.5524C17.7792 10.263 19.2211 8.83982 22.9858 7.07134H22.9869Z",fill:"#BBBBBB"}),(0,n.createElement)("path",{d:"M18.6464 34.8438C19.8718 34.3897 24.3648 33.3925 24.3648 29.0402C24.3648 26.4551 22.0269 24.5052 19.3727 24.0527C20.5536 23.6669 22.278 21.9488 22.278 20.0211C22.278 17.5377 20.0307 16.5469 18.1934 16.1626C18.1934 15.5957 20.2357 12.6709 20.2357 12.6709H11.7932C11.7932 12.6709 13.8355 15.5957 13.8355 16.1626C11.9966 16.5485 9.75086 17.5377 9.75086 20.0211C9.75086 21.9488 11.4753 23.6669 12.6562 24.0527C10.0004 24.5068 7.66406 26.4567 7.66406 29.0402C7.66406 33.3941 12.1571 34.3913 13.3825 34.8438C10.4772 35.1154 9.02453 36.2491 8.79885 37.1558H23.2316C23.0043 36.2491 21.5517 35.1154 18.648 34.8438H18.6464Z",fill:"#DDDDDD"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:"clip0_7819_478402"},(0,n.createElement)("rect",{width:"34.0881",height:"25.9994",fill:"white",transform:"translate(-1)"}))))}function th({variationId:e,parentId:t,parentProductType:o}){const{invalidateResolution:r}=(0,i.useDispatch)("core"),{invalidateResolutionForStoreSelector:n}=(0,i.useDispatch)(M.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),a=(0,i.useSelect)((r=>{if(void 0===t)return{};const{getEntityRecord:n}=r("core"),a=n("postType",o||"product",t);if(void 0!==e&&a&&a.variations){const t=a.variations.indexOf(e),o=t>0?t-1:null,r=t!==a.variations.length-1?t+1:null;return{activeVariationIndex:t,nextVariationIndex:r,previousVariationIndex:o,numberOfVariations:a.variations.length,previousVariationId:null!==o?a.variations[o]:null,nextVariationId:null!==r?a.variations[r]:null}}return{}}),[e,t]);function c(e){(0,Q.navigateTo)({url:(0,Q.getNewPath)({},`/product/${t}/variation/${e}`)})}return{...a,invalidateVariationList:function(){r("getEntityRecord",["postType",o||"product",t]),n("getProductVariations"),n("getProductVariationsTotalCount")},goToVariation:c,goToNextVariation:function(){return void 0!==a.nextVariationId&&null!==a.nextVariationId&&(c(a.nextVariationId),!0)},goToPreviousVariation:function(){return void 0!==a.previousVariationId&&null!==a.previousVariationId&&(c(a.previousVariationId),!0)}}}function oh({parentProductType:e,variationId:t,parentId:o}){const{numberOfVariations:r,nextVariationId:a,previousVariationId:c,activeVariationIndex:l,nextVariationIndex:s,previousVariationIndex:u,goToNextVariation:d,goToPreviousVariation:m}=th({variationId:t,parentId:o,parentProductType:e}),{previousVariation:p,nextVariation:h}=(0,i.useSelect)((e=>{const{getEntityRecord:t}=e("core");return r&&r>0?{previousVariation:null!==c&&t("postType","product_variation",c),nextVariation:null!==a&&t("postType","product_variation",a)}:{}}),[a,c,r]);return!r||r<2?null:(0,n.createElement)("div",{className:"woocommerce-product-variation-switcher-footer"},p&&(0,n.createElement)(v.Button,{className:"woocommerce-product-variation-switcher-footer__button woocommerce-product-variation-switcher-footer__button-previous",label:(0,k.__)("Previous","woocommerce"),onClick:function(){p&&((0,P.recordEvent)("product_variation_switch_previous",{variation_length:r,variation_id:null==p?void 0:p.id,variation_index:l,previous_variation_index:u}),m())}},(0,n.createElement)(oe.Z,{icon:Cc.Z,size:16}),p.image?(0,n.createElement)("img",{alt:p.image.alt||"",src:p.image.src,className:"woocommerce-product-variation-switcher-footer__product-image"}):(0,n.createElement)(eh,{className:"woocommerce-product-variation-switcher-footer__product-image"}),p.name),!p&&null!==c&&(0,n.createElement)(Qp,{position:"left"}),h&&(0,n.createElement)(v.Button,{className:"woocommerce-product-variation-switcher-footer__button woocommerce-product-variation-switcher-footer__button-next",label:(0,k.__)("Next","woocommerce"),onClick:function(){h&&((0,P.recordEvent)("product_variation_switch_next",{variation_length:r,variation_id:null==h?void 0:h.id,variation_index:l,next_variation_index:s}),d())}},h.name,h.image?(0,n.createElement)("img",{alt:h.image.alt||"",src:h.image.src,className:"woocommerce-product-variation-switcher-footer__product-image"}):(0,n.createElement)(eh,{className:"woocommerce-product-variation-switcher-footer__product-image"}),(0,n.createElement)(oe.Z,{icon:xc.Z,size:16})),!h&&null!==a&&(0,n.createElement)(Qp,{position:"right"}))}var rh=__webpack_require__(60107),nh=__webpack_require__(77792),ah=__webpack_require__(1636),ch=__webpack_require__(98817),ih=__webpack_require__(70250);const lh=(0,c.compose)((0,ch.withPluginContext)(((e,t)=>{var o;return{as:null!==(o=t.as)&&void 0!==o?o:v.MenuItem,icon:t.icon||e.icon,name:ih.hB}})))(J.tC),sh=e=>{const{symbol:t,symbolPosition:o}=e;return{[o.includes("left")?"prefix":"suffix"]:t}};var uh;!function(e){e.unsaved="unsaved",e.draft="draft",e.instock="instock",e.outofstock="outofstock"}(uh||(uh={}));const dh={[uh.unsaved]:(0,k.__)("Unsaved","woocommerce"),[uh.draft]:(0,k.__)("Draft","woocommerce"),[uh.instock]:(0,k.__)("In stock","woocommerce"),[uh.outofstock]:(0,k.__)("Out of stock","woocommerce")},mh=e=>e?"draft"===e.status?uh.draft:"instock"===e.stock_status?uh.instock:uh.outofstock:uh.unsaved,ph=(e,t,o)=>(null==e?void 0:e.length)?e:o&&o!==L.Ie?o:"simple"===t?(0,k.__)("New standard product","woocommerce"):(0,k.__)("New product","woocommerce"),hh=e=>{var t;return(null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.length)?e.attributes.map((e=>e.option)).join(", "):"#"+e.id},_h=e=>{const t=hh(e);return t.length>L.VY?t.substring(0,L.VY)+"…":t};async function vh({message:e=(0,k.__)("Are you sure?","woocommerce"),onOk:t,onCancel:o}){window.confirm(e)?null==t||t():null==o||o()}var wh=__webpack_require__(95463),gh=__webpack_require__(94211),fh=__webpack_require__(33266),Eh=__webpack_require__(40753),bh=__webpack_require__(28280);function Ch(e){if(to()("initBlock()",{alternative:"registerProductEditorBlockType()"}),e)return m(e)}const xh=()=>{const e=(0,Q.getQuery)();return"wc-admin"===(null==e?void 0:e.page)&&["/add-product","/product/"].some((t=>{var o;return null===(o=null==e?void 0:e.path)||void 0===o?void 0:o.startsWith(t)}))},yh=[{matcher:new RegExp("^/wp/v2/product(?!_)"),getReplaceString:()=>"/wc/v3/products"},{matcher:new RegExp("^/wp/v2/product_variation"),replacement:"/wc/v3/products/0/variations",getReplaceString:()=>{const e=(0,Q.getQuery)(),t=new RegExp("/product/([0-9]+)/variation/([0-9]+)"),o=(e.path||"").match(t);return o&&3===o.length?"/wc/v3/products/"+o[1]+"/variations":"/wc/v3/products/0/variations"}}],kh=()=>{bt().use(((e,t)=>{if(e.path&&xh())for(const{matcher:t,getReplaceString:o}of yh)if(t.test(e.path)){e.path=e.path.replace(t,o());break}return t(e)}))},Ah=()=>{bt().use(((e,t)=>(xh()&&(e.headers=e.headers||{},e.headers["X-Wc-From-Product-Editor"]="1"),t(e))))};function Sh(e){return`${e.id}:${e.menu_order}`}function Ph({key:e}){return"string"==typeof e?Number.parseInt(e.split(":")[1],10):Number.MAX_SAFE_INTEGER}function Bh(e,t,{variationsOrder:o}){if(!o||!o[t])return e;const r=o[t];return[...e].sort(((e,t)=>r[e.id]&&r[t.id]?r[e.id]-r[t.id]:0))}const Vh=({variations:e,currentPage:t})=>{const{setValue:o,values:r}=(0,h.useFormContext)();return{sortedVariations:Bh(e,t,r),getVariationKey:Sh,onOrderChange:function(e){const n=Math.min(...e.map(Ph));o("variationsOrder",{...r.variationsOrder,[t]:e.reduce(((e,t,o)=>({...e,[function({key:e}){return"string"==typeof e?Number.parseInt(e.split(":")[0],10):0}(t)]:n+o})),{})})}}},Mh=function(e){const t=(null==e?void 0:e.postType)||"product",o=(0,u.useEntityId)("postType",t),r=(null==e?void 0:e.id)||o,{editEntityRecord:n}=(0,i.useDispatch)("core"),{isLoading:a,meta_data:c}=(0,i.useSelect)((e=>{const{getEditedEntityRecord:o,hasFinishedResolution:n}=e("core"),{meta_data:a}=o("postType",t,r);return{meta_data:a||[],isLoading:!n("getEditedEntityRecord",["postType",t,r])}}),[r]);return{metadata:c.reduce((function(e,t){return e[t.key]=t.value,e}),{}),update:e=>n("postType",t,r,{meta_data:[...c.filter((t=>-1===e.findIndex((e=>e.key===t.key)))),...e]}),isLoading:a}};var Nh=__webpack_require__(66572);const Th=(0,n.lazy)((()=>Promise.all([__webpack_require__.e(5546),__webpack_require__.e(6479)]).then(__webpack_require__.bind(__webpack_require__,96479)).then((e=>({default:e.ProductsApp})))));function Lh(e){const t=document.getElementById(e),o=(0,n.createRoot)(t),r=(0,uo.B)()>0;return o.render((0,n.createElement)(n.StrictMode,null,r?(0,n.createElement)(n.Suspense,{fallback:null},(0,n.createElement)(Th,null)):(0,n.createElement)("div",null,(0,k.__)("Please enabled Gutenberg for this feature","woocommerce")))),o}(0,r.Z)(),(0,a.addFilter)("editor.BlockEdit","woocommerce/handle-hide-inventory-advanced-collapsible",p)})(),(window.wc=window.wc||{}).productEditor=__webpack_exports__})();