11 lines
372 KiB
JavaScript
11 lines
372 KiB
JavaScript
(()=>{var e={771:e=>{var t;globalThis,t=()=>(()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},921:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference")},864:(e,t,n)=>{"use strict";n(921)},251:(e,t,n)=>{"use strict";var r=n(196),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,n){var r,l={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!a.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:l,_owner:s.current}}},893:(e,t,n)=>{"use strict";e.exports=n(251)},196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{Autocomplete:()=>Be,Checkbox:()=>Ke,ColorPicker:()=>on,SortableList:()=>Uo,SortableListItem:()=>Ho,Stack:()=>jo,Table:()=>Wi});var e=n(196),t=n.n(e);const o=window.wp.element,i=window.wp.components,s=window.wp.i18n,a=window.wp.primitives;var l=n(893);const u=(0,l.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,l.jsx)(a.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"})});function c(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}var h=n(697),f=n.n(h);n(864);const g=e=>"object"==typeof e&&null!=e&&1===e.nodeType,p=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,m=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return p(n.overflowY,t)||p(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},b=(e,t,n,r,o,i,s,a)=>i<e&&s>t||i>e&&s<t?0:i<=e&&a<=n||s>=t&&a>=n?i-e-r:s>t&&a<n||i<e&&a>n?s-t+o:0,v=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var y=0;function C(){}function x(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function S(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function O(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=I(t,r)?t[r]:e[r],n}),{}):e}function I(e,t){return void 0!==e[t]}function k(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(0===i)return-1;var s=i-1;("number"!=typeof e||e<0||e>s)&&(e=t>0?-1:s+1);var a=e+t;a<0?a=o?s:0:a>s&&(a=o?0:s);var l=M(a,t<0,n,r,o);return-1===l?e>=i?-1:e:l}function M(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(t){for(var s=e;s>=0;s--)if(!r(n[s],s))return s}else for(var a=e;a<i;a++)if(!r(n[a],a))return a;return o?M(t?i-1:0,t,n,r):-1}function F(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(x(t,e,n)||r&&x(t,n.document.activeElement,n))}))}var D=S((function(e){P(e).textContent=""}),500);function P(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var A={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var V=S((function(e,t){!function(e,t){e&&t&&(P(t).textContent=e,D(t))}(e,t)}),200),T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,L="useId"in t()?function(n){var r=n.id,o=n.labelId,i=n.menuId,s=n.getItemId,a=n.toggleButtonId,l=n.inputId,u="downshift-"+t().useId();return r||(r=u),(0,e.useRef)({labelId:o||r+"-label",menuId:i||r+"-menu",getItemId:s||function(e){return r+"-item-"+e},toggleButtonId:a||r+"-toggle-button",inputId:l||r+"-input"}).current}:function(t){var n=t.id,r=void 0===n?"downshift-"+String(y++):n,o=t.labelId,i=t.menuId,s=t.getItemId,a=t.toggleButtonId,l=t.inputId;return(0,e.useRef)({labelId:o||r+"-label",menuId:i||r+"-menu",getItemId:s||function(e){return r+"-item-"+e},toggleButtonId:a||r+"-toggle-button",inputId:l||r+"-input"}).current};function N(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function z(t){var n=(0,e.useRef)(t);return n.current=t,n}function B(t,n,r,o){var i=(0,e.useRef)(),s=(0,e.useRef)(),a=(0,e.useCallback)((function(e,n){s.current=n,e=O(e,n.props);var r=t(e,n);return n.props.stateReducer(e,d({},n,{changes:r}))}),[t]),l=(0,e.useReducer)(a,n,r),u=l[0],c=l[1],h=z(n),f=(0,e.useCallback)((function(e){return c(d({props:h.current},e))}),[h]),g=s.current;return(0,e.useEffect)((function(){var e=O(i.current,null==g?void 0:g.props);g&&i.current&&!o(e,u)&&function(e,t,n){var r=e.props,o=e.type,i={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,i=t.type,s="on"+N(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s](d({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(d({type:o},i))}(g,e,u),i.current=u}),[u,g,o]),[u,f]}var G={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:s,block:a,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!g(e))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,f=[];let p=e;for(;g(p)&&d(p);){if(p=v(p),p===h){f.push(p);break}null!=p&&p===document.body&&m(p)&&!m(document.documentElement)||null!=p&&m(p,c)&&f.push(p)}const w=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:C,scrollY:x}=window,{height:S,width:E,top:R,right:O,bottom:I,left:k}=e.getBoundingClientRect(),{top:M,right:F,bottom:D,left:P}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let A="start"===a||"nearest"===a?R-M:"end"===a?I+D:R+S/2-M+D,V="center"===l?k+E/2-P+F:"end"===l?O+F:k-P;const T=[];for(let e=0;e<f.length;e++){const t=f[e],{height:n,width:r,top:o,right:i,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===s&&R>=0&&k>=0&&I<=y&&O<=w&&R>=o&&I<=u&&k>=c&&O<=i)return T;const d=getComputedStyle(t),g=parseInt(d.borderLeftWidth,10),p=parseInt(d.borderTopWidth,10),m=parseInt(d.borderRightWidth,10),v=parseInt(d.borderBottomWidth,10);let M=0,F=0;const D="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-m:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-v:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,N="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)M="start"===a?A:"end"===a?A-y:"nearest"===a?b(x,x+y,y,p,v,x+A,x+A+S,S):A-y/2,F="start"===l?V:"center"===l?V-w/2:"end"===l?V-w:b(C,C+w,w,g,m,C+V,C+V+E,E),M=Math.max(0,M+x),F=Math.max(0,F+C);else{M="start"===a?A-o-p:"end"===a?A-u+v+P:"nearest"===a?b(o,u,n,p,v+P,A,A+S,S):A-(o+n/2)+P/2,F="start"===l?V-c-g:"center"===l?V-(c+r/2)+D/2:"end"===l?V-i+m+D:b(c,i,r,g,m+D,V,V+E,E);const{scrollLeft:e,scrollTop:s}=t;M=0===N?0:Math.max(0,Math.min(s+M/N,t.scrollHeight-n/N+P)),F=0===L?0:Math.max(0,Math.min(e+F/L,t.scrollWidth-r/L+D)),A+=s-M,V+=e-F}T.push({el:t,top:M,left:F})}return T})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?void 0:window};function H(e,t,n){void 0===n&&(n=A);var r=e["default"+N(t)];return void 0!==r?r:n[t]}function U(e,t,n){void 0===n&&(n=A);var r=e[t];if(void 0!==r)return r;var o=e["initial"+N(t)];return void 0!==o?o:H(e,t,n)}function W(e,t,n){var r=e.items,o=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,s=e.isItemDisabled,a=e.itemToKey,l=t.selectedItem,u=t.highlightedIndex;return 0===r.length?-1:void 0===o||u!==o||s(r[o],o)?void 0===i||s(r[i],i)?l?r.findIndex((function(e){return a(l)===a(e)})):n<0&&!s(r[r.length-1],r.length-1)?r.length-1:n>0&&!s(r[0],0)?0:-1:i:o}var j=C;function q(e,t,n){var r;return void 0===n&&(n=!0),d({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&d({selectedItem:e.items[t],isOpen:H(e,"isOpen"),highlightedIndex:H(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function K(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function Y(){var e=t().useRef(!0);return t().useEffect((function(){return e.current=!1,function(){e.current=!0}}),[]),e.current}function _(e){var t=H(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var Z=d({},{environment:f().shape({addEventListener:f().func.isRequired,removeEventListener:f().func.isRequired,document:f().shape({createElement:f().func.isRequired,getElementById:f().func.isRequired,activeElement:f().any.isRequired,body:f().any.isRequired}).isRequired,Node:f().func.isRequired}),itemToString:f().func,itemToKey:f().func,stateReducer:f().func},{getA11yStatusMessage:f().func,highlightedIndex:f().number,defaultHighlightedIndex:f().number,initialHighlightedIndex:f().number,isOpen:f().bool,defaultIsOpen:f().bool,initialIsOpen:f().bool,selectedItem:f().any,initialSelectedItem:f().any,defaultSelectedItem:f().any,id:f().string,labelId:f().string,menuId:f().string,getItemId:f().func,toggleButtonId:f().string,onSelectedItemChange:f().func,onHighlightedIndexChange:f().func,onStateChange:f().func,onIsOpenChange:f().func,scrollIntoView:f().func});w(w({},Z),{items:f().array.isRequired,isItemDisabled:f().func}),w(w({},G),{isItemDisabled:function(){return!1}});var X=0,J=1,Q=2,$=3,ee=4,te=5,ne=6,re=7,oe=8,ie=9,se=10,ae=13,le=19,ue=22,ce=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:ue,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:le,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,InputBlur:ie,InputChange:oe,InputClick:se,InputKeyDownArrowDown:X,InputKeyDownArrowUp:J,InputKeyDownEnd:ee,InputKeyDownEnter:re,InputKeyDownEscape:Q,InputKeyDownHome:$,InputKeyDownPageDown:ne,InputKeyDownPageUp:te,ItemClick:ae,ItemMouseMove:12,MenuMouseLeave:11,ToggleButtonClick:14});function de(e){var t=function(e){var t=U(e,"selectedItem"),n=U(e,"isOpen"),r=function(e){var t=U(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}(e),o=U(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:o}}(e),n=t.selectedItem,r=t.inputValue;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),d({},t,{inputValue:r})}d({},Z,{items:f().array.isRequired,isItemDisabled:f().func,inputValue:f().string,defaultInputValue:f().string,initialInputValue:f().string,inputId:f().string,onInputValueChange:f().func});var he=C,fe=d({},G,{isItemDisabled:function(){return!1}});function ge(e,t){var n,r,o=t.type,i=t.props,s=t.altKey;switch(o){case ae:r={isOpen:H(i,"isOpen"),highlightedIndex:_(i),selectedItem:i.items[t.index],inputValue:i.itemToString(i.items[t.index])};break;case X:r=e.isOpen?{highlightedIndex:k(e.highlightedIndex,1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:s&&null==e.selectedItem?-1:W(i,e,1),isOpen:i.items.length>=0};break;case J:r=e.isOpen?s?q(i,e.highlightedIndex):{highlightedIndex:k(e.highlightedIndex,-1,i.items,i.isItemDisabled,!0)}:{highlightedIndex:W(i,e,-1),isOpen:i.items.length>=0};break;case re:r=q(i,e.highlightedIndex);break;case Q:r=d({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case te:r={highlightedIndex:k(e.highlightedIndex,-10,i.items,i.isItemDisabled,!0)};break;case ne:r={highlightedIndex:k(e.highlightedIndex,10,i.items,i.isItemDisabled,!0)};break;case $:r={highlightedIndex:M(0,!1,i.items,i.isItemDisabled)};break;case ee:r={highlightedIndex:M(i.items.length-1,!0,i.items,i.isItemDisabled)};break;case ie:r=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&t.selectItem&&{selectedItem:i.items[e.highlightedIndex],inputValue:i.itemToString(i.items[e.highlightedIndex])});break;case oe:r={isOpen:!0,highlightedIndex:_(i),inputValue:t.inputValue};break;case se:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:W(i,e,0)};break;case le:r={selectedItem:t.selectedItem,inputValue:i.itemToString(t.selectedItem)};break;case ue:r={inputValue:t.inputValue};break;default:return function(e,t,n){var r,o=t.type,i=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:W(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:W(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:i.isItemDisabled(i.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:_(i),isOpen:H(i,"isOpen"),selectedItem:H(i,"selectedItem"),inputValue:H(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return d({},e,r)}(e,t,ce)}return d({},e,r)}var pe=["onMouseLeave","refKey","ref"],me=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],be=["onClick","onPress","refKey","ref"],ve=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function we(t){void 0===t&&(t={}),he(t,we);var n=d({},fe,t),r=n.items,o=n.scrollIntoView,i=n.environment,s=n.getA11yStatusMessage,a=function(t,n,r,o){var i=(0,e.useRef)(),s=B(t,n,r,o),a=s[0],l=s[1],u=Y();return(0,e.useEffect)((function(){I(n,"selectedItem")&&(u||n.itemToKey(n.selectedItem)!==n.itemToKey(i.current)&&l({type:ue,inputValue:n.itemToString(n.selectedItem)}),i.current=a.selectedItem===i.current?n.selectedItem:a.selectedItem)}),[a.selectedItem,n.selectedItem]),[O(a,n),l]}(ge,n,de,K),l=a[0],u=a[1],h=l.isOpen,f=l.highlightedIndex,g=l.selectedItem,p=l.inputValue,m=(0,e.useRef)(null),b=(0,e.useRef)({}),v=(0,e.useRef)(null),w=(0,e.useRef)(null),y=Y(),x=L(n),S=(0,e.useRef)(),k=z({state:l,props:n}),M=(0,e.useCallback)((function(e){return b.current[x.getItemId(e)]}),[x]);!function(t,n,r,o){void 0===o&&(o={});var i=o.document,s=Y();(0,e.useEffect)((function(){if(t&&!s&&i){var e=t(n);V(e,i)}}),r),(0,e.useEffect)((function(){return function(){var e,t;V.cancel(),(t=null==(e=i)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[i])}(s,l,[h,f,g,p],i);var D=function(t){var n=t.highlightedIndex,r=t.isOpen,o=t.itemRefs,i=t.getItemNodeFromIndex,s=t.menuElement,a=t.scrollIntoView,l=(0,e.useRef)(!0);return T((function(){n<0||!r||!Object.keys(o.current).length||(!1===l.current?l.current=!0:a(i(n),s))}),[n]),l}({menuElement:m.current,highlightedIndex:f,isOpen:h,itemRefs:b,scrollIntoView:o,getItemNodeFromIndex:M});j({props:n,state:l}),(0,e.useEffect)((function(){U(n,"isOpen")&&v.current&&v.current.focus()}),[]),(0,e.useEffect)((function(){y||(S.current=r.length)}));var P=function(t,n,r){var o=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,e.useEffect)((function(){if(!t)return C;var e=n.map((function(e){return e.current}));function i(){o.current.isTouchEnd=!1,o.current.isMouseDown=!0}function s(n){o.current.isMouseDown=!1,F(n.target,e,t)||r()}function a(){o.current.isTouchEnd=!1,o.current.isTouchMove=!1}function l(){o.current.isTouchMove=!0}function u(n){o.current.isTouchEnd=!0,o.current.isTouchMove||F(n.target,e,t,!1)||r()}return t.addEventListener("mousedown",i),t.addEventListener("mouseup",s),t.addEventListener("touchstart",a),t.addEventListener("touchmove",l),t.addEventListener("touchend",u),function(){t.removeEventListener("mousedown",i),t.removeEventListener("mouseup",s),t.removeEventListener("touchstart",a),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",u)}}),[t,r]),o.current}(i,[w,m,v],(0,e.useCallback)((function(){k.current.state.isOpen&&u({type:ie,selectItem:!1})}),[u,k])),A=C;(0,e.useEffect)((function(){h||(b.current={})}),[h]),(0,e.useEffect)((function(){var e;h&&null!=i&&i.document&&null!=v&&null!=(e=v.current)&&e.focus&&i.document.activeElement!==v.current&&v.current.focus()}),[h,i]);var N=(0,e.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),u({type:X,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),u({type:J,altKey:e.altKey})},Home:function(e){k.current.state.isOpen&&(e.preventDefault(),u({type:$}))},End:function(e){k.current.state.isOpen&&(e.preventDefault(),u({type:ee}))},Escape:function(e){var t=k.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),u({type:Q}))},Enter:function(e){k.current.state.isOpen&&229!==e.which&&(e.preventDefault(),u({type:re}))},PageUp:function(e){k.current.state.isOpen&&(e.preventDefault(),u({type:te}))},PageDown:function(e){k.current.state.isOpen&&(e.preventDefault(),u({type:ne}))}}}),[u,k]),G=(0,e.useCallback)((function(e){return d({id:x.labelId,htmlFor:x.inputId},e)}),[x]),H=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,s=void 0===i?"ref":i,a=r.ref,l=c(r,pe),h=(void 0===t?{}:t).suppressRefError;return A("getMenuProps",void 0!==h&&h,s,m),d(((n={})[s]=R(a,(function(e){m.current=e})),n.id=x.menuId,n.role="listbox",n["aria-labelledby"]=l&&l["aria-label"]?void 0:""+x.labelId,n.onMouseLeave=E(o,(function(){u({type:11})})),n),l)}),[u,A,x]),W=(0,e.useCallback)((function(e){var t,n,r=void 0===e?{}:e,o=r.item,i=r.index,s=r.refKey,a=void 0===s?"ref":s,l=r.ref,h=r.onMouseMove,f=r.onMouseDown,g=r.onClick;r.onPress;var p=r.disabled,m=c(r,me);void 0!==p&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var v=k.current,w=v.props,y=v.state,C=function(e,t,n,r){var o,i;if(void 0===e){if(void 0===t)throw new Error(r);o=n[t],i=t}else i=void 0===t?n.indexOf(e):t,o=e;return[o,i]}(o,i,w.items,"Pass either item or index to getItemProps!"),S=C[0],O=C[1],I=w.isItemDisabled(S,O),M=g;return d(((t={})[a]=R(l,(function(e){e&&(b.current[x.getItemId(O)]=e)})),t["aria-disabled"]=I,t["aria-selected"]=O===y.highlightedIndex,t.id=x.getItemId(O),t.role="option",t),!I&&((n={}).onClick=E(M,(function(){u({type:ae,index:O})})),n),{onMouseMove:E(h,(function(){P.isTouchEnd||O===y.highlightedIndex||(D.current=!1,u({type:12,index:O,disabled:I}))})),onMouseDown:E(f,(function(e){return e.preventDefault()}))},m)}),[u,x,k,P,D]),q=(0,e.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.onClick;n.onPress;var o=n.refKey,i=void 0===o?"ref":o,s=n.ref,a=c(n,be),l=k.current.state;return d(((t={})[i]=R(s,(function(e){w.current=e})),t["aria-controls"]=x.menuId,t["aria-expanded"]=l.isOpen,t.id=x.toggleButtonId,t.tabIndex=-1,t),!a.disabled&&d({},{onClick:E(r,(function(){u({type:14})}))}),a)}),[u,k,x]),_=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onKeyDown,s=r.onChange,a=r.onInput,l=r.onBlur;r.onChangeText;var h=r.onClick,f=r.refKey,g=void 0===f?"ref":f,p=r.ref,m=c(r,ve),b=(void 0===t?{}:t).suppressRefError;A("getInputProps",void 0!==b&&b,g,v);var w,y=k.current.state,C={};return m.disabled||((w={}).onChange=E(s,a,(function(e){u({type:oe,inputValue:e.target.value})})),w.onKeyDown=E(o,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&N[t]&&N[t](e)})),w.onBlur=E(l,(function(e){if(null!=i&&i.document&&y.isOpen&&!P.isMouseDown){var t=null===e.relatedTarget&&i.document.activeElement!==i.document.body;u({type:ie,selectItem:!t})}})),w.onClick=E(h,(function(){u({type:se})})),C=w),d(((n={})[g]=R(p,(function(e){v.current=e})),n["aria-activedescendant"]=y.isOpen&&y.highlightedIndex>-1?x.getItemId(y.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=x.menuId,n["aria-expanded"]=y.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:x.labelId,n.autoComplete="off",n.id=x.inputId,n.role="combobox",n.value=y.inputValue,n),C,m)}),[u,x,i,N,k,P,A]),Z=(0,e.useCallback)((function(){u({type:15})}),[u]),ce=(0,e.useCallback)((function(){u({type:17})}),[u]),ye=(0,e.useCallback)((function(){u({type:16})}),[u]),Ce=(0,e.useCallback)((function(e){u({type:18,highlightedIndex:e})}),[u]),xe=(0,e.useCallback)((function(e){u({type:le,selectedItem:e})}),[u]);return{getItemProps:W,getLabelProps:G,getMenuProps:H,getInputProps:_,getToggleButtonProps:q,toggleMenu:Z,openMenu:ye,closeMenu:ce,setHighlightedIndex:Ce,setInputValue:(0,e.useCallback)((function(e){u({type:20,inputValue:e})}),[u]),selectItem:xe,reset:(0,e.useCallback)((function(){u({type:21})}),[u]),highlightedIndex:f,isOpen:h,selectedItem:g,inputValue:p}}we.stateChangeTypes=ce,f().array,f().array,f().array,f().func,f().number,f().number,f().number,f().func,f().func,f().string,f().string;const ye=window.ReactDOM;function Ce(e,t,n){let r,o=n.initialDeps??[];return()=>{var i,s,a,l;let u;n.key&&(null==(i=n.debug)?void 0:i.call(n))&&(u=Date.now());const c=e();if(c.length===o.length&&!c.some(((e,t)=>o[t]!==e)))return r;let d;if(o=c,n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(d=Date.now()),r=t(...c),n.key&&(null==(a=n.debug)?void 0:a.call(n))){const e=Math.round(100*(Date.now()-u))/100,t=Math.round(100*(Date.now()-d))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(l=null==n?void 0:n.onChange)||l.call(n,r),r}}function xe(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const Se=(e,t,n)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout((()=>t.apply(this,o)),n)}},Ee=e=>e,Re=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},Oe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const o=e=>{const{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(o(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const i=new r.ResizeObserver((e=>{const t=e[0];if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return void o({width:e.inlineSize,height:e.blockSize})}o(n.getBoundingClientRect())}));return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},Ie={passive:!0},ke="undefined"==typeof window||"onscrollend"in window,Me=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let o=0;const i=ke?()=>{}:Se(r,(()=>{t(o,!1)}),e.options.isScrollingResetDelay),s=r=>()=>{o=n[e.options.horizontal?"scrollLeft":"scrollTop"],i(),t(o,r)},a=s(!0),l=s(!1);return l(),n.addEventListener("scroll",a,Ie),n.addEventListener("scrollend",l,Ie),()=>{n.removeEventListener("scroll",a),n.removeEventListener("scrollend",l)}},Fe=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},De=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const s=e+t;null==(i=null==(o=r.scrollElement)?void 0:o.scrollTo)||i.call(o,{[r.options.horizontal?"left":"top"]:s,behavior:n})};class Pe{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null);return{disconnect:()=>{var e;return null==(e=t())?void 0:e.disconnect()},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Ee,rangeExtractor:Re,onChange:()=>{},measureElement:Fe,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,...e}},this.notify=(e,t)=>{var n,r;const{startIndex:o,endIndex:i}=this.range??{startIndex:void 0,endIndex:void 0},s=this.calculateRange();(e||o!==(null==s?void 0:s.startIndex)||i!==(null==s?void 0:s.endIndex))&&(null==(r=(n=this.options).onChange)||r.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null},this._didMount=()=>(this.measureElementCache.forEach(this.observer.observe),()=>{this.observer.disconnect(),this.cleanup()}),this._willUpdate=()=>{var e;const t=this.options.getScrollElement();this.scrollElement!==t&&(this.cleanup(),this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.notify(!1,!1)}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.scrollOffset<e?"forward":"backward":null,this.scrollOffset=e;const n=this.isScrolling;this.isScrolling=t,this.notify(n!==t,t)}))))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurementOptions=Ce((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey]),((e,t,n,r)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r})),{key:!1}),this.getFurthestMeasurement=(e,t)=>{const n=new Map,r=new Map;for(let o=t-1;o>=0;o--){const t=e[o];if(n.has(t.lane))continue;const i=r.get(t.lane);if(null==i||t.end>i.end?r.set(t.lane,t):t.end<i.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurements=Ce((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:n,getItemKey:r},o)=>{const i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const s=this.measurementsCache.slice(0,i);for(let a=i;a<e;a++){const e=r(a),i=1===this.options.lanes?s[a-1]:this.getFurthestMeasurement(s,a),l=i?i.end+this.options.gap:t+n,u=o.get(e),c="number"==typeof u?u:this.options.estimateSize(a),d=l+c,h=i?i.lane:a%this.options.lanes;s[a]={index:a,start:l,size:c,end:d,key:e,lane:h}}return this.measurementsCache=s,s}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ce((()=>[this.getMeasurements(),this.getSize(),this.scrollOffset]),((e,t,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n}){const r=e.length-1,o=Ae(0,r,(t=>e[t].start),n);let i=o;for(;i<r&&e[i].end<n+t;)i++;return{startIndex:o,endIndex:i}}({measurements:e,outerSize:t,scrollOffset:n}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=Ce((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,n,r)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:n,count:r})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.measurementsCache[this.indexFromElement(e)];if(!n||!e.isConnected)return void this.measureElementCache.forEach(((t,n)=>{t===e&&(this.observer.unobserve(e),this.measureElementCache.delete(n))}));const r=this.measureElementCache.get(n.key);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.measureElementCache.set(n.key,e));const o=this.options.measureElement(e,t,this);this.resizeItem(n,o)},this.resizeItem=(e,t)=>{const n=t-(this.itemSizeCache.get(e.key)??e.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(e,n,this):e.start<this.scrollOffset+this.scrollAdjustments)&&this._scrollToOffset(this.scrollOffset,{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(e.index),this.itemSizeCache=new Map(this.itemSizeCache.set(e.key,t)),this.notify(!0,!1))},this.measureElement=e=>{e&&this._measureElement(e,void 0)},this.getVirtualItems=Ce((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=t[e[r]];n.push(o)}return n}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();return xe(t[Ae(0,t.length-1,(e=>xe(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize();"auto"===t&&(t=e<=this.scrollOffset?"start":e>=this.scrollOffset+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2));const r=this.options.horizontal?"scrollWidth":"scrollHeight",o=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[r]:this.scrollElement[r]:0)-this.getSize();return Math.max(Math.min(o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=xe(this.getMeasurements()[e]);if("auto"===t)if(n.end>=this.scrollOffset+this.getSize()-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=this.scrollOffset+this.options.scrollPaddingStart))return[this.scrollOffset,t];t="start"}const r="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(r,t),t]},this.isDynamicMode=()=>this.measureElementCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const[r,o]=this.getOffsetForIndex(e,t);this._scrollToOffset(r,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout((()=>{if(this.scrollToIndexTimeoutId=null,this.measureElementCache.has(this.options.getItemKey(e))){const[t]=this.getOffsetForIndex(e,o);((e,t)=>Math.abs(e-t)<1)(t,this.scrollOffset)||this.scrollToIndex(e,{align:o,behavior:n})}else this.scrollToIndex(e,{align:o,behavior:n})})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.scrollOffset+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let n;return n=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{var e,t;this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset="function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})),this.notify(!1,!1)}}const Ae=(e,t,n,r)=>{for(;e<=t;){const o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else{if(!(i>r))return o;t=o-1}}return e>0?e-1:0},Ve="undefined"!=typeof document?e.useLayoutEffect:e.useEffect;function Te(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Te(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Le=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Te(e))&&(r&&(r+=" "),r+=t);return r},Ne={control:"mnc9nIWbe_UvWqh_EGSg",wrapper:"lvIdqq0VcOc4Fsgp6edt",inputWrapper:"JQD57VZha1Nz_puhbEGL",input:"uPu9muJa3zAmugfyIwKm",focused:"WNS5v6eZssWgR0abiuiV",showClear:"MgYZFTRJHzGT5kJMx1EN",arrow:"BI9El7N6XuVkzJ0yYqjN",toggle:"FIMlw2_F2weKvrhreh8G",menu:"HfEDCyNjbWPw8DWxXwEJ",visible:"GguvZjj87n5NGDn8J2P6",hidden:"BJaSrnsPhERUxtRDC6Vu",option:"GzNl93gsU8KelMCsQSyZ",clear:"kUveEVlY9D_n5Zmz_dXD",optionfocused:"HKlvLGhxs7ir32hUBNzQ"},ze=(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))),Be=(0,o.forwardRef)((function({label:t,source:n,onChange:r,onSelect:a,onClear:l,onVirtualChange:c,tooltipText:d,defaultValue:h,className:f="",placeholder:g="",error:p="",itemLabelKey:m="label",itemValueKey:b="value",toStringKey:v="label",selected:w=null,beforeInputWrapper:y=null,afterInputWrapper:C=null,virtualize:x=null,showClear:S=!1,itemFilter:E=((e,t="")=>""===t||e.value.includes(t)||e.label.includes(t))},R){const[O,I]=(0,o.useState)(n),[k,M]=(0,o.useState)(w),F=(0,o.useRef)(null);(0,o.useEffect)((()=>{I(n)}),[n]),(0,o.useEffect)((()=>{M(w),w||H("")}),[w]);const D=function(t){return function(t){const n=e.useReducer((()=>({})),{})[1],r={...t,onChange:(e,r)=>{var o;r?(0,ye.flushSync)(n):n(),null==(o=t.onChange)||o.call(t,e,r)}},[o]=e.useState((()=>new Pe(r)));return o.setOptions(r),e.useEffect((()=>o._didMount()),[]),Ve((()=>o._willUpdate())),o}({observeElementRect:Oe,observeElementOffset:Me,scrollToFn:De,...t})}({count:O.length,getScrollElement:()=>F.current,estimateSize:(0,o.useCallback)((()=>33),[]),onChange:c}),P=(0,o.useMemo)((()=>{const e={initialInputValue:h,items:O,selectedItem:k,onInputValueChange({inputValue:e}){I(n.filter((t=>E(t,e)))),r&&r(e)},onSelectedItemChange({selectedItem:e}){M(e),e||H(""),a&&a(e,H,M)},itemToString:e=>e?e["label"===v?m:b]||e:""};return x&&(e.onHighlightedIndexChange=({highlightedIndex:e,type:t})=>{t!==we.stateChangeTypes.MenuMouseLeave&&D.scrollToIndex(e)}),e}),[x,k,O,h,E,r,a,n,m,b,v]),{isOpen:A,getToggleButtonProps:V,getLabelProps:T,getMenuProps:L,getInputProps:N,highlightedIndex:z,getItemProps:B,inputValue:G,setInputValue:H}=we(P);(0,o.useEffect)((()=>{H(h)}),[h]);const{id:U,...W}=T();return(0,e.createElement)(i.BaseControl,{id:U,label:t,help:p,...W,className:"gb-autocomplete"},(0,e.createElement)(e.Fragment,null,d&&(0,e.createElement)("div",{className:"gb-icon"},(0,e.createElement)(i.Tooltip,{text:d},(0,e.createElement)("div",null,(0,e.createElement)(i.Icon,{icon:u})))),(0,e.createElement)("div",{className:Le(Ne.control,x&&"is-virtualized",f)},(0,e.createElement)("div",{className:Ne.wrapper},y&&y({inputValue:G,items:O,setSelectedItem:M,setInputValue:H}),(0,e.createElement)("div",{className:Ne.inputWrapper},(0,e.createElement)("input",{placeholder:g,className:Le(Ne.input,S&&Ne.showClear),type:"text",...N({ref:R,value:G})}),S&&G&&(0,e.createElement)(i.Button,{className:Ne.clear,icon:ze,label:(0,s.__)("Clear","generateblocks-pro"),onClick:()=>{l&&l(),M(""),H("")}}),(0,e.createElement)("button",{"aria-label":(0,s.__)("toggle menu","generateblocks-pro"),className:Ne.toggle,type:"button",...V()},(0,e.createElement)("svg",{className:Ne.arrow,viewBox:"0 0 20 20",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{transform:A?"rotate(180)":void 0,d:"M5 6l5 5 5-5 2 1-7 7-7-7 2-1z",fill:"#555",style:{transformOrigin:"center"}})))),C&&C({inputValue:G,items:O,setSelectedItem:M,setInputValue:H})),(0,e.createElement)("ul",{...L({ref:F,className:Le(Ne.menu,!(A&&O.length)&&Ne.hidden)})},x?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("li",{key:"total-size",style:{height:D.getTotalSize(),marginBottom:0}}),D.getVirtualItems().map((({index:t,size:n,start:r})=>{const o=O[t],i=o[m]||o.value||o;return(0,e.createElement)("li",{className:Le(z===t&&Ne.focused,k===o&&Ne.selected,Ne.option),key:`${i}${t}`,...B({index:t,item:o}),style:{position:"absolute",top:0,left:0,width:"100%",height:n,transform:`translateY(${r}px)`}},(0,e.createElement)("span",null,i))}))):A&&O.map(((t,n)=>{const r=t[m]||t.value||t;return(0,e.createElement)("li",{className:Le(z===n&&Ne.focused,k===t&&Ne.selected,Ne.option),key:`${t}${n}`,...B({item:t,index:n})},(0,e.createElement)("span",null,r))}))))))})),Ge={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let He;const Ue=new Uint8Array(16);function We(){if(!He&&(He="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!He))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return He(Ue)}const je=[];for(let e=0;e<256;++e)je.push((e+256).toString(16).slice(1));const qe=function(e,t,n){if(Ge.randomUUID&&!t&&!e)return Ge.randomUUID();const r=(e=e||{}).random||(e.rng||We)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return je[e[t+0]]+je[e[t+1]]+je[e[t+2]]+je[e[t+3]]+"-"+je[e[t+4]]+je[e[t+5]]+"-"+je[e[t+6]]+je[e[t+7]]+"-"+je[e[t+8]]+je[e[t+9]]+"-"+je[e[t+10]]+je[e[t+11]]+je[e[t+12]]+je[e[t+13]]+je[e[t+14]]+je[e[t+15]]}(r)},Ke=(0,o.forwardRef)((function({id:t,label:n,value:r,checked:i,onChange:a,indeterminate:l,"aria-label":u,className:c,...d},h){const f=t||qe(),g=(0,o.useRef)(),p=h||g;if((0,o.useLayoutEffect)((()=>{p.current&&(p.current.indeterminate=l)}),[p.current]),!u&&!n)throw new Error((0,s.__)("Checkbox must have an accessible label","generateblocks-pro"));return(0,e.createElement)("div",{className:"components-checkbox-control gb-checkbox"},(0,e.createElement)("span",{className:"components-checkbox-control__input-container"},(0,e.createElement)("input",{type:"checkbox",className:Le("components-checkbox-control__input",c),id:f,checked:i,onChange:a,value:r,"aria-label":u,ref:p,...d}),l&&!i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"presentation",className:"components-checkbox-control__indeterminate","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M7 11.5h10V13H7z"})),i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"presentation",className:"components-checkbox-control__checked","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))),n&&(0,e.createElement)("label",{htmlFor:f,className:"components-checkbox-control__label"},n))})),Ye=window.wp.compose,_e=window.wp.blockEditor,Ze=window.wp.hooks;function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function Qe(t){var n=(0,e.useRef)(t),r=(0,e.useRef)((function(e){n.current&&n.current(e)}));return n.current=t,r.current}var $e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},et=function(e){return"touches"in e},tt=function(e){return e&&e.ownerDocument.defaultView||self},nt=function(e,t,n){var r=e.getBoundingClientRect(),o=et(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:$e((o.pageX-(r.left+tt(e).pageXOffset))/r.width),top:$e((o.pageY-(r.top+tt(e).pageYOffset))/r.height)}},rt=function(e){!et(e)&&e.preventDefault()},ot=e.memo((function(t){var n=t.onMove,r=t.onKey,o=Je(t,["onMove","onKey"]),i=(0,e.useRef)(null),s=Qe(n),a=Qe(r),l=(0,e.useRef)(null),u=(0,e.useRef)(!1),c=(0,e.useMemo)((function(){var e=function(e){rt(e),(et(e)?e.touches.length>0:e.buttons>0)&&i.current?s(nt(i.current,e,l.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=u.current,o=tt(i.current),s=n?o.addEventListener:o.removeEventListener;s(r?"touchmove":"mousemove",e),s(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=i.current;if(r&&(rt(t),!function(e,t){return t&&!et(e)}(t,u.current)&&r)){if(et(t)){u.current=!0;var o=t.changedTouches||[];o.length&&(l.current=o[0].identifier)}r.focus(),s(nt(r,t,l.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),a({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[a,s]),d=c[0],h=c[1],f=c[2];return(0,e.useEffect)((function(){return f}),[f]),e.createElement("div",Xe({},o,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))})),it=function(e){return e.filter(Boolean).join(" ")},st=function(t){var n=t.color,r=t.left,o=t.top,i=void 0===o?.5:o,s=it(["react-colorful__pointer",t.className]);return e.createElement("div",{className:s,style:{top:100*i+"%",left:100*r+"%"}},e.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:n}}))},at=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},lt=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:at(e.h),s:at(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:at(o/2),a:at(r,2)}}),ut=function(e){var t=lt(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ct=function(e){var t=lt(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},dt=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),a=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:at(255*[r,a,s,s,l,r][u]),g:at(255*[l,r,r,a,s,s][u]),b:at(255*[s,s,l,r,r,a][u]),a:at(o,2)}},ht=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?gt({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},ft=ht,gt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:at(60*(a<0?a+6:a)),s:at(i?s/i*100:0),v:at(i/255*100),a:o}},pt=e.memo((function(t){var n=t.hue,r=t.onChange,o=it(["react-colorful__hue",t.className]);return e.createElement("div",{className:o},e.createElement(ot,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:$e(n+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":at(n),"aria-valuemax":"360","aria-valuemin":"0"},e.createElement(st,{className:"react-colorful__hue-pointer",left:n/360,color:ut({h:n,s:100,v:100,a:1})})))})),mt=e.memo((function(t){var n=t.hsva,r=t.onChange,o={backgroundColor:ut({h:n.h,s:100,v:100,a:1})};return e.createElement("div",{className:"react-colorful__saturation",style:o},e.createElement(ot,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:$e(n.s+100*e.left,0,100),v:$e(n.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+at(n.s)+"%, Brightness "+at(n.v)+"%"},e.createElement(st,{className:"react-colorful__saturation-pointer",top:1-n.v/100,left:n.s/100,color:ut(n)})))})),bt=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function vt(t,n,r){var o=Qe(r),i=(0,e.useState)((function(){return t.toHsva(n)})),s=i[0],a=i[1],l=(0,e.useRef)({color:n,hsva:s});(0,e.useEffect)((function(){if(!t.equal(n,l.current.color)){var e=t.toHsva(n);l.current={hsva:e,color:n},a(e)}}),[n,t]),(0,e.useEffect)((function(){var e;(function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0})(s,l.current.hsva)||t.equal(e=t.fromHsva(s),l.current.color)||(l.current={hsva:s,color:e},o(e))}),[s,t,o]);var u=(0,e.useCallback)((function(e){a((function(t){return Object.assign({},t,e)}))}),[]);return[s,u]}var wt="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,yt=new Map,Ct=function(e){wt((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!yt.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',yt.set(t,r);var o=n.nc;o&&r.setAttribute("nonce",o),t.head.appendChild(r)}}),[])},xt=function(t){var n=t.className,r=t.colorModel,o=t.color,i=void 0===o?r.defaultColor:o,s=t.onChange,a=Je(t,["className","colorModel","color","onChange"]),l=(0,e.useRef)(null);Ct(l);var u=vt(r,i,s),c=u[0],d=u[1],h=it(["react-colorful",n]);return e.createElement("div",Xe({},a,{ref:l,className:h}),e.createElement(mt,{hsva:c,onChange:d}),e.createElement(pt,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},St=function(t){var n=t.className,r=t.hsva,o=t.onChange,i={backgroundImage:"linear-gradient(90deg, "+ct(Object.assign({},r,{a:0}))+", "+ct(Object.assign({},r,{a:1}))+")"},s=it(["react-colorful__alpha",n]),a=at(100*r.a);return e.createElement("div",{className:s},e.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),e.createElement(ot,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:$e(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},e.createElement(st,{className:"react-colorful__alpha-pointer",left:r.a,color:ct(r)})))},Et=function(t){var n=t.className,r=t.colorModel,o=t.color,i=void 0===o?r.defaultColor:o,s=t.onChange,a=Je(t,["className","colorModel","color","onChange"]),l=(0,e.useRef)(null);Ct(l);var u=vt(r,i,s),c=u[0],d=u[1],h=it(["react-colorful",n]);return e.createElement("div",Xe({},a,{ref:l,className:h}),e.createElement(mt,{hsva:c,onChange:d}),e.createElement(pt,{hue:c.h,onChange:d}),e.createElement(St,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Rt={defaultColor:"rgba(0, 0, 0, 1)",toHsva:ht,fromHsva:function(e){var t=dt(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:bt},Ot=function(t){return e.createElement(Et,Xe({},t,{colorModel:Rt}))},It={defaultColor:"rgb(0, 0, 0)",toHsva:ft,fromHsva:function(e){var t=dt(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:bt},kt=function(t){return e.createElement(xt,Xe({},t,{colorModel:It}))},Mt={grad:.9,turn:360,rad:360/(2*Math.PI)},Ft=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Dt=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},Pt=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},At=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Vt=function(e){return{r:Pt(e.r,0,255),g:Pt(e.g,0,255),b:Pt(e.b,0,255),a:Pt(e.a)}},Tt=function(e){return{r:Dt(e.r),g:Dt(e.g),b:Dt(e.b),a:Dt(e.a,3)}},Lt=/^#([0-9a-f]{3,8})$/i,Nt=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},zt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:o}},Bt=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),a=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,a,s,s,l,r][u],g:255*[l,r,r,a,s,s][u],b:255*[s,s,l,r,r,a][u],a:o}},Gt=function(e){return{h:At(e.h),s:Pt(e.s,0,100),l:Pt(e.l,0,100),a:Pt(e.a)}},Ht=function(e){return{h:Dt(e.h),s:Dt(e.s),l:Dt(e.l),a:Dt(e.a,3)}},Ut=function(e){return Bt((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},Wt=function(e){return{h:(t=zt(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},jt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Kt=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Yt=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_t={string:[[function(e){var t=Lt.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Dt(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Dt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Kt.exec(e)||Yt.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Vt({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=jt.exec(e)||qt.exec(e);if(!t)return null;var n,r,o=Gt({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Mt[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Ut(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return Ft(t)&&Ft(n)&&Ft(r)?Vt({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!Ft(t)||!Ft(n)||!Ft(r))return null;var s=Gt({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return Ut(s)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!Ft(t)||!Ft(n)||!Ft(r))return null;var s=function(e){return{h:At(e.h),s:Pt(e.s,0,100),v:Pt(e.v,0,100),a:Pt(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return Bt(s)},"hsv"]]},Zt=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},Xt=function(e,t){var n=Wt(e);return{h:n.h,s:Pt(n.s+100*t,0,100),l:n.l,a:n.a}},Jt=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Qt=function(e,t){var n=Wt(e);return{h:n.h,s:n.s,l:Pt(n.l+100*t,0,100),a:n.a}},$t=function(){function e(e){this.parsed=function(e){return"string"==typeof e?Zt(e.trim(),_t.string):"object"==typeof e&&null!==e?Zt(e,_t.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return Dt(Jt(this.rgba),2)},e.prototype.isDark=function(){return Jt(this.rgba)<.5},e.prototype.isLight=function(){return Jt(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Tt(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?Nt(Dt(255*o)):"","#"+Nt(t)+Nt(n)+Nt(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return Tt(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Tt(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return Ht(Wt(this.rgba))},e.prototype.toHslString=function(){return t=(e=Ht(Wt(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=zt(this.rgba),{h:Dt(e.h),s:Dt(e.s),v:Dt(e.v),a:Dt(e.a,3)};var e},e.prototype.invert=function(){return en({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),en(Xt(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),en(Xt(this.rgba,-e))},e.prototype.grayscale=function(){return en(Xt(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),en(Qt(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),en(Qt(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?en({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Dt(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Wt(this.rgba);return"number"==typeof e?en({h:e,s:t.s,l:t.l,a:t.a}):Dt(t.h)},e.prototype.isEqual=function(e){return this.toHex()===en(e).toHex()},e}(),en=function(e){return e instanceof $t?e:new $t(e)};const tn={control:"Uy2rTDWqjs4vgNH0aeBm",toggleButton:"qLXIpwst_CtGTtmsg3mN",toggleIndicator:"UVmA1eywUsKVQzLMDooq",content:"eTonGpRD1VuB2tbLNegK",inputWrapper:"nc5TMqH__oA5bcPGTm0D",input:"_ubMuvqZvhc0awiEVNAL",clear:"f5wwshdAOOkfChALEoo2",palette:"OhNX_C7EMJcWKe5tqpKQ",opacity:"mos6VIbAjooq2LMyKr88"},nn="gb-color-picker-palettes";function rn(e){return{...e,color:`var(--wp--preset--color--${e.slug}, ${e.color})`}}function on(t){const{value:n,onChange:r,label:a,tooltip:l,"aria-label":u,colors:c,renderToggle:d,onClick:h,onOpacityChange:f,valueOpacity:g=1}=t,[p,m]=(0,o.useState)(n||""),b=(0,o.useRef)(null),v=1!==g?kt:Ot,w=(0,o.useMemo)((()=>(e=>{if(String(e).startsWith("var(")){const t=e.match(/\(([^)]+)\)/);if(t){const n=getComputedStyle(document.documentElement).getPropertyValue(t[1]);n&&(e=n)}}return en(e).toRgbString()})(n)),[n]),y=(0,Ye.useDebounce)(r,100);(0,o.useEffect)((()=>{n!==p&&m(n)}),[n]),(0,o.useEffect)((()=>{n!==p&&y(p);const e=setTimeout((()=>{b.current&&b.current.focus()}),10);return()=>clearTimeout(e)}),[p]);const C=function(){const[e=[],t=[]]=(0,_e.useSettings)("color.palette.custom","color.palette.theme");return(0,o.useMemo)((()=>[...e.map(rn),...t.map(rn)]),[e,t])}(),x=(0,Ze.applyFilters)("generateblocks.components.colorPalettes",c||C,t,C);(0,o.useEffect)((()=>{sessionStorage.setItem(nn,JSON.stringify(x))}),[x]);const S=qe();return(0,e.createElement)(i.BaseControl,{id:S,label:a,className:Le("gb-color-picker",tn.control),"data-gb-control":"ColorPickerControl"},(0,e.createElement)(i.Dropdown,{className:tn.toggle,contentClassName:tn.content,placement:"top left",renderToggle:({isOpen:t,onToggle:r})=>{if(d)return d({isOpen:t,onToggle:r});const o=(0,e.createElement)(i.Button,{className:tn.toggleButton,onClick:()=>{r(),h&&h()},"aria-expanded":t,"aria-label":u},(0,e.createElement)("span",{className:tn.toggleIndicator,style:{background:n?(s=n,a=g,s?(a||0===a)&&1!==a&&s.startsWith("#")?en(s).alpha(a).toRgbString():s:""):null}}));var s,a;return(0,e.createElement)(e.Fragment,null,l?(0,e.createElement)(i.Tooltip,{text:l},o):o)},renderContent:()=>{const t=sessionStorage.getItem(nn),r=sessionStorage?JSON.parse(t):x;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(v,{color:w,onChange:e=>{en(e).isValid()&&(e=1===en(e).alpha()?en(e).toHex():e),m(e)}}),(0,e.createElement)("div",{className:tn.inputWrapper},(0,e.createElement)(i.TextControl,{ref:b,className:tn.input,type:"text",value:p,onChange:e=>{!e.startsWith("#")&&/^([0-9A-F]{3}){1,2}$/i.test(e)&&(e="#"+e),m(e)},onBlur:()=>{en(n).isValid()&&1===en(n).alpha()&&m(en(n).toHex())}}),(0,e.createElement)(i.Button,{size:"small",variant:"secondary",className:tn.clear,onClick:()=>{m(""),1!==g&&f(1)}},(0,s.__)("Clear","generateblocks"))),1!==g&&(0,e.createElement)("div",{className:tn.opacity},(0,e.createElement)(i.RangeControl,{label:(0,s.__)("Opacity","generateblocks"),value:g||0,onChange:e=>f(e),min:0,max:1,step:.01,initialPosition:1})),(0,e.createElement)(i.BaseControl,{className:tn.palette},(0,e.createElement)(_e.ColorPalette,{colors:r,value:n||"",onChange:e=>{m(e)},disableCustomColors:!0,clearable:!1})))}}))}const sn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function an(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function ln(e){return"nodeType"in e}function un(e){var t,n;return e?an(e)?e:ln(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function cn(e){const{Document:t}=un(e);return e instanceof t}function dn(e){return!an(e)&&e instanceof un(e).HTMLElement}function hn(e){return e instanceof un(e).SVGElement}function fn(e){return e?an(e)?e.document:ln(e)?cn(e)?e:dn(e)||hn(e)?e.ownerDocument:document:document:document}const gn=sn?e.useLayoutEffect:e.useEffect;function pn(t){const n=(0,e.useRef)(t);return gn((()=>{n.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)}),[])}function mn(t,n){void 0===n&&(n=[t]);const r=(0,e.useRef)(t);return gn((()=>{r.current!==t&&(r.current=t)}),n),r}function bn(t,n){const r=(0,e.useRef)();return(0,e.useMemo)((()=>{const e=t(r.current);return r.current=e,e}),[...n])}function vn(t){const n=pn(t),r=(0,e.useRef)(null),o=(0,e.useCallback)((e=>{e!==r.current&&(null==n||n(e,r.current)),r.current=e}),[]);return[r,o]}function wn(t){const n=(0,e.useRef)();return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current}let yn={};function Cn(t,n){return(0,e.useMemo)((()=>{if(n)return n;const e=null==yn[t]?0:yn[t]+1;return yn[t]=e,t+"-"+e}),[t,n])}function xn(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const Sn=xn(1),En=xn(-1);function Rn(e){if(!e)return!1;const{KeyboardEvent:t}=un(e.target);return t&&e instanceof t}function On(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=un(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const In=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[In.Translate.toString(e),In.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),kn="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Mn(e){return e.matches(kn)?e:e.querySelector(kn)}const Fn={display:"none"};function Dn(e){let{id:n,value:r}=e;return t().createElement("div",{id:n,style:Fn},r)}function Pn(e){let{id:n,announcement:r,ariaLiveType:o="assertive"}=e;return t().createElement("div",{id:n,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},r)}const An=(0,e.createContext)(null),Vn={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},Tn={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Ln(n){let{announcements:r=Tn,container:o,hiddenTextDescribedById:i,screenReaderInstructions:s=Vn}=n;const{announce:a,announcement:l}=function(){const[t,n]=(0,e.useState)("");return{announce:(0,e.useCallback)((e=>{null!=e&&n(e)}),[]),announcement:t}}(),u=Cn("DndLiveRegion"),[c,d]=(0,e.useState)(!1);if((0,e.useEffect)((()=>{d(!0)}),[]),function(t){const n=(0,e.useContext)(An);(0,e.useEffect)((()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(t)}),[t,n])}((0,e.useMemo)((()=>({onDragStart(e){let{active:t}=e;a(r.onDragStart({active:t}))},onDragMove(e){let{active:t,over:n}=e;r.onDragMove&&a(r.onDragMove({active:t,over:n}))},onDragOver(e){let{active:t,over:n}=e;a(r.onDragOver({active:t,over:n}))},onDragEnd(e){let{active:t,over:n}=e;a(r.onDragEnd({active:t,over:n}))},onDragCancel(e){let{active:t,over:n}=e;a(r.onDragCancel({active:t,over:n}))}})),[a,r])),!c)return null;const h=t().createElement(t().Fragment,null,t().createElement(Dn,{id:i,value:s.draggable}),t().createElement(Pn,{id:u,announcement:l}));return o?(0,ye.createPortal)(h,o):h}var Nn;function zn(){}function Bn(t,n){return(0,e.useMemo)((()=>({sensor:t,options:null!=n?n:{}})),[t,n])}function Gn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,e.useMemo)((()=>[...n].filter((e=>null!=e))),[...n])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(Nn||(Nn={}));const Hn=Object.freeze({x:0,y:0});function Un(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Wn(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function jn(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function qn(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function Kn(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function Yn(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const Zn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=Yn(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=Un(Yn(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(Wn)};function Xn(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),s=o-r,a=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=s*a;return Number((o/(n+r-o)).toFixed(4))}return 0}const Jn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=Xn(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(jn)};function Qn(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Hn}function $n(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const er=$n(1);const tr={ignoreTransform:!1};function nr(e,t){void 0===t&&(t=tr);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=un(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;const{scaleX:o,scaleY:i,x:s,y:a}=r,l=e.left-s-(1-o)*parseFloat(n),u=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l}}(n,t,r))}const{top:r,left:o,width:i,height:s,bottom:a,right:l}=n;return{top:r,left:o,width:i,height:s,bottom:a,right:l}}function rr(e){return nr(e,{ignoreTransform:!0})}function or(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if(cn(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!dn(o)||hn(o))return n;if(n.includes(o))return n;const i=un(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=un(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,i)&&n.push(o),function(e,t){return void 0===t&&(t=un(e).getComputedStyle(e)),"fixed"===t.position}(o,i)?n:r(o.parentNode)}(e):n}function ir(e){const[t]=or(e,1);return null!=t?t:null}function sr(e){return sn&&e?an(e)?e:ln(e)?cn(e)||e===fn(e).scrollingElement?window:dn(e)?e:null:null:null}function ar(e){return an(e)?e.scrollX:e.scrollLeft}function lr(e){return an(e)?e.scrollY:e.scrollTop}function ur(e){return{x:ar(e),y:lr(e)}}var cr;function dr(e){return!(!sn||!e)&&e===document.scrollingElement}function hr(e){const t={x:0,y:0},n=dr(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(cr||(cr={}));const fr={x:.2,y:.2};function gr(e,t,n,r,o){let{top:i,left:s,right:a,bottom:l}=n;void 0===r&&(r=10),void 0===o&&(o=fr);const{isTop:u,isBottom:c,isLeft:d,isRight:h}=hr(e),f={x:0,y:0},g={x:0,y:0},p=t.height*o.y,m=t.width*o.x;return!u&&i<=t.top+p?(f.y=cr.Backward,g.y=r*Math.abs((t.top+p-i)/p)):!c&&l>=t.bottom-p&&(f.y=cr.Forward,g.y=r*Math.abs((t.bottom-p-l)/p)),!h&&a>=t.right-m?(f.x=cr.Forward,g.x=r*Math.abs((t.right-m-a)/m)):!d&&s<=t.left+m&&(f.x=cr.Backward,g.x=r*Math.abs((t.left+m-s)/m)),{direction:f,speed:g}}function pr(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function mr(e){return e.reduce(((e,t)=>Sn(e,ur(t))),Hn)}const br=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+ar(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+lr(t)),0)}]];class vr{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=or(t),r=mr(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of br)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),s=r[e]-t;return this.rect[i]+s},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class wr{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function yr(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var Cr,xr;function Sr(e){e.preventDefault()}function Er(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Cr||(Cr={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(xr||(xr={}));const Rr={start:[xr.Space,xr.Enter],cancel:[xr.Esc],end:[xr.Space,xr.Enter]},Or=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case xr.Right:return{...n,x:n.x+25};case xr.Left:return{...n,x:n.x-25};case xr.Down:return{...n,y:n.y+25};case xr.Up:return{...n,y:n.y-25}}};class Ir{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new wr(fn(t)),this.windowListeners=new wr(un(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Cr.Resize,this.handleCancel),this.windowListeners.add(Cr.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Cr.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=nr),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);ir(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(Hn)}handleKeyDown(e){if(Rn(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=Rr,coordinateGetter:i=Or,scrollBehavior:s="smooth"}=r,{code:a}=e;if(o.end.includes(a))return void this.handleEnd(e);if(o.cancel.includes(a))return void this.handleCancel(e);const{collisionRect:l}=n.current,u=l?{x:l.left,y:l.top}:Hn;this.referenceCoordinates||(this.referenceCoordinates=u);const c=i(e,{active:t,context:n.current,currentCoordinates:u});if(c){const t=En(c,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:u,maxScroll:d,minScroll:h}=hr(n),f=pr(n),g={x:Math.min(o===xr.Right?f.right-f.width/2:f.right,Math.max(o===xr.Right?f.left:f.left+f.width/2,c.x)),y:Math.min(o===xr.Down?f.bottom-f.height/2:f.bottom,Math.max(o===xr.Down?f.top:f.top+f.height/2,c.y))},p=o===xr.Right&&!a||o===xr.Left&&!l,m=o===xr.Down&&!u||o===xr.Up&&!i;if(p&&g.x!==c.x){const e=n.scrollLeft+t.x,i=o===xr.Right&&e<=d.x||o===xr.Left&&e>=h.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=i?n.scrollLeft-e:o===xr.Right?n.scrollLeft-d.x:n.scrollLeft-h.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(m&&g.y!==c.y){const e=n.scrollTop+t.y,i=o===xr.Down&&e<=d.y||o===xr.Up&&e>=h.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=i?n.scrollTop-e:o===xr.Down?n.scrollTop-d.y:n.scrollTop-h.y,r.y&&n.scrollBy({top:-r.y,behavior:s});break}}this.handleMove(e,Sn(En(c,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function kr(e){return Boolean(e&&"distance"in e)}function Mr(e){return Boolean(e&&"delay"in e)}Ir.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Rr,onActivation:o}=t,{active:i}=n;const{code:s}=e.nativeEvent;if(r.start.includes(s)){const t=i.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class Fr{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=un(e);return e instanceof t?e:fn(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:i}=o;this.props=e,this.events=t,this.document=fn(i),this.documentListeners=new wr(this.document),this.listeners=new wr(n),this.windowListeners=new wr(un(i)),this.initialCoordinates=null!=(r=On(o))?r:Hn,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Cr.Resize,this.handleCancel),this.windowListeners.add(Cr.DragStart,Sr),this.windowListeners.add(Cr.VisibilityChange,this.handleCancel),this.windowListeners.add(Cr.ContextMenu,Sr),this.documentListeners.add(Cr.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Mr(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(kr(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Cr.Click,Er,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Cr.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!r)return;const a=null!=(t=On(e))?t:Hn,l=En(r,a);if(!n&&s){if(kr(s)){if(null!=s.tolerance&&yr(l,s.tolerance))return this.handleCancel();if(yr(l,s.distance))return this.handleStart()}return Mr(s)&&yr(l,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),i(a)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===xr.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Dr={move:{name:"pointermove"},end:{name:"pointerup"}};class Pr extends Fr{constructor(e){const{event:t}=e,n=fn(t.target);super(e,Dr,n)}}Pr.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const Ar={move:{name:"mousemove"},end:{name:"mouseup"}};var Vr;!function(e){e[e.RightClick=2]="RightClick"}(Vr||(Vr={})),class extends Fr{constructor(e){super(e,Ar,fn(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==Vr.RightClick&&(null==r||r({event:n}),!0)}}];const Tr={move:{name:"touchmove"},end:{name:"touchend"}};var Lr,Nr;(class extends Fr{constructor(e){super(e,Tr)}static setup(){return window.addEventListener(Tr.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Tr.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Lr||(Lr={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Nr||(Nr={}));const zr={x:{[cr.Backward]:!1,[cr.Forward]:!1},y:{[cr.Backward]:!1,[cr.Forward]:!1}};var Br,Gr;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Br||(Br={})),function(e){e.Optimized="optimized"}(Gr||(Gr={}));const Hr=new Map;function Ur(e,t){return bn((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function Wr(t){let{callback:n,disabled:r}=t;const o=pn(n),i=(0,e.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[r]);return(0,e.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}function jr(e){return new vr(nr(e),e)}function qr(t,n,r){void 0===n&&(n=jr);const[o,i]=(0,e.useReducer)((function(e){if(!t)return null;var o;if(!1===t.isConnected)return null!=(o=null!=e?e:r)?o:null;const i=n(t);return JSON.stringify(e)===JSON.stringify(i)?e:i}),null),s=function(t){let{callback:n,disabled:r}=t;const o=pn(n),i=(0,e.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,r]);return(0,e.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}({callback(e){if(t)for(const n of e){const{type:e,target:r}=n;if("childList"===e&&r instanceof HTMLElement&&r.contains(t)){i();break}}}}),a=Wr({callback:i});return gn((()=>{i(),t?(null==a||a.observe(t),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==s||s.disconnect())}),[t]),o}const Kr=[];function Yr(t,n){void 0===n&&(n=[]);const r=(0,e.useRef)(null);return(0,e.useEffect)((()=>{r.current=null}),n),(0,e.useEffect)((()=>{const e=t!==Hn;e&&!r.current&&(r.current=t),!e&&r.current&&(r.current=null)}),[t]),r.current?En(t,r.current):Hn}function _r(t){return(0,e.useMemo)((()=>t?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(t):null),[t])}const Zr=[];const Xr=[{sensor:Pr,options:{}},{sensor:Ir,options:{}}],Jr={current:{}},Qr={draggable:{measure:rr},droppable:{measure:rr,strategy:Br.WhileDragging,frequency:Gr.Optimized},dragOverlay:{measure:nr}};class $r extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const eo={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new $r,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:zn},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Qr,measureDroppableContainers:zn,windowRect:null,measuringScheduled:!1},to={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:zn,draggableNodes:new Map,over:null,measureDroppableContainers:zn},no=(0,e.createContext)(to),ro=(0,e.createContext)(eo);function oo(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new $r}}}function io(e,t){switch(t.type){case Nn.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Nn.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Nn.DragEnd:case Nn.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Nn.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new $r(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case Nn.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const s=new $r(e.droppable.containers);return s.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:s}}}case Nn.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new $r(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function so(t){let{disabled:n}=t;const{active:r,activatorEvent:o,draggableNodes:i}=(0,e.useContext)(no),s=wn(o),a=wn(null==r?void 0:r.id);return(0,e.useEffect)((()=>{if(!n&&!o&&s&&null!=a){if(!Rn(s))return;if(document.activeElement===s.target)return;const e=i.get(a);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=Mn(e);if(t){t.focus();break}}}))}}),[o,n,i,a,s]),null}const ao=(0,e.createContext)({...Hn,scaleX:1,scaleY:1});var lo;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(lo||(lo={}));const uo=(0,e.memo)((function(n){var r,o,i,s;let{id:a,accessibility:l,autoScroll:u=!0,children:c,sensors:d=Xr,collisionDetection:h=Jn,measuring:f,modifiers:g,...p}=n;const m=(0,e.useReducer)(io,void 0,oo),[b,v]=m,[w,y]=function(){const[t]=(0,e.useState)((()=>new Set)),n=(0,e.useCallback)((e=>(t.add(e),()=>t.delete(e))),[t]);return[(0,e.useCallback)((e=>{let{type:n,event:r}=e;t.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[t]),n]}(),[C,x]=(0,e.useState)(lo.Uninitialized),S=C===lo.Initialized,{draggable:{active:E,nodes:R,translate:O},droppable:{containers:I}}=b,k=E?R.get(E):null,M=(0,e.useRef)({initial:null,translated:null}),F=(0,e.useMemo)((()=>{var e;return null!=E?{id:E,data:null!=(e=null==k?void 0:k.data)?e:Jr,rect:M}:null}),[E,k]),D=(0,e.useRef)(null),[P,A]=(0,e.useState)(null),[V,T]=(0,e.useState)(null),L=mn(p,Object.values(p)),N=Cn("DndDescribedBy",a),z=(0,e.useMemo)((()=>I.getEnabled()),[I]),B=(G=f,(0,e.useMemo)((()=>({draggable:{...Qr.draggable,...null==G?void 0:G.draggable},droppable:{...Qr.droppable,...null==G?void 0:G.droppable},dragOverlay:{...Qr.dragOverlay,...null==G?void 0:G.dragOverlay}})),[null==G?void 0:G.draggable,null==G?void 0:G.droppable,null==G?void 0:G.dragOverlay]));var G;const{droppableRects:H,measureDroppableContainers:U,measuringScheduled:W}=function(t,n){let{dragging:r,dependencies:o,config:i}=n;const[s,a]=(0,e.useState)(null),{frequency:l,measure:u,strategy:c}=i,d=(0,e.useRef)(t),h=function(){switch(c){case Br.Always:return!1;case Br.BeforeDragging:return r;default:return!r}}(),f=mn(h),g=(0,e.useCallback)((function(e){void 0===e&&(e=[]),f.current||a((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[f]),p=(0,e.useRef)(null),m=bn((e=>{if(h&&!r)return Hr;if(!e||e===Hr||d.current!==t||null!=s){const e=new Map;for(let n of t){if(!n)continue;if(s&&s.length>0&&!s.includes(n.id)&&n.rect.current){e.set(n.id,n.rect.current);continue}const t=n.node.current,r=t?new vr(u(t),t):null;n.rect.current=r,r&&e.set(n.id,r)}return e}return e}),[t,s,r,h,u]);return(0,e.useEffect)((()=>{d.current=t}),[t]),(0,e.useEffect)((()=>{h||g()}),[r,h]),(0,e.useEffect)((()=>{s&&s.length>0&&a(null)}),[JSON.stringify(s)]),(0,e.useEffect)((()=>{h||"number"!=typeof l||null!==p.current||(p.current=setTimeout((()=>{g(),p.current=null}),l))}),[l,h,g,...o]),{droppableRects:m,measureDroppableContainers:g,measuringScheduled:null!=s}}(z,{dragging:S,dependencies:[O.x,O.y],config:B.droppable}),j=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return bn((e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(R,E),q=(0,e.useMemo)((()=>V?On(V):null),[V]),K=function(){const e=!1===(null==P?void 0:P.autoScrollEnabled),t="object"==typeof u?!1===u.enabled:!1===u,n=S&&!e&&!t;return"object"==typeof u?{...u,enabled:n}:{enabled:n}}(),Y=function(e,t){return Ur(e,t)}(j,B.draggable.measure);!function(t){let{activeNode:n,measure:r,initialRect:o,config:i=!0}=t;const s=(0,e.useRef)(!1),{x:a,y:l}="boolean"==typeof i?{x:i,y:i}:i;gn((()=>{if(!a&&!l||!n)return void(s.current=!1);if(s.current||!o)return;const e=null==n?void 0:n.node.current;if(!e||!1===e.isConnected)return;const t=Qn(r(e),o);if(a||(t.x=0),l||(t.y=0),s.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){const n=ir(e);n&&n.scrollBy({top:t.y,left:t.x})}}),[n,a,l,o,r])}({activeNode:E?R.get(E):null,config:K.layoutShiftCompensation,initialRect:Y,measure:B.draggable.measure});const _=qr(j,B.draggable.measure,Y),Z=qr(j?j.parentElement:null),X=(0,e.useRef)({activatorEvent:null,active:null,activeNode:j,collisionRect:null,collisions:null,droppableRects:H,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:I,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),J=I.getNodeFor(null==(r=X.current.over)?void 0:r.id),Q=function(t){let{measure:n}=t;const[r,o]=(0,e.useState)(null),i=Wr({callback:(0,e.useCallback)((e=>{for(const{target:t}of e)if(dn(t)){o((e=>{const r=n(t);return e?{...e,width:r.width,height:r.height}:r}));break}}),[n])}),s=(0,e.useCallback)((e=>{const t=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return dn(t)?t:e}(e);null==i||i.disconnect(),t&&(null==i||i.observe(t)),o(t?n(t):null)}),[n,i]),[a,l]=vn(s);return(0,e.useMemo)((()=>({nodeRef:a,rect:r,setRef:l})),[r,a,l])}({measure:B.dragOverlay.measure}),$=null!=(o=Q.nodeRef.current)?o:j,ee=S?null!=(i=Q.rect)?i:_:null,te=Boolean(Q.nodeRef.current&&Q.rect),ne=Qn(re=te?null:_,Ur(re));var re;const oe=_r($?un($):null),ie=function(t){const n=(0,e.useRef)(t),r=bn((e=>t?e&&e!==Kr&&t&&n.current&&t.parentNode===n.current.parentNode?e:or(t):Kr),[t]);return(0,e.useEffect)((()=>{n.current=t}),[t]),r}(S?null!=J?J:j:null),se=function(t,n){void 0===n&&(n=nr);const[r]=t,o=_r(r?un(r):null),[i,s]=(0,e.useReducer)((function(){return t.length?t.map((e=>dr(e)?o:new vr(n(e),e))):Zr}),Zr),a=Wr({callback:s});return t.length>0&&i===Zr&&s(),gn((()=>{t.length?t.forEach((e=>null==a?void 0:a.observe(e))):(null==a||a.disconnect(),s())}),[t]),i}(ie),ae=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}(g,{transform:{x:O.x-ne.x,y:O.y-ne.y,scaleX:1,scaleY:1},activatorEvent:V,active:F,activeNodeRect:_,containerNodeRect:Z,draggingNodeRect:ee,over:X.current.over,overlayNodeRect:Q.rect,scrollableAncestors:ie,scrollableAncestorRects:se,windowRect:oe}),le=q?Sn(q,O):null,ue=function(t){const[n,r]=(0,e.useState)(null),o=(0,e.useRef)(t),i=(0,e.useCallback)((e=>{const t=sr(e.target);t&&r((e=>e?(e.set(t,ur(t)),new Map(e)):null))}),[]);return(0,e.useEffect)((()=>{const e=o.current;if(t!==e){n(e);const s=t.map((e=>{const t=sr(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,ur(t)]):null})).filter((e=>null!=e));r(s.length?new Map(s):null),o.current=t}return()=>{n(t),n(e)};function n(e){e.forEach((e=>{const t=sr(e);null==t||t.removeEventListener("scroll",i)}))}}),[i,t]),(0,e.useMemo)((()=>t.length?n?Array.from(n.values()).reduce(((e,t)=>Sn(e,t)),Hn):mr(t):Hn),[t,n])}(ie),ce=Yr(ue),de=Yr(ue,[_]),he=Sn(ae,ce),fe=ee?er(ee,ae):null,ge=F&&fe?h({active:F,collisionRect:fe,droppableRects:H,droppableContainers:z,pointerCoordinates:le}):null,pe=Kn(ge,"id"),[me,be]=(0,e.useState)(null),ve=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(te?ae:Sn(ae,de),null!=(s=null==me?void 0:me.rect)?s:null,_),we=(0,e.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==D.current)return;const o=R.get(D.current);if(!o)return;const i=e.nativeEvent,s=new n({active:D.current,activeNode:o,event:i,options:r,context:X,onStart(e){const t=D.current;if(null==t)return;const n=R.get(t);if(!n)return;const{onDragStart:r}=L.current,o={active:{id:t,data:n.data,rect:M}};(0,ye.unstable_batchedUpdates)((()=>{null==r||r(o),x(lo.Initializing),v({type:Nn.DragStart,initialCoordinates:e,active:t}),w({type:"onDragStart",event:o})}))},onMove(e){v({type:Nn.DragMove,coordinates:e})},onEnd:a(Nn.DragEnd),onCancel:a(Nn.DragCancel)});function a(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=X.current;let s=null;if(t&&o){const{cancelDrop:a}=L.current;s={activatorEvent:i,active:t,collisions:n,delta:o,over:r},e===Nn.DragEnd&&"function"==typeof a&&await Promise.resolve(a(s))&&(e=Nn.DragCancel)}D.current=null,(0,ye.unstable_batchedUpdates)((()=>{v({type:e}),x(lo.Uninitialized),be(null),A(null),T(null);const t=e===Nn.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=L.current[t];null==e||e(s),w({type:t,event:s})}}))}}(0,ye.unstable_batchedUpdates)((()=>{A(s),T(e.nativeEvent)}))}),[R]),Ce=(0,e.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=R.get(r);if(null!==D.current||!i||o.dndKit||o.defaultPrevented)return;const s={active:i};!0===e(n,t.options,s)&&(o.dndKit={capturedBy:t.sensor},D.current=r,we(n,t))}),[R,we]),xe=function(t,n){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{const{sensor:r}=t;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:n(e.handler,t)})))]}),[])),[t,n])}(d,Ce);!function(t){(0,e.useEffect)((()=>{if(!sn)return;const e=t.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const t of e)null==t||t()}}),t.map((e=>{let{sensor:t}=e;return t})))}(d),gn((()=>{_&&C===lo.Initializing&&x(lo.Initialized)}),[_,C]),(0,e.useEffect)((()=>{const{onDragMove:e}=L.current,{active:t,activatorEvent:n,collisions:r,over:o}=X.current;if(!t||!n)return;const i={active:t,activatorEvent:n,collisions:r,delta:{x:he.x,y:he.y},over:o};(0,ye.unstable_batchedUpdates)((()=>{null==e||e(i),w({type:"onDragMove",event:i})}))}),[he.x,he.y]),(0,e.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=X.current;if(!e||null==D.current||!t||!o)return;const{onDragOver:i}=L.current,s=r.get(pe),a=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:a};(0,ye.unstable_batchedUpdates)((()=>{be(a),null==i||i(l),w({type:"onDragOver",event:l})}))}),[pe]),gn((()=>{X.current={activatorEvent:V,active:F,activeNode:j,collisionRect:fe,collisions:ge,droppableRects:H,draggableNodes:R,draggingNode:$,draggingNodeRect:ee,droppableContainers:I,over:me,scrollableAncestors:ie,scrollAdjustedTranslate:he},M.current={initial:ee,translated:fe}}),[F,j,ge,fe,R,$,ee,H,I,me,ie,he]),function(t){let{acceleration:n,activator:r=Lr.Pointer,canScroll:o,draggingRect:i,enabled:s,interval:a=5,order:l=Nr.TreeOrder,pointerCoordinates:u,scrollableAncestors:c,scrollableAncestorRects:d,delta:h,threshold:f}=t;const g=function(e){let{delta:t,disabled:n}=e;const r=wn(t);return bn((e=>{if(n||!r||!e)return zr;const o=Math.sign(t.x-r.x),i=Math.sign(t.y-r.y);return{x:{[cr.Backward]:e.x[cr.Backward]||-1===o,[cr.Forward]:e.x[cr.Forward]||1===o},y:{[cr.Backward]:e.y[cr.Backward]||-1===i,[cr.Forward]:e.y[cr.Forward]||1===i}}}),[n,t,r])}({delta:h,disabled:!s}),[p,m]=function(){const t=(0,e.useRef)(null);return[(0,e.useCallback)(((e,n)=>{t.current=setInterval(e,n)}),[]),(0,e.useCallback)((()=>{null!==t.current&&(clearInterval(t.current),t.current=null)}),[])]}(),b=(0,e.useRef)({x:0,y:0}),v=(0,e.useRef)({x:0,y:0}),w=(0,e.useMemo)((()=>{switch(r){case Lr.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case Lr.DraggableRect:return i}}),[r,i,u]),y=(0,e.useRef)(null),C=(0,e.useCallback)((()=>{const e=y.current;if(!e)return;const t=b.current.x*v.current.x,n=b.current.y*v.current.y;e.scrollBy(t,n)}),[]),x=(0,e.useMemo)((()=>l===Nr.TreeOrder?[...c].reverse():c),[l,c]);(0,e.useEffect)((()=>{if(s&&c.length&&w){for(const e of x){if(!1===(null==o?void 0:o(e)))continue;const t=c.indexOf(e),r=d[t];if(!r)continue;const{direction:i,speed:s}=gr(e,r,w,n,f);for(const e of["x","y"])g[e][i[e]]||(s[e]=0,i[e]=0);if(s.x>0||s.y>0)return m(),y.current=e,p(C,a),b.current=s,void(v.current=i)}b.current={x:0,y:0},v.current={x:0,y:0},m()}else m()}),[n,C,o,m,s,a,JSON.stringify(w),JSON.stringify(g),p,c,x,d,JSON.stringify(f)])}({...K,delta:O,draggingRect:fe,pointerCoordinates:le,scrollableAncestors:ie,scrollableAncestorRects:se});const Se=(0,e.useMemo)((()=>({active:F,activeNode:j,activeNodeRect:_,activatorEvent:V,collisions:ge,containerNodeRect:Z,dragOverlay:Q,draggableNodes:R,droppableContainers:I,droppableRects:H,over:me,measureDroppableContainers:U,scrollableAncestors:ie,scrollableAncestorRects:se,measuringConfiguration:B,measuringScheduled:W,windowRect:oe})),[F,j,_,V,ge,Z,Q,R,I,H,me,U,ie,se,B,W,oe]),Ee=(0,e.useMemo)((()=>({activatorEvent:V,activators:xe,active:F,activeNodeRect:_,ariaDescribedById:{draggable:N},dispatch:v,draggableNodes:R,over:me,measureDroppableContainers:U})),[V,xe,F,_,v,N,R,me,U]);return t().createElement(An.Provider,{value:y},t().createElement(no.Provider,{value:Ee},t().createElement(ro.Provider,{value:Se},t().createElement(ao.Provider,{value:ve},c)),t().createElement(so,{disabled:!1===(null==l?void 0:l.restoreFocus)})),t().createElement(Ln,{...l,hiddenTextDescribedById:N}))})),co=(0,e.createContext)(null),ho="button",fo="Droppable";const go="Droppable",po={timeout:25};function mo(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function bo(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function vo(e){return null!==e&&e>=0}const wo=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=mo(t,r,n),s=t[o],a=i[o];return a&&s?{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}:null},yo={scaleX:1,scaleY:1},Co=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:s}=e;const a=null!=(t=i[n])?t:r;if(!a)return null;if(o===n){const e=i[s];return e?{x:0,y:n<s?e.top+e.height-(a.top+a.height):e.top-a.top,...yo}:null}const l=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(i,o,n);return o>n&&o<=s?{x:0,y:-a.height-l,...yo}:o<n&&o>=s?{x:0,y:a.height+l,...yo}:{x:0,y:0,...yo}},xo="Sortable",So=t().createContext({activeIndex:-1,containerId:xo,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:wo,disabled:{draggable:!1,droppable:!1}});function Eo(n){let{children:r,id:o,items:i,strategy:s=wo,disabled:a=!1}=n;const{active:l,dragOverlay:u,droppableRects:c,over:d,measureDroppableContainers:h}=(0,e.useContext)(ro),f=Cn(xo,o),g=Boolean(null!==u.rect),p=(0,e.useMemo)((()=>i.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[i]),m=null!=l,b=l?p.indexOf(l.id):-1,v=d?p.indexOf(d.id):-1,w=(0,e.useRef)(p),y=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(p,w.current),C=-1!==v&&-1===b||y,x=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(a);gn((()=>{y&&m&&h(p)}),[y,p,m,h]),(0,e.useEffect)((()=>{w.current=p}),[p]);const S=(0,e.useMemo)((()=>({activeIndex:b,containerId:f,disabled:x,disableTransforms:C,items:p,overIndex:v,useDragOverlay:g,sortedRects:bo(p,c),strategy:s})),[b,f,x.draggable,x.droppable,C,p,v,c,g,s]);return t().createElement(So.Provider,{value:S},r)}const Ro=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return mo(n,r,o).indexOf(t)},Oo=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:s,previousItems:a,previousContainerId:l,transition:u}=e;return!(!u||!r||a!==i&&o===s||!n&&(s===o||t!==l))},Io={duration:200,easing:"ease"},ko="transform",Mo=In.Transition.toString({property:ko,duration:0,easing:"linear"}),Fo={roleDescription:"sortable"};function Do(t){let{animateLayoutChanges:n=Oo,attributes:r,disabled:o,data:i,getNewIndex:s=Ro,id:a,strategy:l,resizeObserverConfig:u,transition:c=Io}=t;const{items:d,containerId:h,activeIndex:f,disabled:g,disableTransforms:p,sortedRects:m,overIndex:b,useDragOverlay:v,strategy:w}=(0,e.useContext)(So),y=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,g),C=d.indexOf(a),x=(0,e.useMemo)((()=>({sortable:{containerId:h,index:C,items:d},...i})),[h,i,C,d]),S=(0,e.useMemo)((()=>d.slice(d.indexOf(a))),[d,a]),{rect:E,node:R,isOver:O,setNodeRef:I}=function(t){let{data:n,disabled:r=!1,id:o,resizeObserverConfig:i}=t;const s=Cn(go),{active:a,dispatch:l,over:u,measureDroppableContainers:c}=(0,e.useContext)(no),d=(0,e.useRef)({disabled:r}),h=(0,e.useRef)(!1),f=(0,e.useRef)(null),g=(0,e.useRef)(null),{disabled:p,updateMeasurementsFor:m,timeout:b}={...po,...i},v=mn(null!=m?m:o),w=Wr({callback:(0,e.useCallback)((()=>{h.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{c(Array.isArray(v.current)?v.current:[v.current]),g.current=null}),b)):h.current=!0}),[b]),disabled:p||!a}),y=(0,e.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),h.current=!1),e&&w.observe(e))}),[w]),[C,x]=vn(y),S=mn(n);return(0,e.useEffect)((()=>{w&&C.current&&(w.disconnect(),h.current=!1,w.observe(C.current))}),[C,w]),gn((()=>(l({type:Nn.RegisterDroppable,element:{id:o,key:s,disabled:r,node:C,rect:f,data:S}}),()=>l({type:Nn.UnregisterDroppable,key:s,id:o}))),[o]),(0,e.useEffect)((()=>{r!==d.current.disabled&&(l({type:Nn.SetDroppableDisabled,id:o,key:s,disabled:r}),d.current.disabled=r)}),[o,s,r,l]),{active:a,rect:f,isOver:(null==u?void 0:u.id)===o,node:C,over:u,setNodeRef:x}}({id:a,data:x,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...u}}),{active:k,activatorEvent:M,activeNodeRect:F,attributes:D,setNodeRef:P,listeners:A,isDragging:V,over:T,setActivatorNodeRef:L,transform:N}=function(t){let{id:n,data:r,disabled:o=!1,attributes:i}=t;const s=Cn(fo),{activators:a,activatorEvent:l,active:u,activeNodeRect:c,ariaDescribedById:d,draggableNodes:h,over:f}=(0,e.useContext)(no),{role:g=ho,roleDescription:p="draggable",tabIndex:m=0}=null!=i?i:{},b=(null==u?void 0:u.id)===n,v=(0,e.useContext)(b?ao:co),[w,y]=vn(),[C,x]=vn(),S=function(t,n){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{let{eventName:r,handler:o}=t;return e[r]=e=>{o(e,n)},e}),{})),[t,n])}(a,n),E=mn(r);return gn((()=>(h.set(n,{id:n,key:s,node:w,activatorNode:C,data:E}),()=>{const e=h.get(n);e&&e.key===s&&h.delete(n)})),[h,n]),{active:u,activatorEvent:l,activeNodeRect:c,attributes:(0,e.useMemo)((()=>({role:g,tabIndex:m,"aria-disabled":o,"aria-pressed":!(!b||g!==ho)||void 0,"aria-roledescription":p,"aria-describedby":d.draggable})),[o,g,m,b,p,d.draggable]),isDragging:b,listeners:o?void 0:S,node:w,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:v}}({id:a,data:x,attributes:{...Fo,...r},disabled:y.draggable}),z=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,e.useMemo)((()=>e=>{n.forEach((t=>t(e)))}),n)}(I,P),B=Boolean(k),G=B&&!p&&vo(f)&&vo(b),H=!v&&V,U=H&&G?N:null,W=G?null!=U?U:(null!=l?l:w)({rects:m,activeNodeRect:F,activeIndex:f,overIndex:b,index:C}):null,j=vo(f)&&vo(b)?s({id:a,items:d,activeIndex:f,overIndex:b}):C,q=null==k?void 0:k.id,K=(0,e.useRef)({activeId:q,items:d,newIndex:j,containerId:h}),Y=d!==K.current.items,_=n({active:k,containerId:h,isDragging:V,isSorting:B,id:a,index:C,items:d,newIndex:K.current.newIndex,previousItems:K.current.items,previousContainerId:K.current.containerId,transition:c,wasDragging:null!=K.current.activeId}),Z=function(t){let{disabled:n,index:r,node:o,rect:i}=t;const[s,a]=(0,e.useState)(null),l=(0,e.useRef)(r);return gn((()=>{if(!n&&r!==l.current&&o.current){const e=i.current;if(e){const t=nr(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&a(n)}}r!==l.current&&(l.current=r)}),[n,r,o,i]),(0,e.useEffect)((()=>{s&&a(null)}),[s]),s}({disabled:!_,index:C,node:R,rect:E});return(0,e.useEffect)((()=>{B&&K.current.newIndex!==j&&(K.current.newIndex=j),h!==K.current.containerId&&(K.current.containerId=h),d!==K.current.items&&(K.current.items=d)}),[B,j,h,d]),(0,e.useEffect)((()=>{if(q===K.current.activeId)return;if(q&&!K.current.activeId)return void(K.current.activeId=q);const e=setTimeout((()=>{K.current.activeId=q}),50);return()=>clearTimeout(e)}),[q]),{active:k,activeIndex:f,attributes:D,data:x,rect:E,index:C,newIndex:j,items:d,isOver:O,isSorting:B,isDragging:V,listeners:A,node:R,overIndex:b,over:T,setNodeRef:z,setActivatorNodeRef:L,setDroppableNodeRef:I,setDraggableNodeRef:P,transform:null!=Z?Z:W,transition:Z||Y&&K.current.newIndex===C?Mo:H&&!Rn(M)||!c?void 0:B||_?In.Transition.toString({...c,property:ko}):void 0}}function Po(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const Ao=[xr.Down,xr.Right,xr.Up,xr.Left],Vo=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:i,over:s,scrollableAncestors:a}}=t;if(Ao.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];i.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const i=o.get(n.id);if(i)switch(e.code){case xr.Down:r.top<i.top&&t.push(n);break;case xr.Up:r.top>i.top&&t.push(n);break;case xr.Left:r.left>i.left&&t.push(n);break;case xr.Right:r.left<i.left&&t.push(n)}}));const l=(e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=qn(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=qn(r),s=o.reduce(((e,t,r)=>e+Un(n[r],t)),0),a=Number((s/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:a}})}}return i.sort(Wn)})({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null});let u=Kn(l,"id");if(u===(null==s?void 0:s.id)&&l.length>1&&(u=l[1].id),null!=u){const e=i.get(n.id),t=i.get(u),s=t?o.get(t.id):null,l=null==t?void 0:t.node.current;if(l&&s&&e&&t){const n=or(l).some(((e,t)=>a[t]!==e)),o=To(e,t),i=function(e,t){return!(!Po(e)||!Po(t))&&!!To(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index}(e,t),u=n||!o?{x:0,y:0}:{x:i?r.width-s.width:0,y:i?r.height-s.height:0},c={x:s.left,y:s.top};return u.x&&u.y?c:En(c,u)}}}};function To(e,t){return!(!Po(e)||!Po(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}const Lo=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:r}=e;return n&&t?function(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}(r,n,t):r},No=e=>{let{transform:t}=e;return{...t,x:0}},zo={list:"UFXv660XisMp2k7oIkOA",item:"cuno_GtO4bhcM59n00B2",handle:"fOOS92b6g0h9pAqn_2JI"},Bo=(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256"},(0,e.createElement)("rect",{width:"256",height:"256",fill:"none"}),(0,e.createElement)("circle",{cx:"91",cy:"60",r:"16"}),(0,e.createElement)("circle",{cx:"91",cy:"128",r:"16"}),(0,e.createElement)("circle",{cx:"91",cy:"196",r:"16"}),(0,e.createElement)("circle",{cx:"161",cy:"60",r:"16"}),(0,e.createElement)("circle",{cx:"161",cy:"128",r:"16"}),(0,e.createElement)("circle",{cx:"161",cy:"196",r:"16"}));function Go({label:t,className:n="",...r}){return(0,e.createElement)(i.Button,{className:Le("gb-sortable-listitem__handle",zo.handle,n),variant:"tertiary",showTooltip:!1,icon:Bo,label:t,...r})}function Ho({children:t,id:n,dragHandle:r=!0,dragHandleLabel:o=(0,s.__)("Reorder Item","generateblocks"),as:i="li",className:a="",disabled:l=!1}){const{active:u,attributes:c,listeners:d,setNodeRef:h,transform:f,transition:g,isDragging:p}=Do({id:n,disabled:l,data:{disabled:l}}),m={transform:In.Transform.toString(f),transition:g};u&&u.id===n&&(m.zIndex=1);const b=i,v=r?{ref:h,style:m}:{ref:h,style:m,...c,...d};return(0,e.createElement)(b,{className:Le("gb-sortable-listitem",zo.item,a,p&&"is-dragging"),"data-component":"SortableListItem",...v},r&&(0,e.createElement)(Go,{label:o,...c,...d}),t)}const Uo=(0,o.forwardRef)((function({itemComponent:t,onDragStart:n,onDragEnd:r,items:i,setItems:a,dragHandle:l=!0,dragHandleLabel:u=(0,s.__)("Reorder Item","generateblocks-pro"),className:c=""},d){const[h,f]=(0,o.useState)(!1),[g,p]=(0,o.useState)(null),m=Gn(Bn(Pr),Bn(Ir,{coordinateGetter:Vo})),b=t,v=(0,o.useMemo)((()=>i.map((e=>(e.id||(e.id=qe()),e)))),[i]);return(0,e.createElement)(uo,{modifiers:[No,Lo],sensors:m,collisionDetection:Zn,onDragStart:e=>{const{active:t}=e;f(!0),p(t),n&&n(e)},onDragEnd:e=>{f(!1),function(e){var t;const{active:n,over:r}=e,o=null!==(t=r.data.current?.disabled)&&void 0!==t&&t;if(n.id!==r.id&&!o){const e=i.findIndex((e=>e.id===n.id)),t=i.findIndex((e=>e.id===r.id));a(mo(i,e,t))}}(e),p(null),r&&r(e,g)}},(0,e.createElement)("ul",{className:Le("gb-sortable-list",zo.list,c,h&&"is-dragging"),ref:d},(0,e.createElement)(Eo,{items:v,strategy:Co},i.map(((t,n)=>{var r;return(0,e.createElement)(Ho,{key:`${t.id}${n}`,id:t.id,dragHandle:l,dragHandleLabel:u,disabled:null!==(r=t.disabled)&&void 0!==r&&r},(0,e.createElement)(b,{item:t,index:n}))})))))})),Wo={flex:"rDe4XxEMyRee1hSKKXzn",horizontal:"Yg1nkwz9mFYMuk6zv1DW",flow:"b6i6J_7eUIspcsEZ3Qia",vertical:"dfG8sfdNVPzQp7pqgYJQ"};function jo({children:t,gap:n,layout:r="flow",direction:o="vertical",as:i="div",wrap:s=!0,className:a="",style:l={},...u}){const c=i,d={...l,"--gap":n};return"flex"===r&&(d.flexWrap=s?"wrap":"nowrap"),(0,e.createElement)(c,{...u,className:Le("gb-stack",Wo[o],Wo[r],a),style:d},t)}function qo(e,t){return"function"==typeof e?e(t):e}function Ko(e,t){return n=>{t.setState((t=>({...t,[e]:qo(n,t[e])})))}}function Yo(e){return e instanceof Function}function _o(e,t,n){let r,o=[];return i=>{let s;n.key&&n.debug&&(s=Date.now());const a=e(i);if(a.length===o.length&&!a.some(((e,t)=>o[t]!==e)))return r;let l;if(o=a,n.key&&n.debug&&(l=Date.now()),r=t(...a),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-s))/100,t=Math.round(100*(Date.now()-l))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function Zo(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}const Xo="debugHeaders";function Jo(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const Qo={createTable:e=>{e.getHeaderGroups=_o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var i,s;const a=null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],l=null!=(s=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?s:[];return $o(t,[...a,...n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),...l],e)}),Zo(e.options,Xo)),e.getCenterHeaderGroups=_o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>$o(t,n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),e,"center")),Zo(e.options,Xo)),e.getLeftHeaderGroups=_o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;const i=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return $o(t,i,e,"left")}),Zo(e.options,Xo)),e.getRightHeaderGroups=_o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;const i=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return $o(t,i,e,"right")}),Zo(e.options,Xo)),e.getFooterGroups=_o((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Zo(e.options,Xo)),e.getLeftFooterGroups=_o((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Zo(e.options,Xo)),e.getCenterFooterGroups=_o((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Zo(e.options,Xo)),e.getRightFooterGroups=_o((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Zo(e.options,Xo)),e.getFlatHeaders=_o((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Zo(e.options,Xo)),e.getLeftFlatHeaders=_o((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Zo(e.options,Xo)),e.getCenterFlatHeaders=_o((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Zo(e.options,Xo)),e.getRightFlatHeaders=_o((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Zo(e.options,Xo)),e.getCenterLeafHeaders=_o((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Zo(e.options,Xo)),e.getLeftLeafHeaders=_o((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Zo(e.options,Xo)),e.getRightLeafHeaders=_o((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Zo(e.options,Xo)),e.getLeafHeaders=_o((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,i,s,a,l;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(i=null==(s=t[0])?void 0:s.headers)?i:[],...null!=(a=null==(l=n[0])?void 0:l.headers)?a:[]].map((e=>e.getLeafHeaders())).flat()}),Zo(e.options,Xo))}};function $o(e,t,n,r){var o,i;let s=0;const a=function(e,t){void 0===t&&(t=1),s=Math.max(s,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&a(e.columns,t+1)}),0)};a(e);let l=[];const u=(e,t)=>{const o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const s=[...i].reverse()[0];let a,l=!1;if(e.column.depth===o.depth&&e.column.parent?a=e.column.parent:(a=e.column,l=!0),s&&(null==s?void 0:s.column)===a)s.subHeaders.push(e);else{const o=Jo(n,a,{id:[r,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${i.filter((e=>e.column===a)).length}`:void 0,depth:t,index:i.length});o.subHeaders.push(e),i.push(o)}o.headers.push(e),e.headerGroup=o})),l.push(o),t>0&&u(i,t-1)},c=t.map(((e,t)=>Jo(n,e,{depth:s,index:t})));u(c,s-1),l.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];return e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1,n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(i=l[0])?void 0:i.headers)?o:[]),l}const ei=(e,t,n,r,o,i,s)=>{let a={id:t,index:r,original:n,depth:o,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(a._valuesCache.hasOwnProperty(t))return a._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(a._valuesCache[t]=n.accessorFn(a.original,r),a._valuesCache[t]):void 0},getUniqueValues:t=>{if(a._uniqueValuesCache.hasOwnProperty(t))return a._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(a._uniqueValuesCache[t]=n.columnDef.getUniqueValues(a.original,r),a._uniqueValuesCache[t]):(a._uniqueValuesCache[t]=[a.getValue(t)],a._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=a.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>function(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n}(a.subRows,(e=>e.subRows)),getParentRow:()=>a.parentId?e.getRow(a.parentId,!0):void 0,getParentRows:()=>{let e=[],t=a;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:_o((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:_o((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Zo(e.options,"debugCells"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,a,t,t.id)))),Zo(e.options,"debugRows")),_getAllCellsByColumnId:_o((()=>[a.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Zo(e.options,"debugRows"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(a,e)}return a},ti={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},ni=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};ni.autoRemove=e=>hi(e);const ri=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};ri.autoRemove=e=>hi(e);const oi=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};oi.autoRemove=e=>hi(e);const ii=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};ii.autoRemove=e=>hi(e)||!(null!=e&&e.length);const si=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));si.autoRemove=e=>hi(e)||!(null!=e&&e.length);const ai=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));ai.autoRemove=e=>hi(e)||!(null!=e&&e.length);const li=(e,t,n)=>e.getValue(t)===n;li.autoRemove=e=>hi(e);const ui=(e,t,n)=>e.getValue(t)==n;ui.autoRemove=e=>hi(e);const ci=(e,t,n)=>{let[r,o]=n;const i=e.getValue(t);return i>=r&&i<=o};ci.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(r)?-1/0:r,s=null===n||Number.isNaN(o)?1/0:o;if(i>s){const e=i;i=s,s=e}return[i,s]},ci.autoRemove=e=>hi(e)||hi(e[0])&&hi(e[1]);const di={includesString:ni,includesStringSensitive:ri,equalsString:oi,arrIncludes:ii,arrIncludesAll:si,arrIncludesSome:ai,equals:li,weakEquals:ui,inNumberRange:ci};function hi(e){return null==e||""===e}const fi={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Ko("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?di.includesString:"number"==typeof r?di.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?di.equals:Array.isArray(r)?di.arrIncludes:di.weakEquals},e.getFilterFn=()=>{var n,r;return Yo(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:di[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),i=qo(n,o?o.value:void 0);var s;if(gi(r,i,e))return null!=(s=null==t?void 0:t.filter((t=>t.id!==e.id)))?s:[];const a={id:e.id,value:i};var l;return o?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?a:t)))?l:[]:null!=t&&t.length?[...t,a]:[a]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=qo(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));return!t||!gi(t.getFilterFn(),e.value,t)}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function gi(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const pi={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o<n&&(o=n)))})),[r,o]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const r=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[r]:(o[r-1]+o[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},mi={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Ko("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?pi.sum:"[object Date]"===Object.prototype.toString.call(r)?pi.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Yo(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:pi[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}},bi={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Ko("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=_o((e=>[Ei(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Zo(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return(null==(r=Ei(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Ei(t,n);return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=_o((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));if("remove"===n)return r;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]}(o,t,n)}),Zo(e.options,"debugTable"))}},vi={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Ko("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,i,s,a,l;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,i=n.some((e=>null==r?void 0:r.includes(e))),s=n.some((e=>null==o?void 0:o.includes(e)));return i?"left":!!s&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=_o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Zo(t.options,"debugRows")),e.getLeftVisibleCells=_o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})));return n}),Zo(t.options,"debugRows")),e.getRightVisibleCells=_o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})));return n}),Zo(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,i;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(i=r.right)?void 0:i.length))},e.getLeftLeafColumns=_o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Zo(e.options,"debugColumns")),e.getRightLeafColumns=_o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Zo(e.options,"debugColumns")),e.getCenterLeafColumns=_o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Zo(e.options,"debugColumns"))}},wi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},yi={getDefaultColumnDef:()=>wi,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Ko("columnSizing",e),onColumnSizingInfoChange:Ko("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:wi.minSize,null!=(r=null!=i?i:e.columnDef.size)?r:wi.size),null!=(o=e.columnDef.maxSize)?o:wi.maxSize)},e.getStart=_o((e=>[e,Ei(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Zo(t.options,"debugColumns")),e.getAfter=_o((e=>[e,Ei(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Zo(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return i=>{if(!r||!o)return;if(null==i.persist||i.persist(),xi(i)&&i.touches&&i.touches.length>1)return;const s=e.getSize(),a=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],l=xi(i)?Math.round(i.touches[0].clientX):i.clientX,u={},c=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const i="rtl"===t.options.columnResizeDirection?-1:1,s=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*i,a=Math.max(s/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;u[t]=Math.round(100*Math.max(n+n*a,0))/100})),{...e,deltaOffset:s,deltaPercentage:a}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...u}))))},d=e=>c("move",e),h=e=>{c("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},f=n||"undefined"!=typeof document?document:null,g={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",g.moveHandler),null==f||f.removeEventListener("mouseup",g.upHandler),h(e.clientX)}},p={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",p.moveHandler),null==f||f.removeEventListener("touchend",p.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof Ci)return Ci;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return Ci=e,Ci}()&&{passive:!1};xi(i)?(null==f||f.addEventListener("touchmove",p.moveHandler,m),null==f||f.addEventListener("touchend",p.upHandler,m)):(null==f||f.addEventListener("mousemove",g.moveHandler,m),null==f||f.addEventListener("mouseup",g.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:l,startSize:s,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let Ci=null;function xi(e){return"touchstart"===e.type}const Si={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Ko("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=_o((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Zo(t.options,"debugRows")),e.getVisibleCells=_o((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Zo(t.options,"debugRows"))},createTable:e=>{const t=(t,n)=>_o((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Zo(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function Ei(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ri={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Ko("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>qo(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=qo(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,qo(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=qo(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=_o((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Zo(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Oi={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:Ko("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const i=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],s=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],a=new Set([...s,e.id,...i]);t.setRowPinning((e=>{var t,r,o,i,s,l;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)]}:"top"===n?{top:[...(null!=(s=null==e?void 0:e.top)?s:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter((e=>!(null!=a&&a.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=a&&a.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,i=n.some((e=>null==r?void 0:r.includes(e))),s=n.some((e=>null==o?void 0:o.includes(e)));return i?"top":!!s&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const i=null==(n="top"===o?t.getTopRows():t.getBottomRows())?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==i?void 0:i.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,i;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(i=r.bottom)?void 0:i.length))},e._getPinnedRows=(t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))},e.getTopRows=_o((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,n)=>e._getPinnedRows(t,n,"top")),Zo(e.options,"debugRows")),e.getBottomRows=_o((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,n)=>e._getPinnedRows(t,n,"bottom")),Zo(e.options,"debugRows")),e.getCenterRows=_o((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Zo(e.options,"debugRows"))}},Ii={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Ko("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{ki(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=_o((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Mi(e,n):{rows:[],flatRows:[],rowsById:{}}),Zo(e.options,"debugTable")),e.getFilteredSelectedRowModel=_o((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Mi(e,n):{rows:[],flatRows:[],rowsById:{}}),Zo(e.options,"debugTable")),e.getGroupedSelectedRowModel=_o((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Mi(e,n):{rows:[],flatRows:[],rowsById:{}}),Zo(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((i=>{var s;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return i;const a={...i};return ki(a,e.id,n,null==(s=null==r?void 0:r.selectChildren)||s,t),a}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Fi(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Di(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Di(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},ki=(e,t,n,r,o)=>{var i;const s=o.getRow(t,!0);n?(s.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),s.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(i=s.subRows)&&i.length&&s.getCanSelectSubRows()&&s.subRows.forEach((t=>ki(e,t.id,n,r,o)))};function Mi(e,t){const n=e.getState().rowSelection,r=[],o={},i=function(e,t){return e.map((e=>{var t;const s=Fi(e,n);if(s&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),s)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function Fi(e,t){var n;return null!=(n=t[e.id])&&n}function Di(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,i=!1;return e.subRows.forEach((e=>{if((!i||o)&&(e.getCanSelect()&&(Fi(e,t)?i=!0:o=!1),e.subRows&&e.subRows.length)){const n=Di(e,t);"all"===n?i=!0:"some"===n?(i=!0,o=!1):o=!1}})),o?"all":!!i&&"some"}const Pi=/([0-9]+)/gm;function Ai(e,t){return e===t?0:e>t?1:-1}function Vi(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Ti(e,t){const n=e.split(Pi).filter(Boolean),r=t.split(Pi).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),i=parseInt(t,10),s=[o,i].sort();if(isNaN(s[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(s[1]))return isNaN(o)?-1:1;if(o>i)return 1;if(i>o)return-1}}return n.length-r.length}const Li={alphanumeric:(e,t,n)=>Ti(Vi(e.getValue(n)).toLowerCase(),Vi(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Ti(Vi(e.getValue(n)),Vi(t.getValue(n))),text:(e,t,n)=>Ai(Vi(e.getValue(n)).toLowerCase(),Vi(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Ai(Vi(e.getValue(n)),Vi(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},basic:(e,t,n)=>Ai(e.getValue(n),t.getValue(n))},Ni={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Ko("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Li.datetime;if("string"==typeof n&&(r=!0,n.split(Pi).length>1))return Li.alphanumeric}return r?Li.text:Li.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Yo(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Li[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),i=null!=n;t.setSorting((s=>{const a=null==s?void 0:s.find((t=>t.id===e.id)),l=null==s?void 0:s.findIndex((t=>t.id===e.id));let u,c=[],d=i?n:"desc"===o;var h;return u=null!=s&&s.length&&e.getCanMultiSort()&&r?a?"toggle":"add":null!=s&&s.length&&l!==s.length-1?"replace":a?"toggle":"replace","toggle"===u&&(i||o||(u="remove")),"add"===u?(c=[...s,{id:e.id,desc:d}],c.splice(0,c.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):c="toggle"===u?s.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===u?s.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}],c}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const i=e.getFirstSortDir(),s=e.getIsSorted();return s?!!(s===i||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===s?"asc":"desc"):i},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},zi=[Qo,Si,bi,vi,ti,fi,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Ko("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>di.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Yo(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:di[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Ni,mi,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Ko("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var o;const i=!0===r||!(null==r||!r[e.id]);let s={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{s[e]=!0})):s=r,n=null!=(o=n)?o:!i,!i&&n)return{...s,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=s;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Ri,Oi,Ii,yi];function Bi(e){var t,n;const r=[...zi,...null!=(t=e._features)?t:[]];let o={_features:r};const i=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let s={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;s=null!=(t=null==e.getInitialState?void 0:e.getInitialState(s))?t:s}));const a=[];let l=!1;const u={_features:r,options:{...i,...e},initialState:s,_queue:e=>{a.push(e),l||(l=!0,Promise.resolve().then((()=>{for(;a.length;)a.shift()();l=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=qo(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(i,e):{...i,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.getCoreRowModel().rowsById[e],!n))throw new Error;return n},_getDefaultColumnDef:_o((()=>[o.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Zo(e,"debugColumns")),_getColumnDefs:()=>o.options.columns,getAllColumns:_o((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const i=function(e,t,n,r){var o,i;const s={...e._getDefaultColumnDef(),...t},a=s.accessorKey;let l,u=null!=(o=null!=(i=s.id)?i:a?a.replace(".","_"):void 0)?o:"string"==typeof s.header?s.header:void 0;if(s.accessorFn?l=s.accessorFn:a&&(l=a.includes(".")?e=>{let t=e;for(const e of a.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[s.accessorKey]),!u)throw new Error;let c={id:`${String(u)}`,accessorFn:l,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:_o((()=>[!0]),(()=>{var e;return[c,...null==(e=c.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Zo(e.options,"debugColumns")),getLeafColumns:_o((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=c.columns)&&t.length){let t=c.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[c]}),Zo(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(c,e);return c}(o,e,r,n),s=e;return i.columns=s.columns?t(s.columns,i,r+1):[],i}))};return t(e)}),Zo(e,"debugColumns")),getAllFlatColumns:_o((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Zo(e,"debugColumns")),_getAllFlatColumnsById:_o((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Zo(e,"debugColumns")),getAllLeafColumns:_o((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),Zo(e,"debugColumns")),getColumn:e=>o._getAllFlatColumnsById()[e]};Object.assign(o,u);for(let e=0;e<o._features.length;e++){const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}function Gi(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(r=t)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?e.createElement(t,n):t:null;var r}const Hi={table:"l03h0IHl5WOI4XvelHt3",striped:"pz9cxM_c8wpWcOh3bw5v"},Ui=function({row:t,canDrag:n}){var r,o;const{active:i,setNodeRef:s,transform:a,transition:l,isDragging:u}=Do({id:t.id,disabled:null!==(r=t?.disabled)&&void 0!==r&&r,data:{disabled:null!==(o=t?.disabled)&&void 0!==o&&o}}),c={backgroundColor:u?"#fff":void 0,transform:In.Transform.toString(a),transition:l,width:t?.getSize?`${t.getSize().width}px`:void 0,zIndex:i&&i.id===t.id?1:void 0},d=n?{ref:s,style:c,className:Le("gb-table__row","gb-table__row--draggable",u&&"is-dragging"),"data-row-id":t.id}:{};return(0,e.createElement)("tr",{...d,key:t.id,"data-row-id":t.id},t.getVisibleCells().map((t=>(0,e.createElement)("td",{key:t.id,className:"gb-table__cell"},Gi(t.column.columnDef.cell,t.getContext())))))};function Wi({columns:t,onDragStart:n,onDragEnd:r,onRowSelectionChange:i,rowSelection:s={},striped:a=!0,showHeader:l=!0,data:u=[],className:c="",draggableRows:d=!1,getRowId:h=(e=>e.id),enableRowSelection:f=!1,"aria-labelledby":g,"aria-label":p}){const m={},b=(0,o.useRef)(null);f&&(m.rowSelection=s);const v=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[r]=e.useState((()=>({current:Bi(n)}))),[o,i]=e.useState((()=>r.current.initialState));return r.current.setOptions((e=>({...e,...t,state:{...o,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),r.current}({data:u,columns:t,getCoreRowModel:e=>_o((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,o,i){void 0===o&&(o=0);const s=[];for(let l=0;l<t.length;l++){const u=ei(e,e._getRowId(t[l],l,i),t[l],l,o,void 0,null==i?void 0:i.id);var a;n.flatRows.push(u),n.rowsById[u.id]=u,s.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[l],l),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=r(u.originalSubRows,o+1,u)))}return s};return n.rows=r(t),n}),Zo(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))),getRowId:h,enableRowSelection:f,onRowSelectionChange:i,state:m}),w=v.getRowModel().rows,y=d&&!v.getIsSomeRowsSelected()&&!v.getIsAllRowsSelected(),C=Gn(Bn(Pr),Bn(Ir,{coordinateGetter:Vo}));if(!p&&!g)throw new Error("Table component requires an accessible label. Please add an aria-label or valid aria-labelledby prop.");return(0,e.createElement)(uo,{modifiers:[No,Lo],sensors:C,collisionDetection:Zn,onDragStart:n,onDragEnd:r},(0,e.createElement)("table",{className:Le("gb-table",Hi.table,a&&Hi.striped,c),cellPadding:0,"aria-label":p,"aria-labelledby":g,ref:b},l&&(0,e.createElement)("thead",null,v.getHeaderGroups().map((t=>(0,e.createElement)("tr",{key:t.id},t.headers.map((t=>(0,e.createElement)("th",{key:t.id,className:"gb-table__header",colSpan:t.colSpan,"data-column-id":t.column.id},t.isPlaceholder?null:Gi(t.column.columnDef.header,t.getContext())))))))),(0,e.createElement)("tbody",null,y?(0,e.createElement)(Eo,{items:w,strategy:Co},w.map((t=>(0,e.createElement)(Ui,{row:t,key:t.id,canDrag:y})))):(0,e.createElement)(e.Fragment,null,w.map((t=>(0,e.createElement)("tr",{key:t.id,className:"gb-table__row","data-row-id":t.id},t.getVisibleCells().map((t=>(0,e.createElement)("td",{key:t.id,className:"gb-table__cell","data-column-id":t.column.id},Gi(t.column.columnDef.cell,t.getContext())))))))))))}Wi.RowHandle=function({row:t,disabled:n=!1}){var r,o;const{attributes:i,listeners:a}=Do({id:t.id,disabled:n||null!==(r=t?.disabled)&&void 0!==r&&r,data:{disabled:n||null!==(o=t?.disabled)&&void 0!==o&&o}});return(0,e.createElement)(Go,{className:"gb-table__handle",variant:"tertiary",showTooltip:!1,label:(0,s.__)("Reorder style","generateblocks-pro"),...i,...a})},Wi.HeaderRowCheckbox=function({table:t,onChange:n,...r}){return(0,e.createElement)(Ke,{type:"checkbox",className:"components-checkbox-control__input gb-table__checkbox gb-table__checkbox--all",checked:t.getIsAllRowsSelected(),indeterminate:t.getIsSomeRowsSelected(),onChange:e=>{t.toggleAllRowsSelected(e.target.checked),n&&n(e)},...r})},Wi.RowCheckbox=function({row:t,"aria-label":n=(0,s.__)("Select row","generateblocks-pro"),...r}){return(0,e.createElement)(Ke,{checked:t.getIsSelected(),disabled:!t.getCanSelect(),onChange:t.getToggleSelectedHandler(),"aria-label":n,...r})}})(),r})(),e.exports=t()},528:e=>{e.exports=function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){return o(t[s][1][e]||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var i=void 0,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)o(n,r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){var t,n,r,o,i,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),o=0,t=0,n=e.length;t<n;t++)i=e[t],s.set(i,o),o+=i.length;return s}},s={arraySet:function(e,t,n,r,o){for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,s))},n.setTyped(r)},{}],2:[function(e,t,n){"use strict";var r=e("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,o,i,s,a=e.length,l=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),s=0,i=0;s<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|63&n):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|63&n):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,o=t.length;n<o;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,o,i,a=t||e.length,u=new Array(2*a);for(r=0,n=0;n<a;)if((o=e[n++])<128)u[r++]=o;else if((i=s[o])>4)u[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&n<a;)o=o<<6|63&e[n++],i--;i>1?u[r++]=65533:o<65536?u[r++]=o:(o-=65536,u[r++]=55296|o>>10&1023,u[r++]=56320|1023&o)}return l(u,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":1}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{i=i+(o=o+t[r++]|0)|0}while(--s);o%=65521,i%=65521}return o|i<<16|0}},{}],4:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],5:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,o){var i=r,s=o+n;e^=-1;for(var a=o;a<s;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}},{}],6:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],7:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,o,i,s,a,l,u,c,d,h,f,g,p,m,b,v,w,y,C,x,S,E,R,O;n=e.state,r=e.next_in,R=e.input,o=r+(e.avail_in-5),i=e.next_out,O=e.output,s=i-(t-e.avail_out),a=i+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,g=n.bits,p=n.lencode,m=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{g<15&&(f+=R[r++]<<g,g+=8,f+=R[r++]<<g,g+=8),w=p[f&b];t:for(;;){if(f>>>=y=w>>>24,g-=y,0==(y=w>>>16&255))O[i++]=65535&w;else{if(!(16&y)){if(0==(64&y)){w=p[(65535&w)+(f&(1<<y)-1)];continue t}if(32&y){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}C=65535&w,(y&=15)&&(g<y&&(f+=R[r++]<<g,g+=8),C+=f&(1<<y)-1,f>>>=y,g-=y),g<15&&(f+=R[r++]<<g,g+=8,f+=R[r++]<<g,g+=8),w=m[f&v];n:for(;;){if(f>>>=y=w>>>24,g-=y,!(16&(y=w>>>16&255))){if(0==(64&y)){w=m[(65535&w)+(f&(1<<y)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&w,g<(y&=15)&&(f+=R[r++]<<g,(g+=8)<y&&(f+=R[r++]<<g,g+=8)),(x+=f&(1<<y)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=y,g-=y,x>(y=i-s)){if((y=x-y)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=0,E=h,0===d){if(S+=u-y,y<C){C-=y;do{O[i++]=h[S++]}while(--y);S=i-x,E=O}}else if(d<y){if(S+=u+d-y,(y-=d)<C){C-=y;do{O[i++]=h[S++]}while(--y);if(S=0,d<C){C-=y=d;do{O[i++]=h[S++]}while(--y);S=i-x,E=O}}}else if(S+=d-y,y<C){C-=y;do{O[i++]=h[S++]}while(--y);S=i-x,E=O}for(;C>2;)O[i++]=E[S++],O[i++]=E[S++],O[i++]=E[S++],C-=3;C&&(O[i++]=E[S++],C>1&&(O[i++]=E[S++]))}else{S=i-x;do{O[i++]=O[S++],O[i++]=O[S++],O[i++]=O[S++],C-=3}while(C>2);C&&(O[i++]=O[S++],C>1&&(O[i++]=O[S++]))}break}}break}}while(r<o&&i<a);r-=C=g>>3,f&=(1<<(g-=C<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<a?a-i+257:257-(i-a),n.hold=f,n.bits=g}},{}],8:[function(e,t,n){"use strict";var r=e("../utils/common"),o=e("./adler32"),i=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),l=1,u=2,c=0,d=-2,h=1,f=12,g=30,p=852,m=592;function b(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,c):d}function y(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,w(e)):d}function C(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,y(e))):d}function x(e,t){var n,r;return e?(r=new v,e.state=r,r.window=null,(n=C(e,t))!==c&&(e.state=null),n):d}var S,E,R=!0;function O(e){if(R){var t;for(S=new r.Buf32(512),E=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(l,e.lens,0,288,S,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(u,e.lens,0,32,E,0,e.work,{bits:5}),R=!1}e.lencode=S,e.lenbits=9,e.distcode=E,e.distbits=5}function I(e,t,n,o){var i,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),o>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((i=s.wsize-s.wnext)>o&&(i=o),r.arraySet(s.window,t,n-o,i,s.wnext),(o-=i)?(r.arraySet(s.window,t,n-o,o,0),s.wnext=o,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=i))),0}n.inflateReset=y,n.inflateReset2=C,n.inflateResetKeep=w,n.inflateInit=function(e){return x(e,15)},n.inflateInit2=x,n.inflate=function(e,t){var n,p,m,v,w,y,C,x,S,E,R,k,M,F,D,P,A,V,T,L,N,z,B,G,H=0,U=new r.Buf8(4),W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;(n=e.state).mode===f&&(n.mode=13),w=e.next_out,m=e.output,C=e.avail_out,v=e.next_in,p=e.input,y=e.avail_in,x=n.hold,S=n.bits,E=y,R=C,z=c;e:for(;;)switch(n.mode){case h:if(0===n.wrap){n.mode=13;break}for(;S<16;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(2&n.wrap&&35615===x){n.check=0,U[0]=255&x,U[1]=x>>>8&255,n.check=i(n.check,U,2,0),x=0,S=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&x)<<8)+(x>>8))%31){e.msg="incorrect header check",n.mode=g;break}if(8!=(15&x)){e.msg="unknown compression method",n.mode=g;break}if(S-=4,N=8+(15&(x>>>=4)),0===n.wbits)n.wbits=N;else if(N>n.wbits){e.msg="invalid window size",n.mode=g;break}n.dmax=1<<N,e.adler=n.check=1,n.mode=512&x?10:f,x=0,S=0;break;case 2:for(;S<16;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(n.flags=x,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=g;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=g;break}n.head&&(n.head.text=x>>8&1),512&n.flags&&(U[0]=255&x,U[1]=x>>>8&255,n.check=i(n.check,U,2,0)),x=0,S=0,n.mode=3;case 3:for(;S<32;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.head&&(n.head.time=x),512&n.flags&&(U[0]=255&x,U[1]=x>>>8&255,U[2]=x>>>16&255,U[3]=x>>>24&255,n.check=i(n.check,U,4,0)),x=0,S=0,n.mode=4;case 4:for(;S<16;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.head&&(n.head.xflags=255&x,n.head.os=x>>8),512&n.flags&&(U[0]=255&x,U[1]=x>>>8&255,n.check=i(n.check,U,2,0)),x=0,S=0,n.mode=5;case 5:if(1024&n.flags){for(;S<16;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.length=x,n.head&&(n.head.extra_len=x),512&n.flags&&(U[0]=255&x,U[1]=x>>>8&255,n.check=i(n.check,U,2,0)),x=0,S=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((k=n.length)>y&&(k=y),k&&(n.head&&(N=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,p,v,k,N)),512&n.flags&&(n.check=i(n.check,p,k,v)),y-=k,v+=k,n.length-=k),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===y)break e;k=0;do{N=p[v+k++],n.head&&N&&n.length<65536&&(n.head.name+=String.fromCharCode(N))}while(N&&k<y);if(512&n.flags&&(n.check=i(n.check,p,k,v)),y-=k,v+=k,N)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===y)break e;k=0;do{N=p[v+k++],n.head&&N&&n.length<65536&&(n.head.comment+=String.fromCharCode(N))}while(N&&k<y);if(512&n.flags&&(n.check=i(n.check,p,k,v)),y-=k,v+=k,N)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;S<16;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(x!==(65535&n.check)){e.msg="header crc mismatch",n.mode=g;break}x=0,S=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=f;break;case 10:for(;S<32;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}e.adler=n.check=b(x),x=0,S=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=w,e.avail_out=C,e.next_in=v,e.avail_in=y,n.hold=x,n.bits=S,2;e.adler=n.check=1,n.mode=f;case f:if(5===t||6===t)break e;case 13:if(n.last){x>>>=7&S,S-=7&S,n.mode=27;break}for(;S<3;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}switch(n.last=1&x,S-=1,3&(x>>>=1)){case 0:n.mode=14;break;case 1:if(O(n),n.mode=20,6===t){x>>>=2,S-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=g}x>>>=2,S-=2;break;case 14:for(x>>>=7&S,S-=7&S;S<32;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if((65535&x)!=(x>>>16^65535)){e.msg="invalid stored block lengths",n.mode=g;break}if(n.length=65535&x,x=0,S=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(k=n.length){if(k>y&&(k=y),k>C&&(k=C),0===k)break e;r.arraySet(m,p,v,k,w),y-=k,v+=k,C-=k,w+=k,n.length-=k;break}n.mode=f;break;case 17:for(;S<14;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(n.nlen=257+(31&x),x>>>=5,S-=5,n.ndist=1+(31&x),x>>>=5,S-=5,n.ncode=4+(15&x),x>>>=4,S-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=g;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;S<3;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.lens[W[n.have++]]=7&x,x>>>=3,S-=3}for(;n.have<19;)n.lens[W[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},z=a(0,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,z){e.msg="invalid code lengths set",n.mode=g;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;P=(H=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,A=65535&H,!((D=H>>>24)<=S);){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(A<16)x>>>=D,S-=D,n.lens[n.have++]=A;else{if(16===A){for(G=D+2;S<G;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(x>>>=D,S-=D,0===n.have){e.msg="invalid bit length repeat",n.mode=g;break}N=n.lens[n.have-1],k=3+(3&x),x>>>=2,S-=2}else if(17===A){for(G=D+3;S<G;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}S-=D,N=0,k=3+(7&(x>>>=D)),x>>>=3,S-=3}else{for(G=D+7;S<G;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}S-=D,N=0,k=11+(127&(x>>>=D)),x>>>=7,S-=7}if(n.have+k>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=g;break}for(;k--;)n.lens[n.have++]=N}}if(n.mode===g)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=g;break}if(n.lenbits=9,B={bits:n.lenbits},z=a(l,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,z){e.msg="invalid literal/lengths set",n.mode=g;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},z=a(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,z){e.msg="invalid distances set",n.mode=g;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(y>=6&&C>=258){e.next_out=w,e.avail_out=C,e.next_in=v,e.avail_in=y,n.hold=x,n.bits=S,s(e,R),w=e.next_out,m=e.output,C=e.avail_out,v=e.next_in,p=e.input,y=e.avail_in,x=n.hold,S=n.bits,n.mode===f&&(n.back=-1);break}for(n.back=0;P=(H=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,A=65535&H,!((D=H>>>24)<=S);){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(P&&0==(240&P)){for(V=D,T=P,L=A;P=(H=n.lencode[L+((x&(1<<V+T)-1)>>V)])>>>16&255,A=65535&H,!(V+(D=H>>>24)<=S);){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}x>>>=V,S-=V,n.back+=V}if(x>>>=D,S-=D,n.back+=D,n.length=A,0===P){n.mode=26;break}if(32&P){n.back=-1,n.mode=f;break}if(64&P){e.msg="invalid literal/length code",n.mode=g;break}n.extra=15&P,n.mode=22;case 22:if(n.extra){for(G=n.extra;S<G;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.length+=x&(1<<n.extra)-1,x>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;P=(H=n.distcode[x&(1<<n.distbits)-1])>>>16&255,A=65535&H,!((D=H>>>24)<=S);){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(0==(240&P)){for(V=D,T=P,L=A;P=(H=n.distcode[L+((x&(1<<V+T)-1)>>V)])>>>16&255,A=65535&H,!(V+(D=H>>>24)<=S);){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}x>>>=V,S-=V,n.back+=V}if(x>>>=D,S-=D,n.back+=D,64&P){e.msg="invalid distance code",n.mode=g;break}n.offset=A,n.extra=15&P,n.mode=24;case 24:if(n.extra){for(G=n.extra;S<G;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}n.offset+=x&(1<<n.extra)-1,x>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=g;break}n.mode=25;case 25:if(0===C)break e;if(k=R-C,n.offset>k){if((k=n.offset-k)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=g;break}k>n.wnext?(k-=n.wnext,M=n.wsize-k):M=n.wnext-k,k>n.length&&(k=n.length),F=n.window}else F=m,M=w-n.offset,k=n.length;k>C&&(k=C),C-=k,n.length-=k;do{m[w++]=F[M++]}while(--k);0===n.length&&(n.mode=21);break;case 26:if(0===C)break e;m[w++]=n.length,C--,n.mode=21;break;case 27:if(n.wrap){for(;S<32;){if(0===y)break e;y--,x|=p[v++]<<S,S+=8}if(R-=C,e.total_out+=R,n.total+=R,R&&(e.adler=n.check=n.flags?i(n.check,m,R,w-R):o(n.check,m,R,w-R)),R=C,(n.flags?x:b(x))!==n.check){e.msg="incorrect data check",n.mode=g;break}x=0,S=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;S<32;){if(0===y)break e;y--,x+=p[v++]<<S,S+=8}if(x!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=g;break}x=0,S=0}n.mode=29;case 29:z=1;break e;case g:z=-3;break e;case 31:return-4;default:return d}return e.next_out=w,e.avail_out=C,e.next_in=v,e.avail_in=y,n.hold=x,n.bits=S,(n.wsize||R!==e.avail_out&&n.mode<g&&(n.mode<27||4!==t))&&I(e,e.output,e.next_out,R-e.avail_out)?(n.mode=31,-4):(E-=e.avail_in,R-=e.avail_out,e.total_in+=E,e.total_out+=R,n.total+=R,n.wrap&&R&&(e.adler=n.check=n.flags?i(n.check,m,R,e.next_out-R):o(n.check,m,R,e.next_out-R)),e.data_type=n.bits+(n.last?64:0)+(n.mode===f?128:0)+(20===n.mode||15===n.mode?256:0),(0===E&&0===R||4===t)&&z===c&&(z=-5),z)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,c},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?d:(n.head=t,t.done=!1,c):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&o(1,t,r,0)!==n.check?-3:I(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,c):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":1,"./adler32":3,"./crc32":5,"./inffast":7,"./inftrees":9}],9:[function(e,t,n){"use strict";var r=e("../utils/common"),o=15,i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,u,c,d,h,f){var g,p,m,b,v,w,y,C,x,S=f.bits,E=0,R=0,O=0,I=0,k=0,M=0,F=0,D=0,P=0,A=0,V=null,T=0,L=new r.Buf16(16),N=new r.Buf16(16),z=null,B=0;for(E=0;E<=o;E++)L[E]=0;for(R=0;R<u;R++)L[t[n+R]]++;for(k=S,I=o;I>=1&&0===L[I];I--);if(k>I&&(k=I),0===I)return c[d++]=20971520,c[d++]=20971520,f.bits=1,0;for(O=1;O<I&&0===L[O];O++);for(k<O&&(k=O),D=1,E=1;E<=o;E++)if(D<<=1,(D-=L[E])<0)return-1;if(D>0&&(0===e||1!==I))return-1;for(N[1]=0,E=1;E<o;E++)N[E+1]=N[E]+L[E];for(R=0;R<u;R++)0!==t[n+R]&&(h[N[t[n+R]]++]=R);if(0===e?(V=z=h,w=19):1===e?(V=i,T-=257,z=s,B-=257,w=256):(V=a,z=l,w=-1),A=0,R=0,E=O,v=d,M=k,F=0,m=-1,b=(P=1<<k)-1,1===e&&P>852||2===e&&P>592)return 1;for(;;){y=E-F,h[R]<w?(C=0,x=h[R]):h[R]>w?(C=z[B+h[R]],x=V[T+h[R]]):(C=96,x=0),g=1<<E-F,O=p=1<<M;do{c[v+(A>>F)+(p-=g)]=y<<24|C<<16|x|0}while(0!==p);for(g=1<<E-1;A&g;)g>>=1;if(0!==g?(A&=g-1,A+=g):A=0,R++,0==--L[E]){if(E===I)break;E=t[n+h[R]]}if(E>k&&(A&b)!==m){for(0===F&&(F=k),v+=O,D=1<<(M=E-F);M+F<I&&!((D-=L[M+F])<=0);)M++,D<<=1;if(P+=1<<M,1===e&&P>852||2===e&&P>592)return 1;c[m=A&b]=k<<24|M<<16|v-d|0}}return 0!==A&&(c[v+A]=E-F<<24|64<<16|0),f.bits=k,0}},{"../utils/common":1}],10:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],11:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/inflate.js":[function(e,t,n){"use strict";var r=e("./zlib/inflate"),o=e("./utils/common"),i=e("./utils/strings"),s=e("./zlib/constants"),a=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);if(this.header=new u,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=r.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[n])}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(e,t){var n,a,l,u,d,h=this.strm,f=this.options.chunkSize,g=this.options.dictionary,p=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=i.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new o.Buf8(f),h.next_out=0,h.avail_out=f),(n=r.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&g&&(n=r.inflateSetDictionary(this.strm,g)),n===s.Z_BUF_ERROR&&!0===p&&(n=s.Z_OK,p=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&n!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(h.output,h.next_out),u=h.next_out-l,d=i.buf2string(h.output,l),h.next_out=u,h.avail_out=f-u,u&&o.arraySet(h.output,h.output,l,u,0),this.onData(d)):this.onData(o.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(p=!0)}while((h.avail_in>0||0===h.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":1,"./utils/strings":2,"./zlib/constants":4,"./zlib/gzheader":6,"./zlib/inflate":8,"./zlib/messages":10,"./zlib/zstream":11}]},{},[])("/lib/inflate.js")},606:e=>{e.exports=function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){return o(t[s][1][e]||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var i=void 0,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(e,t,n){var r=4096,o=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function i(e){this.buf_=new Uint8Array(8224),this.input_=e,this.reset()}i.READ_SIZE=r,i.IBUF_MASK=8191,i.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var e=0;e<4;e++)this.val_|=this.buf_[this.pos_]<<8*e,++this.pos_;return this.bit_end_pos_>0},i.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var e=this.buf_ptr_,t=this.input_.read(this.buf_,e,r);if(t<0)throw new Error("Unexpected end of input");if(t<r){this.eos_=1;for(var n=0;n<32;n++)this.buf_[e+t+n]=0}if(0===e){for(n=0;n<32;n++)this.buf_[8192+n]=this.buf_[n];this.buf_ptr_=r}else this.buf_ptr_=0;this.bit_end_pos_+=t<<3}},i.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[8191&this.pos_]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},i.prototype.readBits=function(e){32-this.bit_pos_<e&&this.fillBitWindow();var t=this.val_>>>this.bit_pos_&o[e];return this.bit_pos_+=e,t},t.exports=i},{}],2:[function(e,t,n){n.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],3:[function(e,t,n){var r=e("./streams").BrotliInput,o=e("./streams").BrotliOutput,i=e("./bit_reader"),s=e("./dictionary"),a=e("./huffman").HuffmanCode,l=e("./huffman").BrotliBuildHuffmanTable,u=e("./context"),c=e("./prefix"),d=e("./transform"),h=8,f=16,g=256,p=704,m=26,b=6,v=2,w=8,y=255,C=1080,x=18,S=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),E=16,R=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),O=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),I=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function k(e){var t;return 0===e.readBits(1)?16:(t=e.readBits(3))>0?17+t:(t=e.readBits(3))>0?8+t:17}function M(e){if(e.readBits(1)){var t=e.readBits(3);return 0===t?1:e.readBits(t)+(1<<t)}return 0}function F(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function D(e){var t,n,r,o=new F;if(o.input_end=e.readBits(1),o.input_end&&e.readBits(1))return o;if(7===(t=e.readBits(2)+4)){if(o.is_metadata=!0,0!==e.readBits(1))throw new Error("Invalid reserved bit");if(0===(n=e.readBits(2)))return o;for(r=0;r<n;r++){var i=e.readBits(8);if(r+1===n&&n>1&&0===i)throw new Error("Invalid size byte");o.meta_block_length|=i<<8*r}}else for(r=0;r<t;++r){var s=e.readBits(4);if(r+1===t&&t>4&&0===s)throw new Error("Invalid size nibble");o.meta_block_length|=s<<4*r}return++o.meta_block_length,o.input_end||o.is_metadata||(o.is_uncompressed=e.readBits(1)),o}function P(e,t,n){var r;return n.fillBitWindow(),(r=e[t+=n.val_>>>n.bit_pos_&y].bits-w)>0&&(n.bit_pos_+=w,t+=e[t].value,t+=n.val_>>>n.bit_pos_&(1<<r)-1),n.bit_pos_+=e[t].bits,e[t].value}function A(e,t,n,r){var o,i,s=new Uint8Array(e);if(r.readMoreInput(),1===(o=r.readBits(2))){for(var u=e-1,c=0,d=new Int32Array(4),g=r.readBits(2)+1;u;)u>>=1,++c;for(p=0;p<g;++p)d[p]=r.readBits(c)%e,s[d[p]]=2;switch(s[d[0]]=1,g){case 1:break;case 3:if(d[0]===d[1]||d[0]===d[2]||d[1]===d[2])throw new Error("[ReadHuffmanCode] invalid symbols");break;case 2:if(d[0]===d[1])throw new Error("[ReadHuffmanCode] invalid symbols");s[d[1]]=1;break;case 4:if(d[0]===d[1]||d[0]===d[2]||d[0]===d[3]||d[1]===d[2]||d[1]===d[3]||d[2]===d[3])throw new Error("[ReadHuffmanCode] invalid symbols");r.readBits(1)?(s[d[2]]=3,s[d[3]]=3):s[d[0]]=2}}else{var p,m=new Uint8Array(x),b=32,v=0,y=[new a(2,0),new a(2,4),new a(2,3),new a(3,2),new a(2,0),new a(2,4),new a(2,3),new a(4,1),new a(2,0),new a(2,4),new a(2,3),new a(3,2),new a(2,0),new a(2,4),new a(2,3),new a(4,5)];for(p=o;p<x&&b>0;++p){var C,E=S[p],R=0;r.fillBitWindow(),R+=r.val_>>>r.bit_pos_&15,r.bit_pos_+=y[R].bits,C=y[R].value,m[E]=C,0!==C&&(b-=32>>C,++v)}if(1!==v&&0!==b)throw new Error("[ReadHuffmanCode] invalid num_codes or space");!function(e,t,n,r){for(var o=0,i=h,s=0,u=0,c=32768,d=[],g=0;g<32;g++)d.push(new a(0,0));for(l(d,0,5,e,x);o<t&&c>0;){var p,m=0;if(r.readMoreInput(),r.fillBitWindow(),m+=r.val_>>>r.bit_pos_&31,r.bit_pos_+=d[m].bits,(p=255&d[m].value)<f)s=0,n[o++]=p,0!==p&&(i=p,c-=32768>>p);else{var b,v,w=p-14,y=0;if(p===f&&(y=i),u!==y&&(s=0,u=y),b=s,s>0&&(s-=2,s<<=w),o+(v=(s+=r.readBits(w)+3)-b)>t)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var C=0;C<v;C++)n[o+C]=u;o+=v,0!==u&&(c-=v<<15-u)}}if(0!==c)throw new Error("[ReadHuffmanCodeLengths] space = "+c);for(;o<t;o++)n[o]=0}(m,e,s,r)}if(0===(i=l(t,n,w,s,e)))throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return i}function V(e,t,n){var r,o;return r=P(e,t,n),o=c.kBlockLengthPrefixCode[r].nbits,c.kBlockLengthPrefixCode[r].offset+n.readBits(o)}function T(e,t,n){var r;return e<E?(n+=R[e],r=t[n&=3]+O[e]):r=e-E+1,r}function L(e,t){for(var n=e[t],r=t;r;--r)e[r]=e[r-1];e[0]=n}function N(e,t){this.alphabet_size=e,this.num_htrees=t,this.codes=new Array(t+t*I[e+31>>>5]),this.htrees=new Uint32Array(t)}function z(e,t){var n,r,o={num_htrees:null,context_map:null},i=0;t.readMoreInput();var s=o.num_htrees=M(t)+1,l=o.context_map=new Uint8Array(e);if(s<=1)return o;for(t.readBits(1)&&(i=t.readBits(4)+1),n=[],r=0;r<C;r++)n[r]=new a(0,0);for(A(s+i,n,0,t),r=0;r<e;){var u;if(t.readMoreInput(),0===(u=P(n,0,t)))l[r]=0,++r;else if(u<=i)for(var c=1+(1<<u)+t.readBits(u);--c;){if(r>=e)throw new Error("[DecodeContextMap] i >= context_map_size");l[r]=0,++r}else l[r]=u-i,++r}return t.readBits(1)&&function(e,t){var n,r=new Uint8Array(256);for(n=0;n<256;++n)r[n]=n;for(n=0;n<t;++n){var o=e[n];e[n]=r[o],o&&L(r,o)}}(l,e),o}function B(e,t,n,r,o,i,s){var a,l=2*n,u=n,c=P(t,n*C,s);(a=0===c?o[l+(1&i[u])]:1===c?o[l+(i[u]-1&1)]+1:c-2)>=e&&(a-=e),r[n]=a,o[l+(1&i[u])]=a,++i[u]}function G(e,t,n,r,o,s){var a,l=o+1,u=n&o,c=s.pos_&i.IBUF_MASK;if(t<8||s.bit_pos_+(t<<3)<s.bit_end_pos_)for(;t-- >0;)s.readMoreInput(),r[u++]=s.readBits(8),u===l&&(e.write(r,l),u=0);else{if(s.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;s.bit_pos_<32;)r[u]=s.val_>>>s.bit_pos_,s.bit_pos_+=8,++u,--t;if(c+(a=s.bit_end_pos_-s.bit_pos_>>3)>i.IBUF_MASK){for(var d=i.IBUF_MASK+1-c,h=0;h<d;h++)r[u+h]=s.buf_[c+h];a-=d,u+=d,t-=d,c=0}for(h=0;h<a;h++)r[u+h]=s.buf_[c+h];if(t-=a,(u+=a)>=l)for(e.write(r,l),u-=l,h=0;h<u;h++)r[h]=r[l+h];for(;u+t>=l;){if(a=l-u,s.input_.read(r,u,a)<a)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");e.write(r,l),t-=a,u=0}if(s.input_.read(r,u,t)<t)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");s.reset()}}function H(e){var t=e.bit_pos_+7&-8;return 0==e.readBits(t-e.bit_pos_)}function U(e){var t=new r(e),n=new i(t);return k(n),D(n).meta_block_length}function W(e,t){var n,r,o,l,h,f,w,y,x,S,R=0,O=0,I=0,F=[16,15,11,4],L=0,U=0,W=0,j=[new N(0,0),new N(0,0),new N(0,0)],q=128+i.READ_SIZE;r=(1<<(S=k(x=new i(e))))-16,l=(o=1<<S)-1,h=new Uint8Array(o+q+s.maxDictionaryWordLength),f=o,w=[],y=[];for(var K=0;K<3*C;K++)w[K]=new a(0,0),y[K]=new a(0,0);for(;!O;){var Y,_,Z,X,J,Q,$,ee,te,ne=0,re=[1<<28,1<<28,1<<28],oe=[0],ie=[1,1,1],se=[0,1,0,1,0,1],ae=[0],le=null,ue=null,ce=null,de=null,he=0,fe=null,ge=0,pe=0,me=0;for(n=0;n<3;++n)j[n].codes=null,j[n].htrees=null;x.readMoreInput();var be=D(x);if(R+(ne=be.meta_block_length)>t.buffer.length){var ve=new Uint8Array(R+ne);ve.set(t.buffer),t.buffer=ve}if(O=be.input_end,Y=be.is_uncompressed,be.is_metadata)for(H(x);ne>0;--ne)x.readMoreInput(),x.readBits(8);else if(0!==ne)if(Y)x.bit_pos_=x.bit_pos_+7&-8,G(t,ne,R,h,l,x),R+=ne;else{for(n=0;n<3;++n)ie[n]=M(x)+1,ie[n]>=2&&(A(ie[n]+2,w,n*C,x),A(m,y,n*C,x),re[n]=V(y,n*C,x),ae[n]=1);for(x.readMoreInput(),X=(1<<(_=x.readBits(2)))-1,J=(Z=E+(x.readBits(4)<<_))+(48<<_),ue=new Uint8Array(ie[0]),n=0;n<ie[0];++n)x.readMoreInput(),ue[n]=x.readBits(2)<<1;var we=z(ie[0]<<b,x);Q=we.num_htrees,le=we.context_map;var ye=z(ie[2]<<v,x);for($=ye.num_htrees,ce=ye.context_map,j[0]=new N(g,Q),j[1]=new N(p,ie[1]),j[2]=new N(J,$),n=0;n<3;++n)j[n].decode(x);for(de=0,fe=0,ee=ue[oe[0]],pe=u.lookupOffsets[ee],me=u.lookupOffsets[ee+1],te=j[1].htrees[0];ne>0;){var Ce,xe,Se,Ee,Re,Oe,Ie,ke,Me,Fe,De,Pe;for(x.readMoreInput(),0===re[1]&&(B(ie[1],w,1,oe,se,ae,x),re[1]=V(y,C,x),te=j[1].htrees[oe[1]]),--re[1],(xe=(Ce=P(j[1].codes,te,x))>>6)>=2?(xe-=2,Ie=-1):Ie=0,Se=c.kInsertRangeLut[xe]+(Ce>>3&7),Ee=c.kCopyRangeLut[xe]+(7&Ce),Re=c.kInsertLengthPrefixCode[Se].offset+x.readBits(c.kInsertLengthPrefixCode[Se].nbits),Oe=c.kCopyLengthPrefixCode[Ee].offset+x.readBits(c.kCopyLengthPrefixCode[Ee].nbits),U=h[R-1&l],W=h[R-2&l],Me=0;Me<Re;++Me)x.readMoreInput(),0===re[0]&&(B(ie[0],w,0,oe,se,ae,x),re[0]=V(y,0,x),de=oe[0]<<b,ee=ue[oe[0]],pe=u.lookupOffsets[ee],me=u.lookupOffsets[ee+1]),he=le[de+(u.lookup[pe+U]|u.lookup[me+W])],--re[0],W=U,U=P(j[0].codes,j[0].htrees[he],x),h[R&l]=U,(R&l)===l&&t.write(h,o),++R;if((ne-=Re)<=0)break;if(Ie<0&&(x.readMoreInput(),0===re[2]&&(B(ie[2],w,2,oe,se,ae,x),re[2]=V(y,2*C,x),fe=oe[2]<<v),--re[2],ge=ce[fe+(255&(Oe>4?3:Oe-2))],(Ie=P(j[2].codes,j[2].htrees[ge],x))>=Z&&(Pe=(Ie-=Z)&X,Ie=Z+((Ae=(2+(1&(Ie>>=_))<<(De=1+(Ie>>1)))-4)+x.readBits(De)<<_)+Pe)),(ke=T(Ie,F,L))<0)throw new Error("[BrotliDecompress] invalid distance");if(Fe=R&l,ke>(I=R<r&&I!==r?R:r)){if(!(Oe>=s.minDictionaryWordLength&&Oe<=s.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+R+" distance: "+ke+" len: "+Oe+" bytes left: "+ne);var Ae=s.offsetsByLength[Oe],Ve=ke-I-1,Te=s.sizeBitsByLength[Oe],Le=Ve>>Te;if(Ae+=(Ve&(1<<Te)-1)*Oe,!(Le<d.kNumTransforms))throw new Error("Invalid backward reference. pos: "+R+" distance: "+ke+" len: "+Oe+" bytes left: "+ne);var Ne=d.transformDictionaryWord(h,Fe,Ae,Oe,Le);if(R+=Ne,ne-=Ne,(Fe+=Ne)>=f){t.write(h,o);for(var _x=0;_x<Fe-f;_x++)h[_x]=h[f+_x]}}else{if(Ie>0&&(F[3&L]=ke,++L),Oe>ne)throw new Error("Invalid backward reference. pos: "+R+" distance: "+ke+" len: "+Oe+" bytes left: "+ne);for(Me=0;Me<Oe;++Me)h[R&l]=h[R-ke&l],(R&l)===l&&t.write(h,o),++R,--ne}U=h[R-1&l],W=h[R-2&l]}R&=1073741823}}t.write(h,R&l)}N.prototype.decode=function(e){var t,n=0;for(t=0;t<this.num_htrees;++t)this.htrees[t]=n,n+=A(this.alphabet_size,this.codes,n,e)},n.BrotliDecompressedSize=U,n.BrotliDecompressBuffer=function(e,t){var n=new r(e);null==t&&(t=U(e));var i=new Uint8Array(t),s=new o(i);return W(n,s),s.pos<s.buffer.length&&(s.buffer=s.buffer.subarray(0,s.pos)),s.buffer},n.BrotliDecompress=W,s.init()},{"./bit_reader":1,"./context":2,"./dictionary":6,"./huffman":7,"./prefix":9,"./streams":10,"./transform":11}],4:[function(e,t,n){var r=e("base64-js");n.init=function(){return(0,e("./decode").BrotliDecompressBuffer)(r.toByteArray(e("./dictionary.bin.js")))}},{"./decode":3,"./dictionary.bin.js":5,"base64-js":8}],5:[function(e,t,n){t.exports="W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4EQ3bf8xBc7L0BsyfFPK43dGSXpL6clYC/I328h54/VYrQ5i0648FgbGtl837svJ35L3Mot/+nPlNpWgKx1gGXQYqX6n+bbZ7wuyCHKcUok12Xjqub7NXZGzqBx0SD+uziNf87t7ve42jxSKQoW3nyxVrWIGlFShhCKxjpZZ5MeGna0+lBkk+kaN8F9qFBAFgEogyMBdcX/T1W/WnMOi/7ycWUQloEBKGeC48MkiwqJkJO+12eQiOFHMmck6q/IjWW3RZlany23TBm+cNr/84/oi5GGmGBZWrZ6j+zykVozz5fT/QH/Da6WTbZYYPynVNO7kxzuNN2kxKKWche5WveitPKAecB8YcAHz/+zXLjcLzkdDSktNIDwZE9J9X+tto43oJy65wApM3mDzYtCwX9lM+N5VR3kXYo0Z3t0TtXfgBFg7gU8oN0Dgl7fZlUbhNll+0uuohRVKjrEd8egrSndy5/Tgd2gqjA4CAVuC7ESUmL3DZoGnfhQV8uwnpi8EGvAVVsowNRxPudck7+oqAUDkwZopWqFnW1riss0t1z6iCISVKreYGNvQcXv+1L9+jbP8cd/dPUiqBso2q+7ZyFBvENCkkVr44iyPbtOoOoCecWsiuqMSML5lv+vN5MzUr+Dnh73G7Q1YnRYJVYXHRJaNAOByiaK6CusgFdBPE40r0rvqXV7tksKO2DrHYXBTv8P5ysqx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OB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg="},{}],6:[function(e,t,n){var r=e("./dictionary-browser");n.init=function(){n.dictionary=r.init()},n.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),n.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),n.minDictionaryWordLength=4,n.maxDictionaryWordLength=24},{"./dictionary-browser":4}],7:[function(e,t,n){function r(e,t){this.bits=e,this.value=t}n.HuffmanCode=r;var o=15;function i(e,t){for(var n=1<<t-1;e&n;)n>>=1;return(e&n-1)+n}function s(e,t,n,o,i){do{e[t+(o-=n)]=new r(i.bits,i.value)}while(o>0)}function a(e,t,n){for(var r=1<<t-n;t<o&&!((r-=e[t])<=0);)++t,r<<=1;return t-n}n.BrotliBuildHuffmanTable=function(e,t,n,l,u){var c,d,h,f,g,p,m,b,v,w,y=t,C=new Int32Array(16),x=new Int32Array(16);for(w=new Int32Array(u),d=0;d<u;d++)C[l[d]]++;for(x[1]=0,c=1;c<o;c++)x[c+1]=x[c]+C[c];for(d=0;d<u;d++)0!==l[d]&&(w[x[l[d]]++]=d);if(v=b=1<<(m=n),1===x[15]){for(h=0;h<v;++h)e[t+h]=new r(0,65535&w[0]);return v}for(h=0,d=0,c=1,f=2;c<=n;++c,f<<=1)for(;C[c]>0;--C[c])s(e,t+h,f,b,new r(255&c,65535&w[d++])),h=i(h,c);for(p=v-1,g=-1,c=n+1,f=2;c<=o;++c,f<<=1)for(;C[c]>0;--C[c])(h&p)!==g&&(t+=b,v+=b=1<<(m=a(C,c,n)),e[y+(g=h&p)]=new r(m+n&255,t-y-g&65535)),s(e,t+(h>>n),f,b,new r(c-n&255,65535&w[d++])),h=i(h,c);return v}},{}],8:[function(e,t,n){"use strict";n.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},n.toByteArray=function(e){for(var t,n=l(e),r=n[0],s=n[1],a=new i(function(e,t,n){return 3*(t+n)/4-n}(0,r,s)),u=0,c=s>0?r-4:r,d=0;d<c;d+=4)t=o[e.charCodeAt(d)]<<18|o[e.charCodeAt(d+1)]<<12|o[e.charCodeAt(d+2)]<<6|o[e.charCodeAt(d+3)],a[u++]=t>>16&255,a[u++]=t>>8&255,a[u++]=255&t;return 2===s&&(t=o[e.charCodeAt(d)]<<2|o[e.charCodeAt(d+1)]>>4,a[u++]=255&t),1===s&&(t=o[e.charCodeAt(d)]<<10|o[e.charCodeAt(d+1)]<<4|o[e.charCodeAt(d+2)]>>2,a[u++]=t>>8&255,a[u++]=255&t),a},n.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=16383,a=0,l=n-o;a<l;a+=s)i.push(u(e,a,a+s>l?l:a+s));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=s[a],o[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(r[(a=o)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);var a;return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],9:[function(e,t,n){function r(e,t){this.offset=e,this.nbits=t}n.kBlockLengthPrefixCode=[new r(1,2),new r(5,2),new r(9,2),new r(13,2),new r(17,3),new r(25,3),new r(33,3),new r(41,3),new r(49,4),new r(65,4),new r(81,4),new r(97,4),new r(113,5),new r(145,5),new r(177,5),new r(209,5),new r(241,6),new r(305,6),new r(369,7),new r(497,8),new r(753,9),new r(1265,10),new r(2289,11),new r(4337,12),new r(8433,13),new r(16625,24)],n.kInsertLengthPrefixCode=[new r(0,0),new r(1,0),new r(2,0),new r(3,0),new r(4,0),new r(5,0),new r(6,1),new r(8,1),new r(10,2),new r(14,2),new r(18,3),new r(26,3),new r(34,4),new r(50,4),new r(66,5),new r(98,5),new r(130,6),new r(194,7),new r(322,8),new r(578,9),new r(1090,10),new r(2114,12),new r(6210,14),new r(22594,24)],n.kCopyLengthPrefixCode=[new r(2,0),new r(3,0),new r(4,0),new r(5,0),new r(6,0),new r(7,0),new r(8,0),new r(9,0),new r(10,1),new r(12,1),new r(14,2),new r(18,2),new r(22,3),new r(30,3),new r(38,4),new r(54,4),new r(70,5),new r(102,5),new r(134,6),new r(198,7),new r(326,8),new r(582,9),new r(1094,10),new r(2118,24)],n.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],n.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],10:[function(e,t,n){function r(e){this.buffer=e,this.pos=0}function o(e){this.buffer=e,this.pos=0}r.prototype.read=function(e,t,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var r=0;r<n;r++)e[t+r]=this.buffer[this.pos+r];return this.pos+=n,n},n.BrotliInput=r,o.prototype.write=function(e,t){if(this.pos+t>this.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(e.subarray(0,t),this.pos),this.pos+=t,t},n.BrotliOutput=o},{}],11:[function(e,t,n){var r=e("./dictionary"),o=10,i=11;function s(e,t,n){this.prefix=new Uint8Array(e.length),this.transform=t,this.suffix=new Uint8Array(n.length);for(var r=0;r<e.length;r++)this.prefix[r]=e.charCodeAt(r);for(r=0;r<n.length;r++)this.suffix[r]=n.charCodeAt(r)}var a=[new s("",0,""),new s("",0," "),new s(" ",0," "),new s("",12,""),new s("",o," "),new s("",0," the "),new s(" ",0,""),new s("s ",0," "),new s("",0," of "),new s("",o,""),new s("",0," and "),new s("",13,""),new s("",1,""),new s(", ",0," "),new s("",0,", "),new s(" ",o," "),new s("",0," in "),new s("",0," to "),new s("e ",0," "),new s("",0,'"'),new s("",0,"."),new s("",0,'">'),new s("",0,"\n"),new s("",3,""),new s("",0,"]"),new s("",0," for "),new s("",14,""),new s("",2,""),new s("",0," a "),new s("",0," that "),new s(" ",o,""),new s("",0,". "),new s(".",0,""),new s(" ",0,", "),new s("",15,""),new s("",0," with "),new s("",0,"'"),new s("",0," from "),new s("",0," by "),new s("",16,""),new s("",17,""),new s(" the ",0,""),new s("",4,""),new s("",0,". The "),new s("",i,""),new s("",0," on "),new s("",0," as "),new s("",0," is "),new s("",7,""),new s("",1,"ing "),new s("",0,"\n\t"),new s("",0,":"),new s(" ",0,". "),new s("",0,"ed "),new s("",20,""),new s("",18,""),new s("",6,""),new s("",0,"("),new s("",o,", "),new s("",8,""),new s("",0," at "),new s("",0,"ly "),new s(" the ",0," of "),new s("",5,""),new s("",9,""),new s(" ",o,", "),new s("",o,'"'),new s(".",0,"("),new s("",i," "),new s("",o,'">'),new s("",0,'="'),new s(" ",0,"."),new s(".com/",0,""),new s(" the ",0," of the "),new s("",o,"'"),new s("",0,". This "),new s("",0,","),new s(".",0," "),new s("",o,"("),new s("",o,"."),new s("",0," not "),new s(" ",0,'="'),new s("",0,"er "),new s(" ",i," "),new s("",0,"al "),new s(" ",i,""),new s("",0,"='"),new s("",i,'"'),new s("",o,". "),new s(" ",0,"("),new s("",0,"ful "),new s(" ",o,". "),new s("",0,"ive "),new s("",0,"less "),new s("",i,"'"),new s("",0,"est "),new s(" ",o,"."),new s("",i,'">'),new s(" ",0,"='"),new s("",o,","),new s("",0,"ize "),new s("",i,"."),new s("Â ",0,""),new s(" ",0,","),new s("",o,'="'),new s("",i,'="'),new s("",0,"ous "),new s("",i,", "),new s("",o,"='"),new s(" ",o,","),new s(" ",i,'="'),new s(" ",i,", "),new s("",i,","),new s("",i,"("),new s("",i,". "),new s(" ",i,"."),new s("",i,"='"),new s(" ",i,". "),new s(" ",o,'="'),new s(" ",i,"='"),new s(" ",o,"='")];function l(e,t){return e[t]<192?(e[t]>=97&&e[t]<=122&&(e[t]^=32),1):e[t]<224?(e[t+1]^=32,2):(e[t+2]^=5,3)}n.kTransforms=a,n.kNumTransforms=a.length,n.transformDictionaryWord=function(e,t,n,s,u){var c,d=a[u].prefix,h=a[u].suffix,f=a[u].transform,g=f<12?0:f-11,p=0,m=t;g>s&&(g=s);for(var b=0;b<d.length;)e[t++]=d[b++];for(n+=g,s-=g,f<=9&&(s-=f),p=0;p<s;p++)e[t++]=r.dictionary[n+p];if(c=t-s,f===o)l(e,c);else if(f===i)for(;s>0;){var v=l(e,c);c+=v,s-=v}for(var w=0;w<h.length;)e[t++]=h[w++];return t-m}},{"./dictionary":6}],12:[function(e,t,n){t.exports=e("./dec/decode").BrotliDecompressBuffer},{"./dec/decode":3}]},{},[12])(12)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.React,t=window.wp.i18n,r=window.wp.element,o=window.wp.components,i=window.wp.apiFetch;var s=n.n(i),a=n(606),l=n.n(a),u=n(528),c=n.n(u);globalThis.fetch;class d{constructor(e,t={},n){this.type=e,this.detail=t,this.msg=n,Object.defineProperty(this,"__mayPropagate",{enumerable:!1,writable:!0}),this.__mayPropagate=!0}preventDefault(){}stopPropagation(){this.__mayPropagate=!1}valueOf(){return this}toString(){return this.msg?`[${this.type} event]: ${this.msg}`:`[${this.type} event]`}}class h{constructor(){this.listeners={}}addEventListener(e,t,n){let r=this.listeners[e]||[];n?r.unshift(t):r.push(t),this.listeners[e]=r}removeEventListener(e,t){let n=this.listeners[e]||[],r=n.findIndex((e=>e===t));r>-1&&(n.splice(r,1),this.listeners[e]=n)}dispatch(e){let t=this.listeners[e.type];if(t)for(let n=0,r=t.length;n<r&&e.__mayPropagate;n++)t[n](e)}}const f=new Date("1904-01-01T00:00:00+0000").getTime();class g{constructor(e,t,n){this.name=(n||e.tag||"").trim(),this.length=e.length,this.start=e.offset,this.offset=0,this.data=t,["getInt8","getUint8","getInt16","getUint16","getInt32","getUint32","getBigInt64","getBigUint64"].forEach((e=>{let t=e.replace(/get(Big)?/,"").toLowerCase(),n=parseInt(e.replace(/[^\d]/g,""))/8;Object.defineProperty(this,t,{get:()=>this.getValue(e,n)})}))}get currentPosition(){return this.start+this.offset}set currentPosition(e){this.start=e,this.offset=0}skip(e=0,t=8){this.offset+=e*t/8}getValue(e,t){let n=this.start+this.offset;this.offset+=t;try{return this.data[e](n)}catch(n){throw console.error("parser",e,t,this),console.error("parser",this.start,this.offset),n}}flags(e){if(8===e||16===e||32===e||64===e)return this[`uint${e}`].toString(2).padStart(e,0).split("").map((e=>"1"===e));console.error("Error parsing flags: flag types can only be 1, 2, 4, or 8 bytes long"),console.trace()}get tag(){const e=this.uint32;return t=[e>>24&255,e>>16&255,e>>8&255,255&e],Array.from(t).map((e=>String.fromCharCode(e))).join("");var t}get fixed(){return this.int16+Math.round(1e3*this.uint16/65356)/1e3}get legacyFixed(){let e=this.uint16,t=this.uint16.toString(16).padStart(4,0);return parseFloat(`${e}.${t}`)}get uint24(){return(this.uint8<<16)+(this.uint8<<8)+this.uint8}get uint128(){let e=0;for(let t=0;t<5;t++){let t=this.uint8;if(e=128*e+(127&t),t<128)break}return e}get longdatetime(){return new Date(f+1e3*parseInt(this.int64.toString()))}get fword(){return this.int16}get ufword(){return this.uint16}get Offset16(){return this.uint16}get Offset32(){return this.uint32}get F2DOT14(){const e=p.uint16;return[0,1,-2,-1][e>>14]+(16383&e)/16384}verifyLength(){this.offset!=this.length&&console.error(`unexpected parsed table size (${this.offset}) for "${this.name}" (expected ${this.length})`)}readBytes(e=0,t=0,n=8,r=!1){if(0===(e=e||this.length))return[];t&&(this.currentPosition=t);const o=`${r?"":"u"}int${n}`,i=[];for(;e--;)i.push(this[o]);return i}}class m{constructor(e){const t={enumerable:!1,get:()=>e};Object.defineProperty(this,"parser",t);const n=e.currentPosition,r={enumerable:!1,get:()=>n};Object.defineProperty(this,"start",r)}load(e){Object.keys(e).forEach((t=>{let n=Object.getOwnPropertyDescriptor(e,t);n.get?this[t]=n.get.bind(this):void 0!==n.value&&(this[t]=n.value)})),this.parser.length&&this.parser.verifyLength()}}class b extends m{constructor(e,t,n){const{parser:r,start:o}=super(new g(e,t,n)),i={enumerable:!1,get:()=>r};Object.defineProperty(this,"p",i);const s={enumerable:!1,get:()=>o};Object.defineProperty(this,"tableStart",s)}}function v(e,t,n){let r;Object.defineProperty(e,t,{get:()=>r||(r=n(),r),enumerable:!0})}class w extends b{constructor(e,t,n){const{p:r}=super({offset:0,length:12},t,"sfnt");this.version=r.uint32,this.numTables=r.uint16,this.searchRange=r.uint16,this.entrySelector=r.uint16,this.rangeShift=r.uint16,r.verifyLength(),this.directory=[...new Array(this.numTables)].map((e=>new y(r))),this.tables={},this.directory.forEach((e=>{v(this.tables,e.tag.trim(),(()=>n(this.tables,{tag:e.tag,offset:e.offset,length:e.length},t)))}))}}class y{constructor(e){this.tag=e.tag,this.checksum=e.uint32,this.offset=e.uint32,this.length=e.uint32}}const C=c().inflate||void 0;class x extends b{constructor(e,t,n){const{p:r}=super({offset:0,length:44},t,"woff");this.signature=r.tag,this.flavor=r.uint32,this.length=r.uint32,this.numTables=r.uint16,r.uint16,this.totalSfntSize=r.uint32,this.majorVersion=r.uint16,this.minorVersion=r.uint16,this.metaOffset=r.uint32,this.metaLength=r.uint32,this.metaOrigLength=r.uint32,this.privOffset=r.uint32,this.privLength=r.uint32,r.verifyLength(),this.directory=[...new Array(this.numTables)].map((e=>new S(r))),E(this,t,n)}}class S{constructor(e){this.tag=e.tag,this.offset=e.uint32,this.compLength=e.uint32,this.origLength=e.uint32,this.origChecksum=e.uint32}}function E(e,t,n){e.tables={},e.directory.forEach((r=>{v(e.tables,r.tag.trim(),(()=>{let o=0,i=t;if(r.compLength!==r.origLength){const e=t.buffer.slice(r.offset,r.offset+r.compLength);let n;if(!C){const e="no brotli decoder available to decode WOFF2 font";throw font.onerror&&font.onerror(e),new Error(e)}n=C(new Uint8Array(e)),i=new DataView(n.buffer)}else o=r.offset;return n(e.tables,{tag:r.tag,offset:o,length:r.origLength},i)}))}))}const R=l();class O extends b{constructor(e,t,n){const{p:r}=super({offset:0,length:48},t,"woff2");this.signature=r.tag,this.flavor=r.uint32,this.length=r.uint32,this.numTables=r.uint16,r.uint16,this.totalSfntSize=r.uint32,this.totalCompressedSize=r.uint32,this.majorVersion=r.uint16,this.minorVersion=r.uint16,this.metaOffset=r.uint32,this.metaLength=r.uint32,this.metaOrigLength=r.uint32,this.privOffset=r.uint32,this.privLength=r.uint32,r.verifyLength(),this.directory=[...new Array(this.numTables)].map((e=>new I(r)));let o,i=r.currentPosition;this.directory[0].offset=0,this.directory.forEach(((e,t)=>{let n=this.directory[t+1];n&&(n.offset=e.offset+(void 0!==e.transformLength?e.transformLength:e.origLength))}));let s=t.buffer.slice(i);if(!R){const t="no brotli decoder available to decode WOFF2 font";throw e.onerror&&e.onerror(t),new Error(t)}o=R(new Uint8Array(s)),function(e,t,n){e.tables={},e.directory.forEach((r=>{v(e.tables,r.tag.trim(),(()=>{const o=r.offset,i=o+(r.transformLength?r.transformLength:r.origLength),s=new DataView(t.slice(o,i).buffer);try{return n(e.tables,{tag:r.tag,offset:0,length:r.origLength},s)}catch(e){console.error(e)}}))}))}(this,o,n)}}class I{constructor(e){this.flags=e.uint8;const t=this.tagNumber=63&this.flags;this.tag=63===t?e.tag:["cmap","head","hhea","hmtx","maxp","name","OS/2","post","cvt ","fpgm","glyf","loca","prep","CFF ","VORG","EBDT","EBLC","gasp","hdmx","kern","LTSH","PCLT","VDMX","vhea","vmtx","BASE","GDEF","GPOS","GSUB","EBSC","JSTF","MATH","CBDT","CBLC","COLR","CPAL","SVG ","sbix","acnt","avar","bdat","bloc","bsln","cvar","fdsc","feat","fmtx","fvar","gvar","hsty","just","lcar","mort","morx","opbd","prop","trak","Zapf","Silf","Glat","Gloc","Feat","Sill"][63&t];let n=0!=(this.transformVersion=(192&this.flags)>>6);"glyf"!==this.tag&&"loca"!==this.tag||(n=3!==this.transformVersion),this.origLength=e.uint128,n&&(this.transformLength=e.uint128)}}const k={};let M=!1;function F(e,t,n){let r=t.tag.replace(/[^\w\d]/g,""),o=k[r];return o?new o(t,n,e):(console.warn(`lib-font has no definition for ${r}. The table was skipped.`),{})}function D(){let e=0;function t(n,r){if(!M)return e>10?r(new Error("loading took too long")):(e++,setTimeout((()=>t(n)),250));n(F)}return new Promise(((e,n)=>t(e)))}Promise.all([Promise.resolve().then((function(){return ee})),Promise.resolve().then((function(){return te})),Promise.resolve().then((function(){return ne})),Promise.resolve().then((function(){return oe})),Promise.resolve().then((function(){return ie})),Promise.resolve().then((function(){return le})),Promise.resolve().then((function(){return ue})),Promise.resolve().then((function(){return de})),Promise.resolve().then((function(){return xe})),Promise.resolve().then((function(){return Ve})),Promise.resolve().then((function(){return Dt})),Promise.resolve().then((function(){return Pt})),Promise.resolve().then((function(){return Tt})),Promise.resolve().then((function(){return zt})),Promise.resolve().then((function(){return Bt})),Promise.resolve().then((function(){return Gt})),Promise.resolve().then((function(){return Ut})),Promise.resolve().then((function(){return Wt})),Promise.resolve().then((function(){return jt})),Promise.resolve().then((function(){return qt})),Promise.resolve().then((function(){return Kt})),Promise.resolve().then((function(){return Yt})),Promise.resolve().then((function(){return Zt})),Promise.resolve().then((function(){return en})),Promise.resolve().then((function(){return nn})),Promise.resolve().then((function(){return rn})),Promise.resolve().then((function(){return on})),Promise.resolve().then((function(){return sn})),Promise.resolve().then((function(){return an})),Promise.resolve().then((function(){return cn})),Promise.resolve().then((function(){return pn})),Promise.resolve().then((function(){return vn})),Promise.resolve().then((function(){return yn})),Promise.resolve().then((function(){return Sn})),Promise.resolve().then((function(){return En})),Promise.resolve().then((function(){return Rn})),Promise.resolve().then((function(){return In})),Promise.resolve().then((function(){return kn})),Promise.resolve().then((function(){return Pn})),Promise.resolve().then((function(){return An})),Promise.resolve().then((function(){return Tn}))]).then((e=>{e.forEach((e=>{let t=Object.keys(e)[0];k[t]=e[t]})),M=!0}));const P=[0,1,0,0],A=[79,84,84,79],V=[119,79,70,70],T=[119,79,70,50];function L(e,t){if(e.length===t.length){for(let n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}class N extends h{constructor(e,t={}){super(),this.name=e,this.options=t,this.metrics=!1}get src(){return this.__src}set src(e){this.__src=e,(async()=>{globalThis.document&&!this.options.skipStyleSheet&&await async function(e,t,n={}){if(!globalThis.document)return;let r=function(e,t){let n=e.lastIndexOf("."),r=(e.substring(n+1)||"").toLowerCase(),o={ttf:"truetype",otf:"opentype",woff:"woff",woff2:"woff2"}[r];if(o)return o;let i={eot:"The .eot format is not supported: it died in January 12, 2016, when Microsoft retired all versions of IE that didn't already support WOFF.",svg:"The .svg format is not supported: SVG fonts (not to be confused with OpenType with embedded SVG) were so bad we took the entire fonts chapter out of the SVG specification again.",fon:"The .fon format is not supported: this is an ancient Windows bitmap font format.",ttc:"Based on the current CSS specification, font collections are not (yet?) supported."}[r];if(i||(i=`${e} is not a known webfont format.`),t)throw new Error(i);console.warn(`Could not load font: ${i}`)}(t,n.errorOnStyle);if(!r)return;let o=document.createElement("style");o.className="injected-by-Font-js";let i=[];return n.styleRules&&(i=Object.entries(n.styleRules).map((([e,t])=>`${e}: ${t};`))),o.textContent=`\n@font-face {\n font-family: "${e}";\n ${i.join("\n\t")}\n src: url("${t}") format("${r}");\n}`,globalThis.document.head.appendChild(o),o}(this.name,e,this.options),this.loadFont(e)})()}async loadFont(e,t){fetch(e).then((e=>function(e){if(!e.ok)throw new Error(`HTTP ${e.status} - ${e.statusText}`);return e}(e)&&e.arrayBuffer())).then((n=>this.fromDataBuffer(n,t||e))).catch((n=>{const r=new d("error",n,`Failed to load font at ${t||e}`);this.dispatch(r),this.onerror&&this.onerror(r)}))}async fromDataBuffer(e,t){this.fontData=new DataView(e);let n=function(e){const t=[e.getUint8(0),e.getUint8(1),e.getUint8(2),e.getUint8(3)];return L(t,P)||L(t,A)?"SFNT":L(t,V)?"WOFF":L(t,T)?"WOFF2":void 0}(this.fontData);if(!n)throw new Error(`${t} is either an unsupported font format, or not a font at all.`);await this.parseBasicData(n);const r=new d("load",{font:this});this.dispatch(r),this.onload&&this.onload(r)}async parseBasicData(e){return D().then((t=>("SFNT"===e&&(this.opentype=new w(this,this.fontData,t)),"WOFF"===e&&(this.opentype=new x(this,this.fontData,t)),"WOFF2"===e&&(this.opentype=new O(this,this.fontData,t)),this.opentype)))}getGlyphId(e){return this.opentype.tables.cmap.getGlyphId(e)}reverse(e){return this.opentype.tables.cmap.reverse(e)}supports(e){return 0!==this.getGlyphId(e)}supportsVariation(e){return!1!==this.opentype.tables.cmap.supportsVariation(e)}measureText(e,t=16){if(this.__unloaded)throw new Error("Cannot measure text: font was unloaded. Please reload before calling measureText()");let n=document.createElement("div");n.textContent=e,n.style.fontFamily=this.name,n.style.fontSize=`${t}px`,n.style.color="transparent",n.style.background="transparent",n.style.top="0",n.style.left="0",n.style.position="absolute",document.body.appendChild(n);let r=n.getBoundingClientRect();document.body.removeChild(n);const o=this.opentype.tables["OS/2"];return r.fontSize=t,r.ascender=o.sTypoAscender,r.descender=o.sTypoDescender,r}unload(){if(this.styleElement.parentNode){this.styleElement.parentNode.removeElement(this.styleElement);const e=new d("unload",{font:this});this.dispatch(e),this.onunload&&this.onunload(e)}this._unloaded=!0}load(){if(this.__unloaded){delete this.__unloaded,document.head.appendChild(this.styleElement);const e=new d("load",{font:this});this.dispatch(e),this.onload&&this.onload(e)}}}globalThis.Font=N;class z extends m{constructor(e,t,n){super(e),this.plaformID=t,this.encodingID=n}}class B extends z{constructor(e,t,n){super(e,t,n),this.format=0,this.length=e.uint16,this.language=e.uint16,this.glyphIdArray=[...new Array(256)].map((t=>e.uint8))}supports(e){return e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 0. only supports(id) is implemented.")),0<=e&&e<=255}reverse(e){return console.warn("reverse not implemented for cmap subtable format 0"),{}}getSupportedCharCodes(){return[{start:1,end:256}]}}class G extends z{constructor(e,t,n){super(e,t,n),this.format=2,this.length=e.uint16,this.language=e.uint16,this.subHeaderKeys=[...new Array(256)].map((t=>e.uint16));const r=Math.max(...this.subHeaderKeys),o=e.currentPosition;v(this,"subHeaders",(()=>(e.currentPosition=o,[...new Array(r)].map((t=>new H(e))))));const i=o+8*r;v(this,"glyphIndexArray",(()=>(e.currentPosition=i,[...new Array(r)].map((t=>e.uint16)))))}supports(e){e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 2. only supports(id) is implemented."));const t=e&&255,n=e&&65280,r=this.subHeaders[n],o=this.subHeaders[r],i=o.firstCode,s=i+o.entryCount;return i<=t&&t<=s}reverse(e){return console.warn("reverse not implemented for cmap subtable format 2"),{}}getSupportedCharCodes(e=!1){return e?this.subHeaders.map((e=>({firstCode:e.firstCode,lastCode:e.lastCode}))):this.subHeaders.map((e=>({start:e.firstCode,end:e.lastCode})))}}class H{constructor(e){this.firstCode=e.uint16,this.entryCount=e.uint16,this.lastCode=this.first+this.entryCount,this.idDelta=e.int16,this.idRangeOffset=e.uint16}}class U extends z{constructor(e,t,n){super(e,t,n),this.format=4,this.length=e.uint16,this.language=e.uint16,this.segCountX2=e.uint16,this.segCount=this.segCountX2/2,this.searchRange=e.uint16,this.entrySelector=e.uint16,this.rangeShift=e.uint16;const r=e.currentPosition;v(this,"endCode",(()=>e.readBytes(this.segCount,r,16)));const o=r+2+this.segCountX2;v(this,"startCode",(()=>e.readBytes(this.segCount,o,16)));const i=o+this.segCountX2;v(this,"idDelta",(()=>e.readBytes(this.segCount,i,16,!0)));const s=i+this.segCountX2;v(this,"idRangeOffset",(()=>e.readBytes(this.segCount,s,16)));const a=s+this.segCountX2,l=this.length-(a-this.tableStart);v(this,"glyphIdArray",(()=>e.readBytes(l,a,16))),v(this,"segments",(()=>this.buildSegments(s,a,e)))}buildSegments(e,t,n){return[...new Array(this.segCount)].map(((t,r)=>{let o=this.startCode[r],i=this.endCode[r],s=this.idDelta[r],a=this.idRangeOffset[r],l=e+2*r,u=[];if(0===a)for(let e=o+s,t=i+s;e<=t;e++)u.push(e);else for(let e=0,t=i-o;e<=t;e++)n.currentPosition=l+a+2*e,u.push(n.uint16);return{startCode:o,endCode:i,idDelta:s,idRangeOffset:a,glyphIDs:u}}))}reverse(e){let t=this.segments.find((t=>t.glyphIDs.includes(e)));if(!t)return{};const n=t.startCode+t.glyphIDs.indexOf(e);return{code:n,unicode:String.fromCodePoint(n)}}getGlyphId(e){if(e.charCodeAt&&(e=e.charCodeAt(0)),55296<=e&&e<=57343)return 0;if(65534==(65534&e)||65535==(65535&e))return 0;let t=this.segments.find((t=>t.startCode<=e&&e<=t.endCode));return t?t.glyphIDs[e-t.startCode]:0}supports(e){return 0!==this.getGlyphId(e)}getSupportedCharCodes(e=!1){return e?this.segments:this.segments.map((e=>({start:e.startCode,end:e.endCode})))}}class W extends z{constructor(e,t,n){super(e,t,n),this.format=6,this.length=e.uint16,this.language=e.uint16,this.firstCode=e.uint16,this.entryCount=e.uint16,this.lastCode=this.firstCode+this.entryCount-1,v(this,"glyphIdArray",(()=>[...new Array(this.entryCount)].map((t=>e.uint16))))}supports(e){if(e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 6. only supports(id) is implemented.")),e<this.firstCode)return{};if(e>this.firstCode+this.entryCount)return{};const t=e-this.firstCode;return{code:t,unicode:String.fromCodePoint(t)}}reverse(e){let t=this.glyphIdArray.indexOf(e);if(t>-1)return this.firstCode+t}getSupportedCharCodes(e=!1){return e?[{firstCode:this.firstCode,lastCode:this.lastCode}]:[{start:this.firstCode,end:this.lastCode}]}}class j extends z{constructor(e,t,n){super(e,t,n),this.format=8,e.uint16,this.length=e.uint32,this.language=e.uint32,this.is32=[...new Array(8192)].map((t=>e.uint8)),this.numGroups=e.uint32,v(this,"groups",(()=>[...new Array(this.numGroups)].map((t=>new q(e)))))}supports(e){return e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 8. only supports(id) is implemented.")),-1!==this.groups.findIndex((t=>t.startcharCode<=e&&e<=t.endcharCode))}reverse(e){return console.warn("reverse not implemented for cmap subtable format 8"),{}}getSupportedCharCodes(e=!1){return e?this.groups:this.groups.map((e=>({start:e.startcharCode,end:e.endcharCode})))}}class q{constructor(e){this.startcharCode=e.uint32,this.endcharCode=e.uint32,this.startGlyphID=e.uint32}}class K extends z{constructor(e,t,n){super(e,t,n),this.format=10,e.uint16,this.length=e.uint32,this.language=e.uint32,this.startCharCode=e.uint32,this.numChars=e.uint32,this.endCharCode=this.startCharCode+this.numChars,v(this,"glyphs",(()=>[...new Array(this.numChars)].map((t=>e.uint16))))}supports(e){return e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 10. only supports(id) is implemented.")),!(e<this.startCharCode)&&!(e>this.startCharCode+this.numChars)&&e-this.startCharCode}reverse(e){return console.warn("reverse not implemented for cmap subtable format 10"),{}}getSupportedCharCodes(e=!1){return e?[{startCharCode:this.startCharCode,endCharCode:this.endCharCode}]:[{start:this.startCharCode,end:this.endCharCode}]}}class Y extends z{constructor(e,t,n){super(e,t,n),this.format=12,e.uint16,this.length=e.uint32,this.language=e.uint32,this.numGroups=e.uint32,v(this,"groups",(()=>[...new Array(this.numGroups)].map((t=>new _(e)))))}supports(e){return e.charCodeAt&&(e=e.charCodeAt(0)),55296<=e&&e<=57343||65534==(65534&e)||65535==(65535&e)?0:-1!==this.groups.findIndex((t=>t.startCharCode<=e&&e<=t.endCharCode))}reverse(e){for(let t of this.groups){let n=t.startGlyphID;if(n>e)continue;if(n===e)return t.startCharCode;if(n+(t.endCharCode-t.startCharCode)<e)continue;const r=t.startCharCode+(e-n);return{code:r,unicode:String.fromCodePoint(r)}}return{}}getSupportedCharCodes(e=!1){return e?this.groups:this.groups.map((e=>({start:e.startCharCode,end:e.endCharCode})))}}class _{constructor(e){this.startCharCode=e.uint32,this.endCharCode=e.uint32,this.startGlyphID=e.uint32}}class Z extends z{constructor(e,t,n){super(e,t,n),this.format=13,e.uint16,this.length=e.uint32,this.language=e.uint32,this.numGroups=e.uint32,v(this,"groups",[...new Array(this.numGroups)].map((t=>new X(e))))}supports(e){return e.charCodeAt&&(e=e.charCodeAt(0)),-1!==this.groups.findIndex((t=>t.startCharCode<=e&&e<=t.endCharCode))}reverse(e){return console.warn("reverse not implemented for cmap subtable format 13"),{}}getSupportedCharCodes(e=!1){return e?this.groups:this.groups.map((e=>({start:e.startCharCode,end:e.endCharCode})))}}class X{constructor(e){this.startCharCode=e.uint32,this.endCharCode=e.uint32,this.glyphID=e.uint32}}class J extends z{constructor(e,t,n){super(e,t,n),this.subTableStart=e.currentPosition,this.format=14,this.length=e.uint32,this.numVarSelectorRecords=e.uint32,v(this,"varSelectors",(()=>[...new Array(this.numVarSelectorRecords)].map((t=>new Q(e)))))}supports(){return console.warn("supports not implemented for cmap subtable format 14"),0}getSupportedCharCodes(){return console.warn("getSupportedCharCodes not implemented for cmap subtable format 14"),[]}reverse(e){return console.warn("reverse not implemented for cmap subtable format 14"),{}}supportsVariation(e){return this.varSelector.find((t=>t.varSelector===e))||!1}getSupportedVariations(){return this.varSelectors.map((e=>e.varSelector))}}class Q{constructor(e){this.varSelector=e.uint24,this.defaultUVSOffset=e.Offset32,this.nonDefaultUVSOffset=e.Offset32}}class ${constructor(e,t){const n=this.platformID=e.uint16,r=this.encodingID=e.uint16,o=this.offset=e.Offset32;v(this,"table",(()=>(e.currentPosition=t+o,function(e,t,n){const r=e.uint16;return 0===r?new B(e,t,n):2===r?new G(e,t,n):4===r?new U(e,t,n):6===r?new W(e,t,n):8===r?new j(e,t,n):10===r?new K(e,t,n):12===r?new Y(e,t,n):13===r?new Z(e,t,n):14===r?new J(e,t,n):{}}(e,n,r))))}}var ee=Object.freeze({__proto__:null,cmap:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numTables=n.uint16,this.encodingRecords=[...new Array(this.numTables)].map((e=>new $(n,this.tableStart)))}getSubTable(e){return this.encodingRecords[e].table}getSupportedEncodings(){return this.encodingRecords.map((e=>({platformID:e.platformID,encodingId:e.encodingID})))}getSupportedCharCodes(e,t){const n=this.encodingRecords.findIndex((n=>n.platformID===e&&n.encodingID===t));return-1!==n&&this.getSubTable(n).getSupportedCharCodes()}reverse(e){for(let t=0;t<this.numTables;t++){let n=this.getSubTable(t).reverse(e);if(n)return n}}getGlyphId(e){let t=0;return this.encodingRecords.some(((n,r)=>{let o=this.getSubTable(r);return!!o.getGlyphId&&(t=o.getGlyphId(e),0!==t)})),t}supports(e){return this.encodingRecords.some(((t,n)=>{const r=this.getSubTable(n);return r.supports&&!1!==r.supports(e)}))}supportsVariation(e){return this.encodingRecords.some(((t,n)=>{const r=this.getSubTable(n);return r.supportsVariation&&!1!==r.supportsVariation(e)}))}}}),te=Object.freeze({__proto__:null,head:class extends b{constructor(e,t){const{p:n}=super(e,t);this.load({majorVersion:n.uint16,minorVersion:n.uint16,fontRevision:n.fixed,checkSumAdjustment:n.uint32,magicNumber:n.uint32,flags:n.flags(16),unitsPerEm:n.uint16,created:n.longdatetime,modified:n.longdatetime,xMin:n.int16,yMin:n.int16,xMax:n.int16,yMax:n.int16,macStyle:n.flags(16),lowestRecPPEM:n.uint16,fontDirectionHint:n.uint16,indexToLocFormat:n.uint16,glyphDataFormat:n.uint16})}}}),ne=Object.freeze({__proto__:null,hhea:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.ascender=n.fword,this.descender=n.fword,this.lineGap=n.fword,this.advanceWidthMax=n.ufword,this.minLeftSideBearing=n.fword,this.minRightSideBearing=n.fword,this.xMaxExtent=n.fword,this.caretSlopeRise=n.int16,this.caretSlopeRun=n.int16,this.caretOffset=n.int16,n.int16,n.int16,n.int16,n.int16,this.metricDataFormat=n.int16,this.numberOfHMetrics=n.uint16,n.verifyLength()}}});class re{constructor(e,t){this.advanceWidth=e,this.lsb=t}}var oe=Object.freeze({__proto__:null,hmtx:class extends b{constructor(e,t,n){const{p:r}=super(e,t),o=n.hhea.numberOfHMetrics,i=n.maxp.numGlyphs,s=r.currentPosition;if(v(this,"hMetrics",(()=>(r.currentPosition=s,[...new Array(o)].map((e=>new re(r.uint16,r.int16)))))),o<i){const e=s+4*o;v(this,"leftSideBearings",(()=>(r.currentPosition=e,[...new Array(i-o)].map((e=>r.int16)))))}}}}),ie=Object.freeze({__proto__:null,maxp:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.legacyFixed,this.numGlyphs=n.uint16,1===this.version&&(this.maxPoints=n.uint16,this.maxContours=n.uint16,this.maxCompositePoints=n.uint16,this.maxCompositeContours=n.uint16,this.maxZones=n.uint16,this.maxTwilightPoints=n.uint16,this.maxStorage=n.uint16,this.maxFunctionDefs=n.uint16,this.maxInstructionDefs=n.uint16,this.maxStackElements=n.uint16,this.maxSizeOfInstructions=n.uint16,this.maxComponentElements=n.uint16,this.maxComponentDepth=n.uint16),n.verifyLength()}}});class se{constructor(e,t){this.length=e,this.offset=t}}class ae{constructor(e,t){this.platformID=e.uint16,this.encodingID=e.uint16,this.languageID=e.uint16,this.nameID=e.uint16,this.length=e.uint16,this.offset=e.Offset16,v(this,"string",(()=>(e.currentPosition=t.stringStart+this.offset,function(e,t){const{platformID:n,length:r}=t;if(0===r)return"";if(0===n||3===n){const t=[];for(let n=0,o=r/2;n<o;n++)t[n]=String.fromCharCode(e.uint16);return t.join("")}const o=e.readBytes(r),i=[];return o.forEach((function(e,t){i[t]=String.fromCharCode(e)})),i.join("")}(e,this))))}}var le=Object.freeze({__proto__:null,name:class extends b{constructor(e,t){const{p:n}=super(e,t);this.format=n.uint16,this.count=n.uint16,this.stringOffset=n.Offset16,this.nameRecords=[...new Array(this.count)].map((e=>new ae(n,this))),1===this.format&&(this.langTagCount=n.uint16,this.langTagRecords=[...new Array(this.langTagCount)].map((e=>new se(n.uint16,n.Offset16)))),this.stringStart=this.tableStart+this.stringOffset}get(e){let t=this.nameRecords.find((t=>t.nameID===e));if(t)return t.string}}}),ue=Object.freeze({__proto__:null,OS2:class extends b{constructor(e,t){const{p:n}=super(e,t);return this.version=n.uint16,this.xAvgCharWidth=n.int16,this.usWeightClass=n.uint16,this.usWidthClass=n.uint16,this.fsType=n.uint16,this.ySubscriptXSize=n.int16,this.ySubscriptYSize=n.int16,this.ySubscriptXOffset=n.int16,this.ySubscriptYOffset=n.int16,this.ySuperscriptXSize=n.int16,this.ySuperscriptYSize=n.int16,this.ySuperscriptXOffset=n.int16,this.ySuperscriptYOffset=n.int16,this.yStrikeoutSize=n.int16,this.yStrikeoutPosition=n.int16,this.sFamilyClass=n.int16,this.panose=[...new Array(10)].map((e=>n.uint8)),this.ulUnicodeRange1=n.flags(32),this.ulUnicodeRange2=n.flags(32),this.ulUnicodeRange3=n.flags(32),this.ulUnicodeRange4=n.flags(32),this.achVendID=n.tag,this.fsSelection=n.uint16,this.usFirstCharIndex=n.uint16,this.usLastCharIndex=n.uint16,this.sTypoAscender=n.int16,this.sTypoDescender=n.int16,this.sTypoLineGap=n.int16,this.usWinAscent=n.uint16,this.usWinDescent=n.uint16,0===this.version?n.verifyLength():(this.ulCodePageRange1=n.flags(32),this.ulCodePageRange2=n.flags(32),1===this.version?n.verifyLength():(this.sxHeight=n.int16,this.sCapHeight=n.int16,this.usDefaultChar=n.uint16,this.usBreakChar=n.uint16,this.usMaxContext=n.uint16,this.version<=4?n.verifyLength():(this.usLowerOpticalPointSize=n.uint16,this.usUpperOpticalPointSize=n.uint16,5===this.version?n.verifyLength():void 0)))}}});const ce=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];var de=Object.freeze({__proto__:null,post:class extends b{constructor(e,t){const{p:n}=super(e,t);if(this.version=n.legacyFixed,this.italicAngle=n.fixed,this.underlinePosition=n.fword,this.underlineThickness=n.fword,this.isFixedPitch=n.uint32,this.minMemType42=n.uint32,this.maxMemType42=n.uint32,this.minMemType1=n.uint32,this.maxMemType1=n.uint32,1===this.version||3===this.version)return n.verifyLength();if(this.numGlyphs=n.uint16,2===this.version){this.glyphNameIndex=[...new Array(this.numGlyphs)].map((e=>n.uint16)),this.namesOffset=n.currentPosition,this.glyphNameOffsets=[1];for(let e=0;e<this.numGlyphs;e++){if(this.glyphNameIndex[e]<ce.length){this.glyphNameOffsets.push(this.glyphNameOffsets[e]);continue}let t=n.int8;n.skip(t),this.glyphNameOffsets.push(this.glyphNameOffsets[e]+t+1)}}2.5===this.version&&(this.offset=[...new Array(this.numGlyphs)].map((e=>n.int8)))}getGlyphName(e){if(2!==this.version)return console.warn(`post table version ${this.version} does not support glyph name lookups`),"";let t=this.glyphNameIndex[e];if(t<258)return ce[t];let n=this.glyphNameOffsets[e],r=this.glyphNameOffsets[e+1]-n-1;return 0===r?".notdef.":(this.parser.currentPosition=this.namesOffset+n,this.parser.readBytes(r,this.namesOffset+n,8,!0).map((e=>String.fromCharCode(e))).join(""))}}});class he extends b{constructor(e,t){const{p:n}=super(e,t,"AxisTable");this.baseTagListOffset=n.Offset16,this.baseScriptListOffset=n.Offset16,v(this,"baseTagList",(()=>new fe({offset:e.offset+this.baseTagListOffset},t))),v(this,"baseScriptList",(()=>new ge({offset:e.offset+this.baseScriptListOffset},t)))}}class fe extends b{constructor(e,t){const{p:n}=super(e,t,"BaseTagListTable");this.baseTagCount=n.uint16,this.baselineTags=[...new Array(this.baseTagCount)].map((e=>n.tag))}}class ge extends b{constructor(e,t){const{p:n}=super(e,t,"BaseScriptListTable");this.baseScriptCount=n.uint16;const r=n.currentPosition;v(this,"baseScriptRecords",(()=>(n.currentPosition=r,[...new Array(this.baseScriptCount)].map((e=>new pe(this.start,n))))))}}class pe{constructor(e,t){this.baseScriptTag=t.tag,this.baseScriptOffset=t.Offset16,v(this,"baseScriptTable",(()=>(t.currentPosition=e+this.baseScriptOffset,new me(t))))}}class me{constructor(e){this.start=e.currentPosition,this.baseValuesOffset=e.Offset16,this.defaultMinMaxOffset=e.Offset16,this.baseLangSysCount=e.uint16,this.baseLangSysRecords=[...new Array(this.baseLangSysCount)].map((t=>new be(this.start,e))),v(this,"baseValues",(()=>(e.currentPosition=this.start+this.baseValuesOffset,new ve(e)))),v(this,"defaultMinMax",(()=>(e.currentPosition=this.start+this.defaultMinMaxOffset,new we(e))))}}class be{constructor(e,t){this.baseLangSysTag=t.tag,this.minMaxOffset=t.Offset16,v(this,"minMax",(()=>(t.currentPosition=e+this.minMaxOffset,new we(t))))}}class ve{constructor(e){this.parser=e,this.start=e.currentPosition,this.defaultBaselineIndex=e.uint16,this.baseCoordCount=e.uint16,this.baseCoords=[...new Array(this.baseCoordCount)].map((t=>e.Offset16))}getTable(e){return this.parser.currentPosition=this.start+this.baseCoords[e],new Ce(this.parser)}}class we{constructor(e){this.minCoord=e.Offset16,this.maxCoord=e.Offset16,this.featMinMaxCount=e.uint16;const t=e.currentPosition;v(this,"featMinMaxRecords",(()=>(e.currentPosition=t,[...new Array(this.featMinMaxCount)].map((t=>new ye(e))))))}}class ye{constructor(e){this.featureTableTag=e.tag,this.minCoord=e.Offset16,this.maxCoord=e.Offset16}}class Ce{constructor(e){this.baseCoordFormat=e.uint16,this.coordinate=e.int16,2===this.baseCoordFormat&&(this.referenceGlyph=e.uint16,this.baseCoordPoint=e.uint16),3===this.baseCoordFormat&&(this.deviceTable=e.Offset16)}}var xe=Object.freeze({__proto__:null,BASE:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.horizAxisOffset=n.Offset16,this.vertAxisOffset=n.Offset16,v(this,"horizAxis",(()=>new he({offset:e.offset+this.horizAxisOffset},t))),v(this,"vertAxis",(()=>new he({offset:e.offset+this.vertAxisOffset},t))),1===this.majorVersion&&1===this.minorVersion&&(this.itemVarStoreOffset=n.Offset32,v(this,"itemVarStore",(()=>new he({offset:e.offset+this.itemVarStoreOffset},t))))}}});class Se{constructor(e){this.classFormat=e.uint16,1===this.classFormat&&(this.startGlyphID=e.uint16,this.glyphCount=e.uint16,this.classValueArray=[...new Array(this.glyphCount)].map((t=>e.uint16))),2===this.classFormat&&(this.classRangeCount=e.uint16,this.classRangeRecords=[...new Array(this.classRangeCount)].map((t=>new Ee(e))))}}class Ee{constructor(e){this.startGlyphID=e.uint16,this.endGlyphID=e.uint16,this.class=e.uint16}}class Re extends m{constructor(e){super(e),this.coverageFormat=e.uint16,1===this.coverageFormat&&(this.glyphCount=e.uint16,this.glyphArray=[...new Array(this.glyphCount)].map((t=>e.uint16))),2===this.coverageFormat&&(this.rangeCount=e.uint16,this.rangeRecords=[...new Array(this.rangeCount)].map((t=>new Oe(e))))}}class Oe{constructor(e){this.startGlyphID=e.uint16,this.endGlyphID=e.uint16,this.startCoverageIndex=e.uint16}}class Ie{constructor(e,t){this.table=e,this.parser=t,this.start=t.currentPosition,this.format=t.uint16,this.variationRegionListOffset=t.Offset32,this.itemVariationDataCount=t.uint16,this.itemVariationDataOffsets=[...new Array(this.itemVariationDataCount)].map((e=>t.Offset32))}}class ke extends m{constructor(e){super(e),this.coverageOffset=e.Offset16,this.glyphCount=e.uint16,this.attachPointOffsets=[...new Array(this.glyphCount)].map((t=>e.Offset16))}getPoint(e){return this.parser.currentPosition=this.start+this.attachPointOffsets[e],new Me(this.parser)}}class Me{constructor(e){this.pointCount=e.uint16,this.pointIndices=[...new Array(this.pointCount)].map((t=>e.uint16))}}class Fe extends m{constructor(e){super(e),this.coverageOffset=e.Offset16,v(this,"coverage",(()=>(e.currentPosition=this.start+this.coverageOffset,new Re(e)))),this.ligGlyphCount=e.uint16,this.ligGlyphOffsets=[...new Array(this.ligGlyphCount)].map((t=>e.Offset16))}getLigGlyph(e){return this.parser.currentPosition=this.start+this.ligGlyphOffsets[e],new De(this.parser)}}class De extends m{constructor(e){super(e),this.caretCount=e.uint16,this.caretValueOffsets=[...new Array(this.caretCount)].map((t=>e.Offset16))}getCaretValue(e){return this.parser.currentPosition=this.start+this.caretValueOffsets[e],new Pe(this.parser)}}class Pe{constructor(e){this.caretValueFormat=e.uint16,1===this.caretValueFormat&&(this.coordinate=e.int16),2===this.caretValueFormat&&(this.caretValuePointIndex=e.uint16),3===this.caretValueFormat&&(this.coordinate=e.int16,this.deviceOffset=e.Offset16)}}class Ae extends m{constructor(e){super(e),this.markGlyphSetTableFormat=e.uint16,this.markGlyphSetCount=e.uint16,this.coverageOffsets=[...new Array(this.markGlyphSetCount)].map((t=>e.Offset32))}getMarkGlyphSet(e){return this.parser.currentPosition=this.start+this.coverageOffsets[e],new Re(this.parser)}}var Ve=Object.freeze({__proto__:null,GDEF:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.glyphClassDefOffset=n.Offset16,v(this,"glyphClassDefs",(()=>{if(0!==this.glyphClassDefOffset)return n.currentPosition=this.tableStart+this.glyphClassDefOffset,new Se(n)})),this.attachListOffset=n.Offset16,v(this,"attachList",(()=>{if(0!==this.attachListOffset)return n.currentPosition=this.tableStart+this.attachListOffset,new ke(n)})),this.ligCaretListOffset=n.Offset16,v(this,"ligCaretList",(()=>{if(0!==this.ligCaretListOffset)return n.currentPosition=this.tableStart+this.ligCaretListOffset,new Fe(n)})),this.markAttachClassDefOffset=n.Offset16,v(this,"markAttachClassDef",(()=>{if(0!==this.markAttachClassDefOffset)return n.currentPosition=this.tableStart+this.markAttachClassDefOffset,new Se(n)})),this.minorVersion>=2&&(this.markGlyphSetsDefOffset=n.Offset16,v(this,"markGlyphSetsDef",(()=>{if(0!==this.markGlyphSetsDefOffset)return n.currentPosition=this.tableStart+this.markGlyphSetsDefOffset,new Ae(n)}))),3===this.minorVersion&&(this.itemVarStoreOffset=n.Offset32,v(this,"itemVarStore",(()=>{if(0!==this.itemVarStoreOffset)return n.currentPosition=this.tableStart+this.itemVarStoreOffset,new Ie(n)})))}}});class Te extends m{static EMPTY={scriptCount:0,scriptRecords:[]};constructor(e){super(e),this.scriptCount=e.uint16,this.scriptRecords=[...new Array(this.scriptCount)].map((t=>new Le(e)))}}class Le{constructor(e){this.scriptTag=e.tag,this.scriptOffset=e.Offset16}}class Ne extends m{constructor(e){super(e),this.defaultLangSys=e.Offset16,this.langSysCount=e.uint16,this.langSysRecords=[...new Array(this.langSysCount)].map((t=>new ze(e)))}}class ze{constructor(e){this.langSysTag=e.tag,this.langSysOffset=e.Offset16}}class Be{constructor(e){this.lookupOrder=e.Offset16,this.requiredFeatureIndex=e.uint16,this.featureIndexCount=e.uint16,this.featureIndices=[...new Array(this.featureIndexCount)].map((t=>e.uint16))}}class Ge extends m{static EMPTY={featureCount:0,featureRecords:[]};constructor(e){super(e),this.featureCount=e.uint16,this.featureRecords=[...new Array(this.featureCount)].map((t=>new He(e)))}}class He{constructor(e){this.featureTag=e.tag,this.featureOffset=e.Offset16}}class Ue extends m{constructor(e){super(e),this.featureParams=e.Offset16,this.lookupIndexCount=e.uint16,this.lookupListIndices=[...new Array(this.lookupIndexCount)].map((t=>e.uint16))}getFeatureParams(){if(this.featureParams>0){const e=this.parser;e.currentPosition=this.start+this.featureParams;const t=this.featureTag;if("size"===t)return new je(e);if(t.startsWith("cc"))return new We(e);if(t.startsWith("ss"))return new qe(e)}}}class We{constructor(e){this.format=e.uint16,this.featUiLabelNameId=e.uint16,this.featUiTooltipTextNameId=e.uint16,this.sampleTextNameId=e.uint16,this.numNamedParameters=e.uint16,this.firstParamUiLabelNameId=e.uint16,this.charCount=e.uint16,this.character=[...new Array(this.charCount)].map((t=>e.uint24))}}class je{constructor(e){this.designSize=e.uint16,this.subfamilyIdentifier=e.uint16,this.subfamilyNameID=e.uint16,this.smallEnd=e.uint16,this.largeEnd=e.uint16}}class qe{constructor(e){this.version=e.uint16,this.UINameID=e.uint16}}function Ke(e){e.parser.currentPosition-=2,delete e.coverageOffset,delete e.getCoverageTable}class Ye extends m{constructor(e){super(e),this.substFormat=e.uint16,this.coverageOffset=e.Offset16}getCoverageTable(){let e=this.parser;return e.currentPosition=this.start+this.coverageOffset,new Re(e)}}class _e{constructor(e){this.glyphSequenceIndex=e.uint16,this.lookupListIndex=e.uint16}}class Ze extends Ye{constructor(e){super(e),this.deltaGlyphID=e.int16}}class Xe extends Ye{constructor(e){super(e),this.sequenceCount=e.uint16,this.sequenceOffsets=[...new Array(this.sequenceCount)].map((t=>e.Offset16))}getSequence(e){let t=this.parser;return t.currentPosition=this.start+this.sequenceOffsets[e],new Je(t)}}class Je{constructor(e){this.glyphCount=e.uint16,this.substituteGlyphIDs=[...new Array(this.glyphCount)].map((t=>e.uint16))}}class Qe extends Ye{constructor(e){super(e),this.alternateSetCount=e.uint16,this.alternateSetOffsets=[...new Array(this.alternateSetCount)].map((t=>e.Offset16))}getAlternateSet(e){let t=this.parser;return t.currentPosition=this.start+this.alternateSetOffsets[e],new $e(t)}}class $e{constructor(e){this.glyphCount=e.uint16,this.alternateGlyphIDs=[...new Array(this.glyphCount)].map((t=>e.uint16))}}class et extends Ye{constructor(e){super(e),this.ligatureSetCount=e.uint16,this.ligatureSetOffsets=[...new Array(this.ligatureSetCount)].map((t=>e.Offset16))}getLigatureSet(e){let t=this.parser;return t.currentPosition=this.start+this.ligatureSetOffsets[e],new tt(t)}}class tt extends m{constructor(e){super(e),this.ligatureCount=e.uint16,this.ligatureOffsets=[...new Array(this.ligatureCount)].map((t=>e.Offset16))}getLigature(e){let t=this.parser;return t.currentPosition=this.start+this.ligatureOffsets[e],new nt(t)}}class nt{constructor(e){this.ligatureGlyph=e.uint16,this.componentCount=e.uint16,this.componentGlyphIDs=[...new Array(this.componentCount-1)].map((t=>e.uint16))}}class rt extends Ye{constructor(e){super(e),1===this.substFormat&&(this.subRuleSetCount=e.uint16,this.subRuleSetOffsets=[...new Array(this.subRuleSetCount)].map((t=>e.Offset16))),2===this.substFormat&&(this.classDefOffset=e.Offset16,this.subClassSetCount=e.uint16,this.subClassSetOffsets=[...new Array(this.subClassSetCount)].map((t=>e.Offset16))),3===this.substFormat&&(Ke(this),this.glyphCount=e.uint16,this.substitutionCount=e.uint16,this.coverageOffsets=[...new Array(this.glyphCount)].map((t=>e.Offset16)),this.substLookupRecords=[...new Array(this.substitutionCount)].map((t=>new _e(e))))}getSubRuleSet(e){if(1!==this.substFormat)throw new Error(`lookup type 5.${this.substFormat} has no subrule sets.`);let t=this.parser;return t.currentPosition=this.start+this.subRuleSetOffsets[e],new ot(t)}getSubClassSet(e){if(2!==this.substFormat)throw new Error(`lookup type 5.${this.substFormat} has no subclass sets.`);let t=this.parser;return t.currentPosition=this.start+this.subClassSetOffsets[e],new st(t)}getCoverageTable(e){if(3!==this.substFormat&&!e)return super.getCoverageTable();if(!e)throw new Error(`lookup type 5.${this.substFormat} requires an coverage table index.`);let t=this.parser;return t.currentPosition=this.start+this.coverageOffsets[e],new Re(t)}}class ot extends m{constructor(e){super(e),this.subRuleCount=e.uint16,this.subRuleOffsets=[...new Array(this.subRuleCount)].map((t=>e.Offset16))}getSubRule(e){let t=this.parser;return t.currentPosition=this.start+this.subRuleOffsets[e],new it(t)}}class it{constructor(e){this.glyphCount=e.uint16,this.substitutionCount=e.uint16,this.inputSequence=[...new Array(this.glyphCount-1)].map((t=>e.uint16)),this.substLookupRecords=[...new Array(this.substitutionCount)].map((t=>new _e(e)))}}class st extends m{constructor(e){super(e),this.subClassRuleCount=e.uint16,this.subClassRuleOffsets=[...new Array(this.subClassRuleCount)].map((t=>e.Offset16))}getSubClass(e){let t=this.parser;return t.currentPosition=this.start+this.subClassRuleOffsets[e],new at(t)}}class at extends it{constructor(e){super(e)}}class lt extends Ye{constructor(e){super(e),1===this.substFormat&&(this.chainSubRuleSetCount=e.uint16,this.chainSubRuleSetOffsets=[...new Array(this.chainSubRuleSetCount)].map((t=>e.Offset16))),2===this.substFormat&&(this.backtrackClassDefOffset=e.Offset16,this.inputClassDefOffset=e.Offset16,this.lookaheadClassDefOffset=e.Offset16,this.chainSubClassSetCount=e.uint16,this.chainSubClassSetOffsets=[...new Array(this.chainSubClassSetCount)].map((t=>e.Offset16))),3===this.substFormat&&(Ke(this),this.backtrackGlyphCount=e.uint16,this.backtrackCoverageOffsets=[...new Array(this.backtrackGlyphCount)].map((t=>e.Offset16)),this.inputGlyphCount=e.uint16,this.inputCoverageOffsets=[...new Array(this.inputGlyphCount)].map((t=>e.Offset16)),this.lookaheadGlyphCount=e.uint16,this.lookaheadCoverageOffsets=[...new Array(this.lookaheadGlyphCount)].map((t=>e.Offset16)),this.seqLookupCount=e.uint16,this.seqLookupRecords=[...new Array(this.substitutionCount)].map((t=>new ft(e))))}getChainSubRuleSet(e){if(1!==this.substFormat)throw new Error(`lookup type 6.${this.substFormat} has no chainsubrule sets.`);let t=this.parser;return t.currentPosition=this.start+this.chainSubRuleSetOffsets[e],new ut(t)}getChainSubClassSet(e){if(2!==this.substFormat)throw new Error(`lookup type 6.${this.substFormat} has no chainsubclass sets.`);let t=this.parser;return t.currentPosition=this.start+this.chainSubClassSetOffsets[e],new dt(t)}getCoverageFromOffset(e){if(3!==this.substFormat)throw new Error(`lookup type 6.${this.substFormat} does not use contextual coverage offsets.`);let t=this.parser;return t.currentPosition=this.start+e,new Re(t)}}class ut extends m{constructor(e){super(e),this.chainSubRuleCount=e.uint16,this.chainSubRuleOffsets=[...new Array(this.chainSubRuleCount)].map((t=>e.Offset16))}getSubRule(e){let t=this.parser;return t.currentPosition=this.start+this.chainSubRuleOffsets[e],new ct(t)}}class ct{constructor(e){this.backtrackGlyphCount=e.uint16,this.backtrackSequence=[...new Array(this.backtrackGlyphCount)].map((t=>e.uint16)),this.inputGlyphCount=e.uint16,this.inputSequence=[...new Array(this.inputGlyphCount-1)].map((t=>e.uint16)),this.lookaheadGlyphCount=e.uint16,this.lookAheadSequence=[...new Array(this.lookAheadGlyphCount)].map((t=>e.uint16)),this.substitutionCount=e.uint16,this.substLookupRecords=[...new Array(this.SubstCount)].map((t=>new _e(e)))}}class dt extends m{constructor(e){super(e),this.chainSubClassRuleCount=e.uint16,this.chainSubClassRuleOffsets=[...new Array(this.chainSubClassRuleCount)].map((t=>e.Offset16))}getSubClass(e){let t=this.parser;return t.currentPosition=this.start+this.chainSubRuleOffsets[e],new ht(t)}}class ht{constructor(e){this.backtrackGlyphCount=e.uint16,this.backtrackSequence=[...new Array(this.backtrackGlyphCount)].map((t=>e.uint16)),this.inputGlyphCount=e.uint16,this.inputSequence=[...new Array(this.inputGlyphCount-1)].map((t=>e.uint16)),this.lookaheadGlyphCount=e.uint16,this.lookAheadSequence=[...new Array(this.lookAheadGlyphCount)].map((t=>e.uint16)),this.substitutionCount=e.uint16,this.substLookupRecords=[...new Array(this.substitutionCount)].map((t=>new ft(e)))}}class ft extends m{constructor(e){super(e),this.sequenceIndex=e.uint16,this.lookupListIndex=e.uint16}}class gt extends m{constructor(e){super(e),this.substFormat=e.uint16,this.extensionLookupType=e.uint16,this.extensionOffset=e.Offset32}}class pt extends Ye{constructor(e){super(e),this.backtrackGlyphCount=e.uint16,this.backtrackCoverageOffsets=[...new Array(this.backtrackGlyphCount)].map((t=>e.Offset16)),this.lookaheadGlyphCount=e.uint16,this.lookaheadCoverageOffsets=[new Array(this.lookaheadGlyphCount)].map((t=>e.Offset16)),this.glyphCount=e.uint16,this.substituteGlyphIDs=[...new Array(this.glyphCount)].map((t=>e.uint16))}}var mt={buildSubtable:function(e,t){const n=new[void 0,Ze,Xe,Qe,et,rt,lt,gt,pt][e](t);return n.type=e,n}};class bt extends m{constructor(e){super(e)}}class vt extends bt{constructor(e){super(e),console.log("lookup type 1")}}class wt extends bt{constructor(e){super(e),console.log("lookup type 2")}}class yt extends bt{constructor(e){super(e),console.log("lookup type 3")}}class Ct extends bt{constructor(e){super(e),console.log("lookup type 4")}}class xt extends bt{constructor(e){super(e),console.log("lookup type 5")}}class St extends bt{constructor(e){super(e),console.log("lookup type 6")}}class Et extends bt{constructor(e){super(e),console.log("lookup type 7")}}class Rt extends bt{constructor(e){super(e),console.log("lookup type 8")}}class Ot extends bt{constructor(e){super(e),console.log("lookup type 9")}}var It={buildSubtable:function(e,t){const n=new[void 0,vt,wt,yt,Ct,xt,St,Et,Rt,Ot][e](t);return n.type=e,n}};class kt extends m{static EMPTY={lookupCount:0,lookups:[]};constructor(e){super(e),this.lookupCount=e.uint16,this.lookups=[...new Array(this.lookupCount)].map((t=>e.Offset16))}}class Mt extends m{constructor(e,t){super(e),this.ctType=t,this.lookupType=e.uint16,this.lookupFlag=e.uint16,this.subTableCount=e.uint16,this.subtableOffsets=[...new Array(this.subTableCount)].map((t=>e.Offset16)),this.markFilteringSet=e.uint16}get rightToLeft(){return!0&this.lookupFlag}get ignoreBaseGlyphs(){return!0&this.lookupFlag}get ignoreLigatures(){return!0&this.lookupFlag}get ignoreMarks(){return!0&this.lookupFlag}get useMarkFilteringSet(){return!0&this.lookupFlag}get markAttachmentType(){return!0&this.lookupFlag}getSubTable(e){const t="GSUB"===this.ctType?mt:It;return this.parser.currentPosition=this.start+this.subtableOffsets[e],t.buildSubtable(this.lookupType,this.parser)}}class Ft extends b{constructor(e,t,n){const{p:r,tableStart:o}=super(e,t,n);this.majorVersion=r.uint16,this.minorVersion=r.uint16,this.scriptListOffset=r.Offset16,this.featureListOffset=r.Offset16,this.lookupListOffset=r.Offset16,1===this.majorVersion&&1===this.minorVersion&&(this.featureVariationsOffset=r.Offset32);const i=!(this.scriptListOffset||this.featureListOffset||this.lookupListOffset);v(this,"scriptList",(()=>i?Te.EMPTY:(r.currentPosition=o+this.scriptListOffset,new Te(r)))),v(this,"featureList",(()=>i?Ge.EMPTY:(r.currentPosition=o+this.featureListOffset,new Ge(r)))),v(this,"lookupList",(()=>i?kt.EMPTY:(r.currentPosition=o+this.lookupListOffset,new kt(r)))),this.featureVariationsOffset&&v(this,"featureVariations",(()=>i?FeatureVariations.EMPTY:(r.currentPosition=o+this.featureVariationsOffset,new FeatureVariations(r))))}getSupportedScripts(){return this.scriptList.scriptRecords.map((e=>e.scriptTag))}getScriptTable(e){let t=this.scriptList.scriptRecords.find((t=>t.scriptTag===e));this.parser.currentPosition=this.scriptList.start+t.scriptOffset;let n=new Ne(this.parser);return n.scriptTag=e,n}ensureScriptTable(e){return"string"==typeof e?this.getScriptTable(e):e}getSupportedLangSys(e){const t=0!==(e=this.ensureScriptTable(e)).defaultLangSys,n=e.langSysRecords.map((e=>e.langSysTag));return t&&n.unshift("dflt"),n}getDefaultLangSysTable(e){let t=(e=this.ensureScriptTable(e)).defaultLangSys;if(0!==t){this.parser.currentPosition=e.start+t;let n=new Be(this.parser);return n.langSysTag="",n.defaultForScript=e.scriptTag,n}}getLangSysTable(e,t="dflt"){if("dflt"===t)return this.getDefaultLangSysTable(e);let n=(e=this.ensureScriptTable(e)).langSysRecords.find((e=>e.langSysTag===t));this.parser.currentPosition=e.start+n.langSysOffset;let r=new Be(this.parser);return r.langSysTag=t,r}getFeatures(e){return e.featureIndices.map((e=>this.getFeature(e)))}getFeature(e){let t;if(t=parseInt(e)==e?this.featureList.featureRecords[e]:this.featureList.featureRecords.find((t=>t.featureTag===e)),!t)return;this.parser.currentPosition=this.featureList.start+t.featureOffset;let n=new Ue(this.parser);return n.featureTag=t.featureTag,n}getLookups(e){return e.lookupListIndices.map((e=>this.getLookup(e)))}getLookup(e,t){let n=this.lookupList.lookups[e];return this.parser.currentPosition=this.lookupList.start+n,new Mt(this.parser,t)}}var Dt=Object.freeze({__proto__:null,GSUB:class extends Ft{constructor(e,t){super(e,t,"GSUB")}getLookup(e){return super.getLookup(e,"GSUB")}}}),Pt=Object.freeze({__proto__:null,GPOS:class extends Ft{constructor(e,t){super(e,t,"GPOS")}getLookup(e){return super.getLookup(e,"GPOS")}}});class At extends m{constructor(e){super(e),this.numEntries=e.uint16,this.documentRecords=[...new Array(this.numEntries)].map((t=>new Vt(e)))}getDocument(e){let t=this.documentRecords[e];if(!t)return"";let n=this.start+t.svgDocOffset;return this.parser.currentPosition=n,this.parser.readBytes(t.svgDocLength)}getDocumentForGlyph(e){let t=this.documentRecords.findIndex((t=>t.startGlyphID<=e&&e<=t.endGlyphID));return-1===t?"":this.getDocument(t)}}class Vt{constructor(e){this.startGlyphID=e.uint16,this.endGlyphID=e.uint16,this.svgDocOffset=e.Offset32,this.svgDocLength=e.uint32}}var Tt=Object.freeze({__proto__:null,SVG:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.offsetToSVGDocumentList=n.Offset32,n.currentPosition=this.tableStart+this.offsetToSVGDocumentList,this.documentList=new At(n)}}});class Lt{constructor(e){this.tag=e.tag,this.minValue=e.fixed,this.defaultValue=e.fixed,this.maxValue=e.fixed,this.flags=e.flags(16),this.axisNameID=e.uint16}}class Nt{constructor(e,t,n){let r=e.currentPosition;this.subfamilyNameID=e.uint16,e.uint16,this.coordinates=[...new Array(t)].map((t=>e.fixed)),e.currentPosition-r<n&&(this.postScriptNameID=e.uint16)}}var zt=Object.freeze({__proto__:null,fvar:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.axesArrayOffset=n.Offset16,n.uint16,this.axisCount=n.uint16,this.axisSize=n.uint16,this.instanceCount=n.uint16,this.instanceSize=n.uint16;const r=this.tableStart+this.axesArrayOffset;v(this,"axes",(()=>(n.currentPosition=r,[...new Array(this.axisCount)].map((e=>new Lt(n))))));const o=r+this.axisCount*this.axisSize;v(this,"instances",(()=>{let e=[];for(let t=0;t<this.instanceCount;t++)n.currentPosition=o+t*this.instanceSize,e.push(new Nt(n,this.axisCount,this.instanceSize));return e}))}getSupportedAxes(){return this.axes.map((e=>e.tag))}getAxis(e){return this.axes.find((t=>t.tag===e))}}}),Bt=Object.freeze({__proto__:null,cvt:class extends b{constructor(e,t){const{p:n}=super(e,t),r=e.length/2;v(this,"items",(()=>[...new Array(r)].map((e=>n.fword))))}}}),Gt=Object.freeze({__proto__:null,fpgm:class extends b{constructor(e,t){const{p:n}=super(e,t);v(this,"instructions",(()=>[...new Array(e.length)].map((e=>n.uint8))))}}});class Ht{constructor(e){this.rangeMaxPPEM=e.uint16,this.rangeGaspBehavior=e.uint16}}var Ut=Object.freeze({__proto__:null,gasp:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numRanges=n.uint16,v(this,"gaspRanges",(()=>[...new Array(this.numRanges)].map((e=>new Ht(n)))))}}}),Wt=Object.freeze({__proto__:null,glyf:class extends b{constructor(e,t){super(e,t)}getGlyphData(e,t){return this.parser.currentPosition=this.tableStart+e,this.parser.readBytes(t)}}}),jt=Object.freeze({__proto__:null,loca:class extends b{constructor(e,t,n){const{p:r}=super(e,t),o=n.maxp.numGlyphs+1;0===n.head.indexToLocFormat?(this.x2=!0,v(this,"offsets",(()=>[...new Array(o)].map((e=>r.Offset16))))):v(this,"offsets",(()=>[...new Array(o)].map((e=>r.Offset32))))}getGlyphDataOffsetAndLength(e){let t=this.offsets[e]*this.x2?2:1;return{offset:t,length:(this.offsets[e+1]*this.x2?2:1)-t}}}}),qt=Object.freeze({__proto__:null,prep:class extends b{constructor(e,t){const{p:n}=super(e,t);v(this,"instructions",(()=>[...new Array(e.length)].map((e=>n.uint8))))}}}),Kt=Object.freeze({__proto__:null,CFF:class extends b{constructor(e,t){const{p:n}=super(e,t);v(this,"data",(()=>n.readBytes()))}}}),Yt=Object.freeze({__proto__:null,CFF2:class extends b{constructor(e,t){const{p:n}=super(e,t);v(this,"data",(()=>n.readBytes()))}}});class _t{constructor(e){this.glyphIndex=e.uint16,this.vertOriginY=e.int16}}var Zt=Object.freeze({__proto__:null,VORG:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.defaultVertOriginY=n.int16,this.numVertOriginYMetrics=n.uint16,v(this,"vertORiginYMetrics",(()=>[...new Array(this.numVertOriginYMetrics)].map((e=>new _t(n)))))}}});class Xt{constructor(e){this.indexSubTableArrayOffset=e.Offset32,this.indexTablesSize=e.uint32,this.numberofIndexSubTables=e.uint32,this.colorRef=e.uint32,this.hori=new Qt(e),this.vert=new Qt(e),this.startGlyphIndex=e.uint16,this.endGlyphIndex=e.uint16,this.ppemX=e.uint8,this.ppemY=e.uint8,this.bitDepth=e.uint8,this.flags=e.int8}}class Jt{constructor(e){this.hori=new Qt(e),this.vert=new Qt(e),this.ppemX=e.uint8,this.ppemY=e.uint8,this.substitutePpemX=e.uint8,this.substitutePpemY=e.uint8}}class Qt{constructor(e){this.ascender=e.int8,this.descender=e.int8,this.widthMax=e.uint8,this.caretSlopeNumerator=e.int8,this.caretSlopeDenominator=e.int8,this.caretOffset=e.int8,this.minOriginSB=e.int8,this.minAdvanceSB=e.int8,this.maxBeforeBL=e.int8,this.minAfterBL=e.int8,this.pad1=e.int8,this.pad2=e.int8}}class $t extends b{constructor(e,t,n){const{p:r}=super(e,t,n);this.majorVersion=r.uint16,this.minorVersion=r.uint16,this.numSizes=r.uint32,v(this,"bitMapSizes",(()=>[...new Array(this.numSizes)].map((e=>new Xt(r)))))}}var en=Object.freeze({__proto__:null,EBLC:$t});class tn extends b{constructor(e,t,n){const{p:r}=super(e,t,n);this.majorVersion=r.uint16,this.minorVersion=r.uint16}}var nn=Object.freeze({__proto__:null,EBDT:tn}),rn=Object.freeze({__proto__:null,EBSC:class extends b{constructor(e,t){const{p:n}=super(e,t);this.majorVersion=n.uint16,this.minorVersion=n.uint16,this.numSizes=n.uint32,v(this,"bitmapScales",(()=>[...new Array(this.numSizes)].map((e=>new Jt(n)))))}}}),on=Object.freeze({__proto__:null,CBLC:class extends $t{constructor(e,t){super(e,t,"CBLC")}}}),sn=Object.freeze({__proto__:null,CBDT:class extends tn{constructor(e,t){super(e,t,"CBDT")}}}),an=Object.freeze({__proto__:null,sbix:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.flags=n.flags(16),this.numStrikes=n.uint32,v(this,"strikeOffsets",(()=>[...new Array(this.numStrikes)].map((e=>n.Offset32))))}}});class ln{constructor(e){this.gID=e.uint16,this.firstLayerIndex=e.uint16,this.numLayers=e.uint16}}class un{constructor(e){this.gID=e.uint16,this.paletteIndex=e.uint16}}var cn=Object.freeze({__proto__:null,COLR:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numBaseGlyphRecords=n.uint16,this.baseGlyphRecordsOffset=n.Offset32,this.layerRecordsOffset=n.Offset32,this.numLayerRecords=n.uint16}getBaseGlyphRecord(e){let t=this.tableStart+this.baseGlyphRecordsOffset;this.parser.currentPosition=t;let n=new ln(this.parser),r=n.gID,o=this.tableStart+this.layerRecordsOffset-6;this.parser.currentPosition=o;let i=new ln(this.parser),s=i.gID;if(r===e)return n;if(s===e)return i;for(;t!==o;){let n=t+(o-t)/12;this.parser.currentPosition=n;let r=new ln(this.parser),i=r.gID;if(i===e)return r;i>e?o=n:i<e&&(t=n)}return!1}getLayers(e){let t=this.getBaseGlyphRecord(e);return this.parser.currentPosition=this.tableStart+this.layerRecordsOffset+4*t.firstLayerIndex,[...new Array(t.numLayers)].map((e=>new un(p)))}}});class dn{constructor(e){this.blue=e.uint8,this.green=e.uint8,this.red=e.uint8,this.alpha=e.uint8}}class hn{constructor(e,t){this.paletteTypes=[...new Array(t)].map((t=>e.uint32))}}class fn{constructor(e,t){this.paletteLabels=[...new Array(t)].map((t=>e.uint16))}}class gn{constructor(e,t){this.paletteEntryLabels=[...new Array(t)].map((t=>e.uint16))}}var pn=Object.freeze({__proto__:null,CPAL:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numPaletteEntries=n.uint16;const r=this.numPalettes=n.uint16;this.numColorRecords=n.uint16,this.offsetFirstColorRecord=n.Offset32,this.colorRecordIndices=[...new Array(this.numPalettes)].map((e=>n.uint16)),v(this,"colorRecords",(()=>(n.currentPosition=this.tableStart+this.offsetFirstColorRecord,[...new Array(this.numColorRecords)].map((e=>new dn(n)))))),1===this.version&&(this.offsetPaletteTypeArray=n.Offset32,this.offsetPaletteLabelArray=n.Offset32,this.offsetPaletteEntryLabelArray=n.Offset32,v(this,"paletteTypeArray",(()=>(n.currentPosition=this.tableStart+this.offsetPaletteTypeArray,new hn(n,r)))),v(this,"paletteLabelArray",(()=>(n.currentPosition=this.tableStart+this.offsetPaletteLabelArray,new fn(n,r)))),v(this,"paletteEntryLabelArray",(()=>(n.currentPosition=this.tableStart+this.offsetPaletteEntryLabelArray,new gn(n,r)))))}}});class mn{constructor(e){this.format=e.uint32,this.length=e.uint32,this.offset=e.Offset32}}class bn{constructor(e){e.uint16,e.uint16,this.signatureLength=e.uint32,this.signature=e.readBytes(this.signatureLength)}}var vn=Object.freeze({__proto__:null,DSIG:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint32,this.numSignatures=n.uint16,this.flags=n.uint16,this.signatureRecords=[...new Array(this.numSignatures)].map((e=>new mn(n)))}getData(e){const t=this.signatureRecords[e];return this.parser.currentPosition=this.tableStart+t.offset,new bn(this.parser)}}});class wn{constructor(e,t){this.pixelSize=e.uint8,this.maxWidth=e.uint8,this.widths=e.readBytes(t)}}var yn=Object.freeze({__proto__:null,hdmx:class extends b{constructor(e,t,n){const{p:r}=super(e,t),o=n.hmtx.numGlyphs;this.version=r.uint16,this.numRecords=r.int16,this.sizeDeviceRecord=r.int32,this.records=[...new Array(numRecords)].map((e=>new wn(r,o)))}}});class Cn{constructor(e){this.version=e.uint16,this.length=e.uint16,this.coverage=e.flags(8),this.format=e.uint8,0===this.format&&(this.nPairs=e.uint16,this.searchRange=e.uint16,this.entrySelector=e.uint16,this.rangeShift=e.uint16,v(this,"pairs",(()=>[...new Array(this.nPairs)].map((t=>new xn(e)))))),2===this.format&&console.warn("Kern subtable format 2 is not supported: this parser currently only parses universal table data.")}get horizontal(){return this.coverage[0]}get minimum(){return this.coverage[1]}get crossstream(){return this.coverage[2]}get override(){return this.coverage[3]}}class xn{constructor(e){this.left=e.uint16,this.right=e.uint16,this.value=e.fword}}var Sn=Object.freeze({__proto__:null,kern:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.nTables=n.uint16,v(this,"tables",(()=>{let e=this.tableStart+4;const t=[];for(let r=0;r<this.nTables;r++){n.currentPosition=e;let r=new Cn(n);t.push(r),e+=r}return t}))}}}),En=Object.freeze({__proto__:null,LTSH:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numGlyphs=n.uint16,this.yPels=n.readBytes(this.numGlyphs)}}}),Rn=Object.freeze({__proto__:null,MERG:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.mergeClassCount=n.uint16,this.mergeDataOffset=n.Offset16,this.classDefCount=n.uint16,this.offsetToClassDefOffsets=n.Offset16,v(this,"mergeEntryMatrix",(()=>[...new Array(this.mergeClassCount)].map((e=>n.readBytes(this.mergeClassCount))))),console.warn("Full MERG parsing is currently not supported."),console.warn("If you need this table parsed, please file an issue, or better yet, a PR.")}}});class On{constructor(e,t){this.tableStart=e,this.parser=t,this.tag=t.tag,this.dataOffset=t.Offset32,this.dataLength=t.uint32}getData(){return this.parser.currentField=this.tableStart+this.dataOffset,this.parser.readBytes(this.dataLength)}}var In=Object.freeze({__proto__:null,meta:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint32,this.flags=n.uint32,n.uint32,this.dataMapsCount=n.uint32,this.dataMaps=[...new Array(this.dataMapsCount)].map((e=>new On(this.tableStart,n)))}}}),kn=Object.freeze({__proto__:null,PCLT:class extends b{constructor(e,t){super(e,t),console.warn("This font uses a PCLT table, which is currently not supported by this parser."),console.warn("If you need this table parsed, please file an issue, or better yet, a PR.")}}});class Mn{constructor(e){this.bCharSet=e.uint8,this.xRatio=e.uint8,this.yStartRatio=e.uint8,this.yEndRatio=e.uint8}}class Fn{constructor(e){this.recs=e.uint16,this.startsz=e.uint8,this.endsz=e.uint8,this.records=[...new Array(this.recs)].map((t=>new Dn(e)))}}class Dn{constructor(e){this.yPelHeight=e.uint16,this.yMax=e.int16,this.yMin=e.int16}}var Pn=Object.freeze({__proto__:null,VDMX:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.uint16,this.numRecs=n.uint16,this.numRatios=n.uint16,this.ratRanges=[...new Array(this.numRatios)].map((e=>new Mn(n))),this.offsets=[...new Array(this.numRatios)].map((e=>n.Offset16)),this.VDMXGroups=[...new Array(this.numRecs)].map((e=>new Fn(n)))}}}),An=Object.freeze({__proto__:null,vhea:class extends b{constructor(e,t){const{p:n}=super(e,t);this.version=n.fixed,this.ascent=this.vertTypoAscender=n.int16,this.descent=this.vertTypoDescender=n.int16,this.lineGap=this.vertTypoLineGap=n.int16,this.advanceHeightMax=n.int16,this.minTopSideBearing=n.int16,this.minBottomSideBearing=n.int16,this.yMaxExtent=n.int16,this.caretSlopeRise=n.int16,this.caretSlopeRun=n.int16,this.caretOffset=n.int16,this.reserved=n.int16,this.reserved=n.int16,this.reserved=n.int16,this.reserved=n.int16,this.metricDataFormat=n.int16,this.numOfLongVerMetrics=n.uint16,n.verifyLength()}}});class Vn{constructor(e,t){this.advanceHeight=e,this.topSideBearing=t}}var Tn=Object.freeze({__proto__:null,vmtx:class extends b{constructor(e,t,n){super(e,t);const r=n.vhea.numOfLongVerMetrics,o=n.maxp.numGlyphs,i=p.currentPosition;if(lazy(this,"vMetrics",(()=>(p.currentPosition=i,[...new Array(r)].map((e=>new Vn(p.uint16,p.int16)))))),r<o){const e=i+4*r;lazy(this,"topSideBearings",(()=>(p.currentPosition=e,[...new Array(o-r)].map((e=>p.int16)))))}}}});const Ln=["otf","ttf","woff","woff2"];function Nn(e,t="custom"){const n=new FormData;if(e?.fontFace){const r=[];e.fontFace.forEach(((o,i)=>{const s={...o};if(s.file){const e=Array.isArray(s.file)?s.file:[s.file],t=[];e.forEach(((e,r)=>{const o=`file-${i}-${r}`;n.append(o,e,e.name),t.push(o)})),s.src=1===t.length?t[0]:t}s.slug=e?.slug,s.source=t,r.push(s)})),n.append("variants",JSON.stringify(r)),n.append("source",t),n.append("slug",e?.slug)}return n}const zn=e=>s()({path:`/generatepress-font-library/v1/${e}`,method:"GET"}),Bn=(e,t={})=>s()({path:`/generatepress-font-library/v1/${e}`,method:"POST",...t});async function Gn(e){return new Promise(((t,n)=>{const r=new window.FileReader;r.readAsArrayBuffer(e),r.onload=()=>t(r.result),r.onerror=n}))}async function Hn(e){const t=new N("Uploaded Font");if("string"==typeof e)t.src=e;else{const n=await Gn(e);t.fromDataBuffer(n,e.name)}const n=(await new Promise((e=>t.onload=e))).detail.font,{name:r}=n.opentype.tables,o=r.get(16)||r.get(1),i=r.get(2).toLowerCase().includes("italic"),s=n.opentype.tables["OS/2"].usWeightClass||"normal",a=!!n.opentype.tables.fvar,l=a&&n.opentype.tables.fvar.axes.find((({tag:e})=>"wght"===e));return{file:e,fontFamily:o,fontStyle:i?"italic":"normal",fontWeight:(l?`${l.minValue} ${l.maxValue}`:null)||s,isVariable:a}}const Un=window.wp.primitives,Wn=(0,e.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(Un.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"}));function jn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=jn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const qn=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=jn(e))&&(r&&(r+=" "),r+=t);return r},Kn=window.lodash;var Yn=n(771);function Zn(t,n=null){return"generatepress"===t?(0,e.createElement)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",preserveAspectRatio:"none"},(0,e.createElement)("path",{d:"M485.2 427.8l-99.1-46.2 15.8-34c5.6-11.9 8.8-24.3 10-36.7 3.3-33.7-9-67.3-33.2-91.1-8.9-8.7-19.3-16.1-31.3-21.7-11.9-5.6-24.3-8.8-36.7-10-33.7-3.3-67.4 9-91.1 33.2-8.7 8.9-16.1 19.3-21.7 31.3l-15.8 34-30.4 65.2c-.7 1.5-.1 3.3 1.5 4l65.2 30.4 34 15.8 34 15.8 68 31.7 74.7 34.8c-65 45.4-152.1 55.2-228.7 17.4C90.2 447.4 44.1 313.3 97.3 202.6c53.3-110.8 186-158.5 297.8-106.3 88.1 41.1 137.1 131.9 129.1 223.4-.1 1.3.6 2.4 1.7 3l65.6 30.6c1.8.8 3.9-.3 4.2-2.2 22.6-130.7-44-265.4-170.5-323.5-150.3-69-327-4.1-396.9 145.8-70 150.1-5.1 328.5 145.1 398.5 114.1 53.2 244.5 28.4 331.3-52.3 17.9-16.6 33.9-35.6 47.5-56.8 1-1.5.4-3.6-1.3-4.3l-65.7-30.7zm-235-109.6l15.8-34c8.8-18.8 31.1-26.9 49.8-18.1s26.9 31 18.1 49.8l-15.8 34-34-15.8-33.9-15.9z"})):"dynamic"===t?(0,e.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 256 256"},(0,e.createElement)("path",{d:"M128 26c-52.71 0-94 23.72-94 54v96c0 30.28 41.29 54 94 54s94-23.72 94-54V80c0-30.28-41.29-54-94-54zm0 12c44.449 0 82 19.233 82 42s-37.551 42-82 42-82-19.233-82-42 37.551-42 82-42zm82 138c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 171.163 92.374 182 128 182s66.03-10.837 82-27.21zm0-48c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 123.163 92.374 134 128 134s66.03-10.837 82-27.21z",fill:"currentColor"})):"tools"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,e.createElement)("path",{d:"M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z"})):"sliders"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"})):"plus-circle"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",clipRule:"evenodd",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",viewBox:"0 0 24 24",style:n},(0,e.createElement)("path",{d:"m12.002 2c5.518 0 9.998 4.48 9.998 9.998 0 5.517-4.48 9.997-9.998 9.997-5.517 0-9.997-4.48-9.997-9.997 0-5.518 4.48-9.998 9.997-9.998zm0 1.5c-4.69 0-8.497 3.808-8.497 8.498s3.807 8.497 8.497 8.497 8.498-3.807 8.498-8.497-3.808-8.498-8.498-8.498zm-.747 7.75h-3.5c-.414 0-.75.336-.75.75s.336.75.75.75h3.5v3.5c0 .414.336.75.75.75s.75-.336.75-.75v-3.5h3.5c.414 0 .75-.336.75-.75s-.336-.75-.75-.75h-3.5v-3.5c0-.414-.336-.75-.75-.75s-.75.336-.75.75z",fillRule:"nonzero"})):"minus-circle"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",clipRule:"evenodd",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",viewBox:"0 0 24 24",style:n},(0,e.createElement)("path",{d:"m12.002 2.005c5.518 0 9.998 4.48 9.998 9.997 0 5.518-4.48 9.998-9.998 9.998-5.517 0-9.997-4.48-9.997-9.998 0-5.517 4.48-9.997 9.997-9.997zm0 1.5c-4.69 0-8.497 3.807-8.497 8.497s3.807 8.498 8.497 8.498 8.498-3.808 8.498-8.498-3.808-8.497-8.498-8.497zm4.253 7.75h-8.5c-.414 0-.75.336-.75.75s.336.75.75.75h8.5c.414 0 .75-.336.75-.75s-.336-.75-.75-.75z",fillRule:"nonzero"})):"trash"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",style:{fill:"none"},stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2M10 11v6M14 11v6"})):void 0}function Xn(e){return e.replace(/[^a-z0-9]/gi,"-").toLowerCase()}const Jn=({editFont:n,setEditFont:i,setUpdateFontList:s,setDeleteNotice:a,setSaveNotice:l,unsavedChanges:u,setUnsavedChanges:c})=>{var d;const[h,f]=(0,r.useState)(null),[g,p]=(0,r.useState)(n.cssVariable.replace("--gp-font--","")),[m,b]=(0,r.useState)(n.disabled),[v,w]=(0,r.useState)(null!==(d=n.alias)&&void 0!==d?d:""),[y,C]=(0,r.useState)(n.fallback||""),[x,S]=(0,r.useState)((()=>{var e;return null!==(e=(0,Kn.cloneDeep)(n.variants))&&void 0!==e?e:[]})),[E,R]=(0,r.useState)(n.fontDisplay||"auto"),O=v||n.name,I=(0,r.useMemo)((()=>Xn(v)),[v]),k=(0,r.useMemo)((()=>`--gp-font--${Xn(g)}`),[g]),M=(0,r.useMemo)((()=>y?`${v||O}, ${y}`:`${v||O}`),[v,y,O]),F=(0,r.useCallback)((async()=>{const e={data:{fontId:n.id}};try{await Bn("delete-font",e),s(!0),a({type:"success",message:(0,t.__)("Font deleted successfully.")}),i(null),f(null),c(!1)}catch(e){f({type:"error",message:(0,t.__)("Error deleting font. Please try again.","gp-premium")}),console.error(e.message)}}),[n,s,a,i,c]),D=(0,r.useCallback)((()=>{window.confirm((0,t.__)("Are you sure you want to delete this font and all its variants?","gp-premium"))&&F()}),[F]);return(0,r.useEffect)((()=>{const e={...n,disabled:m,fontDisplay:E,alias:v,variants:x,fallback:y,cssVariable:k};c(!(0,Kn.isEqual)(e,n))}),[m,v,x,E,y,c,n,k]),(0,e.createElement)("div",{className:"gp-font-library-edit"},!n&&(0,e.createElement)(o.Spinner,null),n&&(0,e.createElement)(e.Fragment,null,h&&(0,e.createElement)(o.Notice,{status:h.type,onRemove:()=>f(null)},h.message),(0,e.createElement)(o.Button,{className:"gp-font-library-edit__back",title:(0,t.__)("Go back to the font library","gp-premium"),variant:"tertiary",icon:Wn,onClick:()=>{if(u){if(window.confirm((0,t.__)("You have unsaved changes. Click OK to discard changes or cancel to keep editing the font.","gp-premium"))){const e=x.map((e=>({...e,deleteStatus:!1})));S(e),c(!1),i(null)}}else i(null)}},(0,t.__)("Back","gp-premium")),(0,e.createElement)("h3",null,(0,t.sprintf)(/* translators: Edit font family */
|
|
(0,t.__)("Edit Font: %s","gp-premium"),O)),(0,e.createElement)(Yn.Stack,{gap:"30px"},(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("Font Status","gp-premium")),(0,e.createElement)("p",null,(0,t.__)("If a font is disabled, no font variants are added to the frontend of your site.","gp-premium")),(0,e.createElement)(o.ToggleControl,{checked:!m,label:m?(0,t.__)("Disabled","gp-premium"):(0,t.__)("Enabled","gp-premium"),onChange:e=>{b(!e)}})),(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("Available Font Variants","gp-premium")),(0,e.createElement)("p",null,(0,t.__)("Enable or disable individual font variants on the frontend of your site.","gp-premium")),(0,e.createElement)("ul",{className:"gp-font-library-edit__variants",style:{opacity:m?"0.5":"1"},role:"list"},x&&(0,e.createElement)(e.Fragment,null,x?.map((({name:n,src:r,disabled:i=!1,deleteStatus:s=!1},a)=>(0,e.createElement)("li",{key:r,className:qn("gp-font-library-edit__variant",s&&"gp-font-library-edit__variant--delete")},(0,e.createElement)(o.CheckboxControl,{className:s?"delete-variant":"",disabled:m||s,label:n,checked:!i,onChange:e=>{const t=[...x];t[a].disabled=!e,S(t),t.every((e=>e.disabled))&&b(!0)},__nextHasNoMarginBottom:!0}),(0,e.createElement)(o.Button,{size:"compact",title:s?(0,t.__)("Undelete font variant","gp-premium"):(0,t.__)("Delete font variant","gp-premium"),onClick:()=>{const e=[...x];e[a].deleteStatus=!s,S(e)}},(0,e.createElement)(o.Icon,{size:"18",color:"#cc1818",icon:Zn("trash")}))))))))),(0,e.createElement)("details",{className:"gp-font-library-edit__advanced"},(0,e.createElement)("summary",null,(0,t.__)("Advanced Options","gp-premium")," "),(0,e.createElement)(Yn.Stack,{gap:"30px"},(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("Font Display")),(0,e.createElement)("p",{className:"gp-font-library__text"},(0,t.__)("Specify the font-display value, used in the @font-face CSS. This value determines how your text displays as the webfont loads.","gp-premium")),(0,e.createElement)(o.SelectControl,{className:"gp-font-library-edit__control",value:E,options:[{label:"Auto",value:"auto"},{label:"Block",value:"block"},{label:"Fallback",value:"fallback"},{label:"Optional",value:"optional"},{label:"Swap",value:"swap"}],onChange:e=>{R(e)}})),(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("Font Alias")),(0,e.createElement)("p",{className:"gp-font-library__text"},(0,t.__)("Specify an alias for this font that will be used as the font family name in CSS. If left blank the default font family name will be used.","gp-premium")),(0,e.createElement)(o.TextControl,{className:"gp-font-library-edit__control",label:(0,t.__)("Add Font Family Alias","gp-premium"),placeholder:(0,t.sprintf)(/* translators: Font family alias */
|
|
(0,t.__)("e.g. Custom %s","gp-premium"),O),value:v,onChange:w,help:`${k}: ${M};`})),(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("Font Family Fallback")),(0,e.createElement)("p",{className:"gp-font-library__text"},(0,t.__)("Enter the CSS font-family fallback value you want to use for this font here. This appears after the font family name in the CSS.","gp-premium")),(0,e.createElement)(o.TextControl,{className:"gp-font-library-edit__control",label:(0,t.__)("Font Family","gp-premium"),placeholder:(0,t.__)("sans-serif, system-ui","gp-premium"),value:y,onChange:C,help:`font-family: ${M};`})),(0,e.createElement)("div",{className:"gp-font-library-edit__control"},(0,e.createElement)("strong",null,(0,t.__)("CSS Variable Suffix")),(0,e.createElement)("p",{className:"gp-font-library__text"},(0,t.__)("You may customize the CSS variable suffix for your font if you wish to change it.","gp-premium")),(0,e.createElement)(o.TextControl,{className:"gp-font-library-edit__control",label:(0,t.__)("CSS Variable suffix","gp-premium"),placeholder:I||n.slug,value:g,onChange:p,help:(0,e.createElement)(e.Fragment,null,`font-family: var(${k});`,25===g.length&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("br",null),(0,e.createElement)("strong",null,(0,t.__)("Max 25 characters","gp-premium")))),minLength:"1",maxLength:"25",max:"25"})),0===g.length&&(0,e.createElement)(o.Notice,{status:"warning",isDismissible:!1,className:"gp-font-library-edit__control-notice"},(0,t.__)("CSS Variable suffix cannot be empty. Please enter a valid suffix.","gp-premium")))),k!==n.cssVariable&&(0,e.createElement)(o.Notice,{status:"warning",isDismissible:!1},(0,t.__)("If you have used this font's css variable, changing the variable suffix may cause loss of visual styles.","gp-premium")),(0,e.createElement)(o.Flex,{className:"gp-font-library-edit__footer",alignItems:"center",gap:"20px",justifyContent:"flex-start"},(0,e.createElement)(o.FlexItem,null,(0,e.createElement)(o.Button,{title:(0,t.__)("Delete font and all its variants","gp-premium"),isDestructive:!0,size:"compact",variant:"primary",onClick:D},(0,t.__)("Delete","gp-premium"))),u&&(0,e.createElement)(o.FlexItem,null,(0,e.createElement)(o.Button,{title:(0,t.__)("Save font changes","gp-premium"),size:"compact",variant:"primary",onClick:async()=>{let e=m?"draft":"publish";Array.isArray(x)&&x?.every((({disabled:e})=>e))&&(e="draft");const r=[],o=[];if(x.forEach((e=>{e.deleteStatus?o.push(e):r.push({...e,deleteStatus:!1})})),0===r.length)if(window.confirm((0,t.__)("You've selected to delete ALL variants. This will also delete the font from the library. Click OK to proceed, or Cancel to undelete variants.","gp-premium")))F();else{const e=x.map((e=>({...e,deleteStatus:!1})));S(e)}else{const a={data:{newVariants:r,deleteVariants:o,fontDisplay:E,fallback:y,alias:v,cssVariable:k,status:e,id:n.id}};await Bn("update-font-post",a),s(!0),l({type:"success",message:(0,t.__)("Font changes saved.")}),c(!1),i(null)}}},(0,t.__)("Save","gp-premium"))))))},Qn=(0,e.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(Un.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),$n=(0,r.memo)((function({font:n,loading:r="lazy",fallbackText:i=""}){const{preview:s,fontFamily:a,name:l,alias:u}=n;return(0,e.createElement)("div",{className:"gp-font-library-preview"},s?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("img",{className:"gp-font-library-preview__image",src:s,alt:(0,t.__)("A graphical rendering of the font family","gp-premium"),height:"23",loading:r}),(0,e.createElement)(o.VisuallyHidden,null,i||l)):(0,e.createElement)("span",{className:"gp-font-library-preview__fallback",style:{fontFamily:a}},l," ",u&&`(${u})`))})),er=(0,r.memo)((function({font:n,onClick:i,category:s=""}){const a=(0,r.useMemo)((()=>function({variants:e=[],fontFace:t=[]}){var n;let r=0;const o=e.length>0?e:t,i=null!==(n=o?.length)&&void 0!==n?n:0;return o.forEach((({disabled:e=!1})=>{e||r++})),{total:i,enabled:r}}(n)),[n]);return(0,e.createElement)(o.Button,{className:"gp-font-library-card",type:"button",onClick:i},(0,e.createElement)($n,{font:n}),s&&(0,e.createElement)("span",{className:"gp-font-library-card__categories"},s),(0,e.createElement)("div",{className:"gp-font-library-card__variants"},a.total===a.enabled?(0,t.sprintf)(/* translators: %d: Total number of font variants. */
|
|
(0,t._n)("%d variant","%d variants",a.total,"gp-premium"),a.total):(0,t.sprintf)(/* translators: %s: Number of enabled font variants. */
|
|
(0,t.__)("%s variants","gp-premium"),`${a.enabled}/${a.total}`),(0,e.createElement)(o.Icon,{icon:Qn})))}));function tr({fonts:n,setUpdateFontList:i,unsavedChanges:s,setUnsavedChanges:a,editFont:l,setEditFont:u}){const[c,d]=(0,r.useState)(null),[h,f]=(0,r.useState)(null);return(0,r.useEffect)((()=>{if(n)return document.head.appendChild(function(e){const t=document.getElementById("gp-custom-font-style");t&&t.parentNode.removeChild(t);const n=document.createElement("style");n.id="gp-custom-font-style";let r="";return e.forEach((e=>{const{name:t="",alias:n="",variants:o=[],fontDisplay:i="auto",preview:s=""}=e;if(s)return null;const a=n||t;o&&o.length>0&&o.filter((e=>!e.disabled)).forEach((e=>{r+=`@font-face {\n\tfont-display: ${i};\n\tfont-family: '${a}';\n\tfont-style: ${e.fontStyle};\n\tfont-weight: ${e.fontWeight};\n\tsrc: url('${e.src}')${(e=>{const t={woff:"woff",woff2:"woff2",ttf:"truetype",otf:"opentype"}[e.split(".").pop()]||null;return t?` format('${t}')`:""})(e.src)};\n}\n`}))})),n.textContent=r,n}(n?.response)),()=>{const e=document.getElementById("gp-custom-font-style");e&&document.head.removeChild(e)}}),[n]),(0,r.useEffect)((()=>{l&&(d(null),f(null))}),[l]),l?(0,e.createElement)(Jn,{editFont:l,setEditFont:u,setUpdateFontList:i,setDeleteNotice:d,setSaveNotice:f,unsavedChanges:s,setUnsavedChanges:a}):(0,e.createElement)("div",{className:"gp-font-library__tab"},(0,e.createElement)("div",{className:"gp-font-library__notices"},c&&(0,e.createElement)("div",{style:{margin:"0 0 20px 0"}},(0,e.createElement)(o.Notice,{status:c.type,onRemove:()=>d(null)},c.message)),h&&(0,e.createElement)("div",{style:{margin:"0 0 20px 0"}},(0,e.createElement)(o.Notice,{status:h.type,onRemove:()=>f(null)},h.message))),(0,e.createElement)("h2",null,(0,t.__)("Installed Fonts","gp-premium")),n?(0,e.createElement)("div",null,0===n?.response.length&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,(0,t.__)("No fonts have been installed yet.","gp-premium")),(0,e.createElement)("div",{style:{display:"flex",gap:"10px"}},(0,e.createElement)(o.Button,{variant:"primary",onClick:()=>{const e=document.querySelector(".gp-font-library__google-fonts");e&&e.click()}},(0,t.__)("Install Google Fonts","gp-premium")),(0,e.createElement)(o.Button,{variant:"primary",onClick:()=>{const e=document.querySelector(".gp-font-library__upload");e&&e.click()}},(0,t.__)("Upload Custom Fonts","gp-premium")))),n?.response.length>0&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{style:{marginBottom:"30px",__marginTop:"-20px"}},(0,t.__)("Installed and enabled fonts are automatically available on the frontend of your site."))),n?.response.length>0&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("ul",{style:{marginBottom:"25px"},className:"gp-font-library__list",role:"list"},n.response.map((t=>(0,e.createElement)("li",{key:t.id},(0,e.createElement)(er,{font:t,onClick:()=>u(t),loading:"eager"}))))))):(0,e.createElement)(o.Spinner,null))}const nr=(0,e.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(Un.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),rr=window.wp.compose,or=[{value:"latin",label:"Latin"},{value:"latin-ext",label:"Latin Extended"},{value:"bengali",label:"Bengali"},{value:"chinese-hongkong",label:"Chinese (Hong Kong)"},{value:"chinese-simplified",label:"Chinese (Simplified)"},{value:"chinese-traditional",label:"Chinese (Traditional)"},{value:"cyrillic",label:"Cyrillic"},{value:"cyrillic-ext",label:"Cyrillic Extended"},{value:"devanagari",label:"Devanagari"},{value:"greek",label:"Greek"},{value:"greek-ext",label:"Greek Extended"},{value:"gujarati",label:"Gujarati"},{value:"gurmukhi",label:"Gurmukhi"},{value:"hebrew",label:"Hebrew"},{value:"japanese",label:"Japanese"},{value:"kannada",label:"Kannada"},{value:"khmer",label:"Khmer"},{value:"korean",label:"Korean"},{value:"malayalam",label:"Malayalam"},{value:"math",label:"Math"},{value:"myanmar",label:"Myanmar"},{value:"oriya",label:"Oriya"},{value:"sinhala",label:"Sinhala"},{value:"symbols",label:"Symbols"},{value:"tamil",label:"Tamil"},{value:"telugu",label:"Telugu"},{value:"thai",label:"Thai"},{value:"tibetan",label:"Tibetan"},{value:"vietnamese",label:"Vietnamese"}];function ir({settings:n,setSettings:i,setUpdateFontList:s,googleFonts:a}){var l;const[u,c]=(0,r.useState)(5),[d,h]=(0,r.useState)(n?.preferred_subset?n.preferred_subset[0]:"latin"),[f,g]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),[b,v]=(0,r.useState)(null),[w,y]=(0,r.useState)([]),[C,x]=(0,r.useState)(1),[S,E]=(0,r.useState)({}),[R,O]=(0,r.useState)(null),I=(0,r.useRef)(),k=null!==(l=n?.google_gdpr)&&void 0!==l&&l,M=(0,r.useMemo)((()=>{var e;return null!==(e=b?.font_family_settings?.fontFace)&&void 0!==e?e:[]}),[b]),F=(0,r.useMemo)((()=>function(e,t){const{category:n,search:r}=t;let o=e||[];return n&&"all"!==n&&(o=o.filter((e=>-1!==e.categories.indexOf(n)))),r&&(o=o.filter((e=>e.font_family_settings.name.toLowerCase().includes(r.toLowerCase())))),o}(a,S)),[a,S]),D=(0,r.useMemo)((()=>F.slice((C-1)*u,C*u)),[F,C,u]),P=(0,r.useMemo)((()=>Array.from({length:Math.ceil(F.length/u)},((e,t)=>({label:t+1,value:t+1})))),[F,u]),A=(0,r.useMemo)((()=>Object.values(S).length>0),[S]);function V(){E({}),x(1)}const T=(0,rr.debounce)((function(e){E({...S,search:e}),x(1)}),300),L=(0,r.useCallback)((async(e=!1)=>{try{const t=await Bn("set-settings",{data:{settings:{...n,google_gdpr:e}}});if(!t.success)throw new Error(t.response);i({...n,google_gdpr:e})}catch(e){console.error(e),O({type:"error",message:(0,t.__)("An error occurred while updating settings.","gp-premium")})}}),[n,i]),N=(0,r.useCallback)((async(e="")=>{try{const t=await Bn("set-settings",{data:{settings:{...n,preferred_subset:e}}});if(!t.success)throw new Error(t.response.message);i({...n,preferred_subset:e})}catch(e){console.error(e),O({type:"error",message:(0,t.__)("An error occurred while updating settings.","gp-premium")})}}),[n,i]);return(0,r.useEffect)((()=>{I.current?I.current.scrollIntoView({behavior:"smooth"}):window.scrollTo(0,0)}),[C]),(0,e.createElement)(e.Fragment,null,R&&(0,e.createElement)(o.Notice,{className:"gp-font-library__notice",isDismissible:!0,status:R.type,onRemove:()=>O(null)},R.message),k?(0,e.createElement)("section",{ref:I},b?(0,e.createElement)("div",{className:"gp-font-library__select-variants"},(0,e.createElement)(o.Button,{onClick:()=>{v(null),O(null)},icon:nr},b.font_family_settings.name),(0,e.createElement)("h3",null,(0,t.__)("Install variants","gp-premium")),(0,e.createElement)("p",{className:"gp-font-library__text"},(0,t.__)("Select the font variants you want to install. GeneratePress will install the most optimal version of the font available. If the font has a variable version, that will be used automatically.","gp-premium")),(0,e.createElement)("ul",{role:"list",className:"gp-font-library__list"},M.map((t=>{const n=`variant-${t.fontWeight}-${t.fontStyle}`;return(0,e.createElement)("li",{className:"gp-font-library-card",key:n},(0,e.createElement)(o.CheckboxControl,{checked:w.includes(t),id:n,onChange:e=>{y(e?[...w,t]:w.filter((e=>e!==t)))},__nextHasNoMarginBottom:!0}),(0,e.createElement)("label",{htmlFor:n},(0,e.createElement)($n,{font:t,loading:"eager",fallbackText:t.fontFamily})))}))),(0,e.createElement)("footer",{className:"gp-font-library-google__footer"},(0,e.createElement)(o.Button,{isBusy:p,variant:"primary",disabled:0===w.length,onClick:async()=>{try{m(!0);let e=w;const n=await Bn("optimize-google-fonts",{data:{font:b.font_family_settings,variants:w}});if(n.success){e=n.response;const t=e.map((e=>e.src));if(t.every((e=>t[0]===e))){const{fontWeight:t,isVariable:n,fontStyle:r}=await Hn(e[0].src);e=[{...e[0],fontWeight:t,isVariable:n,fontStyle:r}],document.querySelectorAll(".injected-by-Font-js").forEach((e=>e.remove()))}}const r=await Bn("upload-fonts",{data:{font:b.font_family_settings,variants:e}});if(!r.success)throw new Error(r.response);s(!0),V(),y([]),O({type:"success",message:(0,t.__)("Fonts were installed successfully.","gp-premium")})}catch(e){s(!1),O({type:"error",message:(0,t.__)("An error occurred while downloading the variants.","gp-premium")}),console.error(e.message)}m(!1)}},(0,t.__)("Install Selected","gp-premium")),p&&(0,e.createElement)("span",null,(0,t.__)("Downloading…","gp-premium")," "))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"gp-font-library-google__header"},(0,e.createElement)("div",{className:"gp-font-library-google__header-content"},(0,e.createElement)("h2",null,(0,t.__)("Google Fonts","gp-premium")),(0,e.createElement)("p",{className:"gp-font-library-google__description"},(0,t.__)("Install fonts from Google Fonts. Fonts are installed locally on your site.","gp-premium"))),(0,e.createElement)(o.Button,{variant:"link",onClick:()=>g(!0)},(0,t.__)("Settings","gp-premium")),f&&(0,e.createElement)(o.Modal,{title:(0,t.__)("Settings","gp-premium"),onRequestClose:()=>g(!1),className:"gp-font-library-settings"},(0,e.createElement)(Yn.Stack,{className:"gp-font-library-settings__controls",gap:"20px"},(0,e.createElement)(o.SelectControl,{value:d,options:or,label:(0,t.__)("Preferred Subset","gp-premium"),onChange:e=>{h(e)},help:(0,t.__)("Choose which character subset you want to download if available.","gp-premium")}),(0,e.createElement)(o.Button,{variant:"primary",onClick:()=>{N(d||"latin"),O({type:"success",message:(0,t.__)("Preferred subset updated.","gp-premium")}),g(!1)},size:"compact"},(0,t.__)("Save Settings","gp-premium"))),(0,e.createElement)("h3",null,(0,t.__)("Revoke access to Google Fonts","gp-premium")),(0,e.createElement)("div",{className:"gp-font-library-settings__auth"},(0,e.createElement)("p",{id:"google-fonts-revoke-access-description"},(0,t.__)("This will remove the connection to Google Fonts and you will not be able to install new fonts from Google Fonts. Previously installed fonts will NOT be deleted.","gp-premium")),(0,e.createElement)(o.Button,{isDestructive:!0,variant:"primary",size:"compact","aria-describedby":"google-fonts-revoke-access-description",onClick:()=>{L(!1),O({type:"success",message:(0,t.__)("Google fonts access has been revoked.","gp-premium")}),g(!1)}},(0,t.__)("Revoke access","gp-premium"))))),(0,e.createElement)("div",{className:"gp-font-library-google__filters"},(0,e.createElement)(o.SearchControl,{label:(0,t.__)("Search","gp-premium"),value:S.search,onChange:T,__nextHasNoMarginBottom:!0,placeholder:(0,t.__)("Font name…","gp-premium"),hideLabelFromVision:!1}),(0,e.createElement)(o.SelectControl,{label:(0,t.__)("Category","gp-premium"),value:S.category,onChange:e=>E({...S,category:e}),options:[{label:(0,t.__)("All","gp-premium"),value:""},{label:(0,t.__)("Serif","gp-premium"),value:"serif"},{label:(0,t.__)("Sans Serif","gp-premium"),value:"sans-serif"},{label:(0,t.__)("Display","gp-premium"),value:"display"},{label:(0,t.__)("Handwriting","gp-premium"),value:"handwriting"},{label:(0,t.__)("Monospace","gp-premium"),value:"monospace"}],__nextHasNoMarginBottom:!0})),(0,e.createElement)("p",{className:"gp-font-library-google__results"},F.length>0?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",null,(0,t.sprintf)(/* translators: %d: Total number of matching fonts. */
|
|
(0,t._n)("%d matching font","%d matching fonts",F.length,"gp-premium"),F.length)),F.length!==a.length&&(0,e.createElement)("span",null,"( ",(0,t.sprintf)(/* translators: %d: Total number of fonts. */
|
|
"%d total",a.length)," )"),A&&(0,e.createElement)(o.Button,{onClick:V,variant:"link"},(0,t.__)("Reset","gp-premium"))):(0,e.createElement)("span",null,(0,t.__)("No matching fonts found.","gp-premium"))),(0,e.createElement)("ul",{role:"list",className:"gp-font-library__list"},D.map((t=>{var n;const r=null!==(n=t.font_family_settings)&&void 0!==n?n:{};return(0,e.createElement)("li",{key:r.slug},(0,e.createElement)(er,{font:r,onClick:()=>v(t),category:t.categories[0]}))}))),(0,e.createElement)("nav",{className:"gp-font-library-google__pagination","aria-label":(0,t.__)("Font list pagination","gp-premium")},(0,e.createElement)("div",{className:"gp-font-library-google__pagination-numbers"},(0,e.createElement)(o.Button,{disabled:1===C,onClick:()=>x(C-1)},(0,t.__)("Previous","gp-premium")),(0,e.createElement)(o.SelectControl,{label:(0,t.__)("Choose Page","gp-premium"),value:C,onChange:e=>x(parseInt(e,10)),options:P,hideLabelFromVision:!0,__nextHasNoMarginBottom:!0}),(0,e.createElement)(o.Button,{disabled:D.length<u,onClick:()=>x(C+1)},(0,t.__)("Next","gp-premium"))),(0,e.createElement)(o.SelectControl,{label:(0,t.__)("Per Page","gp-premium"),value:S.category,onChange:e=>c(e),options:[{label:(0,t.__)("5","gp-premium"),value:5},{label:(0,t.__)("10","gp-premium"),value:10},{label:(0,t.__)("15","gp-premium"),value:15},{label:(0,t.__)("20","gp-premium"),value:20}],style:{width:"100px"},__nextHasNoMarginBottom:!0})))):(0,e.createElement)("div",{className:"gp-font-library-authorize-fonts"},(0,e.createElement)("h3",null,(0,t.__)("Connect to Google Fonts?","gp-premium")),(0,e.createElement)("p",null,(0,t.__)("To install fonts from Google you must give permission to connect directly to Google servers. The fonts you install will be downloaded from Google and stored on your site. Your site will then use these locally-hosted fonts.","gp-premium")),(0,e.createElement)("p",null,(0,t.__)("You can alternatively upload fonts directly on the Upload Custom Fonts tab.","gp-premium")),(0,e.createElement)(o.Button,{variant:"primary",onClick:()=>{L(!0)}},(0,t.__)("Allow access to Google Fonts","gp-premium"))))}const sr=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})})),ar=(0,e.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(Un.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),lr=(0,e.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(Un.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),ur=/([\p{Ll}\d])(\p{Lu})/gu,cr=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,dr=/(\d)\p{Ll}|(\p{L})\d/u,hr=/[^\p{L}\d]+/giu,fr="$1\0$2",gr="";function pr(e){let t=e.trim();t=t.replace(ur,fr).replace(cr,fr),t=t.replace(hr,"\0");let n=0,r=t.length;for(;"\0"===t.charAt(n);)n++;if(n===r)return[];for(;"\0"===t.charAt(r-1);)r--;return t.slice(n,r).split(/\0/g)}function mr(e){const t=pr(e);for(let e=0;e<t.length;e++){const n=t[e],r=dr.exec(n);if(r){const o=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,o),n.slice(o))}}return t}function br(e,t){const[n,r,o]=function(e,t={}){const n=t.split??(t.separateNumbers?mr:pr),r=t.prefixCharacters??gr,o=t.suffixCharacters??gr;let i=0,s=e.length;for(;i<e.length;){const t=e.charAt(i);if(!r.includes(t))break;i++}for(;s>i;){const t=s-1,n=e.charAt(t);if(!o.includes(n))break;s=t}return[e.slice(0,i),n(e.slice(i,s)),e.slice(s)]}(e,t);return n+r.map((i=t?.locale,!1===i?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i))).join(t?.delimiter??" ")+o;var i}const vr=Ln.map((e=>`.${e}`)).join(","),wr=({setUpdateFontList:n})=>{const[i,s]=(0,r.useState)([]),[a,l]=(0,r.useState)(!1),u=(0,r.useCallback)((async r=>{try{const n=await async function(e){return await Promise.all(e.map((async e=>await Hn(e))))}(r),o=await async function(e){const t=[];for(const n of e){const{name:e}=n;try{const r=await Bn("upload-fonts",{body:Nn(n)});t.push({status:"fulfilled",value:{...r.response,name:e}})}catch(n){t.push({status:"rejected",value:{message:n.message,name:e}})}}const n={errors:[],successes:[]};return t.forEach((e=>{const t=e.value;"fulfilled"===e.status&&t.ID?n.successes.push(t):n.errors.push(t)})),n}(function(e){const t=e.reduce(((e,t)=>{var n;return e[t.fontFamily]||(e[t.fontFamily]={name:t.fontFamily,fontFamily:t.fontFamily,slug:(n=t.fontFamily.toLowerCase(),br(n,{delimiter:"-"})),fontFace:[]}),e[t.fontFamily].fontFace.push(t),e}),{});return Object.values(t)}(n)),i=o.errors.length>0,a=o.successes.length>0;let l=(0,t.__)("All fonts were uploaded successfully.");i&&a?l=(0,t.__)("Some fonts failed to upload.","gp-premium"):i&&!a&&(l=(0,t.__)("All fonts failed to upload.","gp-premium")),s((n=>[...n,{type:"info",message:(0,e.createElement)(e.Fragment,null,l,(0,e.createElement)("ul",{className:"gp-font-library__results"},o.successes.map((n=>(0,e.createElement)("li",{className:"gp-font-library__result gp-font-library__result--success",key:n.fontFamily},(0,e.createElement)(sr,{icon:ar,size:"1.25em"}),(0,t.sprintf)(
|
|
// translators: %s: font family name
|
|
(0,t.__)("%s installed.","gp-premium"),n.name)))),o.errors.map((n=>(0,e.createElement)("li",{className:"gp-font-library__result gp-font-library__result--failure",key:n.fontFamily},(0,e.createElement)(sr,{icon:lr,size:"1.25em"}),(0,t.sprintf)(
|
|
// translators: %s: font family name
|
|
(0,t.__)("%s install failed.","gp-premium"),n.name))))))}]))}catch(e){s((e=>[...e,{type:"error",message:(0,t.__)("There was an error installing fonts.")}])),console.error(e.message)}n(!0),l(!1)}),[n,l,s]),c=(0,r.useCallback)((async n=>{l(!0),s([]);const r=new Set,o=[...n];let i=!1;const a=o.map((async n=>{const o=await async function(e){const t=new N("Uploaded Font");try{const n=await Gn(e);return await t.fromDataBuffer(n,"font"),!0}catch(e){return console.error("Error: ",e),!1}}(n);if(!o)return i=!0,s([{type:"error",message:(0,e.createElement)(e.Fragment,null,(0,t.__)("Invalid or corrupted font file: ","gp-premium")," ",`${n.name}`)}]),null;if(r.has(n.name))return null;const a=n.name.split(".").pop().toLowerCase();return Ln.includes(a)?(r.add(n.name),n):null})),c=(await Promise.all(a)).filter((e=>null!==e));if(c.length>0)u(c);else{const e=i?(0,t.__)("Sorry, you are not allowed to upload this file type."):(0,t.__)("No fonts found to install.");console.error("Error: ",e),l(!1)}}),[u,l,s]);return(0,e.createElement)(e.Fragment,null,i&&(0,e.createElement)("div",{style:{margin:"0 0 20px 0"}},(0,e.createElement)(Yn.Stack,{gap:"20px"},i.map(((t,n)=>(0,e.createElement)(o.Notice,{key:`${t.type}-${n}`,status:t.type,onRemove:()=>s(i.toSpliced(n,1))},t.message))))),(0,e.createElement)("h2",null,(0,t.__)("Upload Fonts","gp-premium")),(0,e.createElement)("div",{style:{position:"relative"},className:"gp-font-library-upload"},(0,e.createElement)(o.DropZone,{onFilesDrop:function(e){c(e)}}),(0,e.createElement)("div",{className:"gp-font-library-modal__local-fonts"},(0,e.createElement)(o.FormFileUpload,{accept:vr,multiple:!0,onChange:function(e){c(e.target.files)},render:({openFileDialog:n})=>(0,e.createElement)(o.Button,{style:{background:"#f0f0f0",alignItems:"center",display:"flex",height:"256px",justifyContent:"center",width:"100%"},className:"gp-font-library-modal__upload-area",onClick:n},a&&(0,e.createElement)(o.Spinner,null),!a&&(0,t.__)("Click to upload"))}))),(0,e.createElement)("p",{style:{margin:"25px 0"}},(0,t.__)("Upload one or more fonts. Once uploaded, they will appear via the Font Library tab above. Supported formats are: .ttf, .otf, .woff, and .woff2.","gp-premium")))},yr=(t,n)=>(0,e.createElement)("div",{className:"gp-tab-header",id:n},t),Cr=async({setFonts:e,updateFontList:t,setUpdateFontList:n})=>{const r=await zn("get-fonts");e({success:r.success,response:r.response}),t&&n(!1)};var xr,Sr;xr=(0,e.createElement)((()=>{const[n,i]=(0,r.useState)(null),[a,l]=(0,r.useState)(!1),[u,c]=(0,r.useState)({google_gdpr:!1}),[d,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)(null),[p,m]=(0,r.useState)("library-font"),[b,v]=(0,r.useState)([]),w=(0,r.useMemo)((()=>[{disabled:d,name:"library-font",title:yr((0,t.__)("Font Library","gp-premium"),"library_font_hd"),content:(0,e.createElement)(tr,{fonts:n,editFont:f,setEditFont:g,unsavedChanges:d,setUnsavedChanges:h,setUpdateFontList:l}),className:"gp-font-library__fonts"},{disabled:d,name:"upload-font",title:yr((0,t.__)("Upload Custom Fonts","gp-premium"),"upload_font_hd"),content:(0,e.createElement)(wr,{setFonts:i,setUpdateFontList:l}),className:"gp-font-library__upload"},{disabled:d,name:"google-font",title:yr((0,t.__)("Install Google Fonts","gp-premium"),"google_font_hd"),content:(0,e.createElement)(ir,{settings:u,setSettings:c,setUpdateFontList:l,googleFonts:b}),className:"gp-font-library__google-fonts"}]),[n,f,d,h,i,l,u,c,b]),y=(0,r.useCallback)((e=>{"library-font"===e||d||g(null),m(e)}),[d]);return(0,r.useEffect)((()=>{0===b.length&&"google-font"===p&&async function({setGoogleFonts:e,setNotice:n}){try{var r;const t=await async function(e="google-fonts"){const t={path:`/wp/v2/font-collections/${e}`,method:"GET"};return await s()(t)}("google-fonts"),n=null!==(r=t?.font_families)&&void 0!==r?r:[];if(!n)throw new Error(t);e(n)}catch(e){n({type:"error",message:(0,t.__)("An error occurred while fetching Google Fonts.","gp-premium")}),console.error(e.message)}}({setGoogleFonts:v})}),[p,b.length,v]),(0,r.useEffect)((()=>{a&&Cr({updateFontList:a,setUpdateFontList:l,setFonts:i}).catch((e=>console.error("Error:",e)))}),[a]),(0,r.useEffect)((()=>{Cr({updateFontList:a,setUpdateFontList:l,setFonts:i}),(async()=>{try{var e;const t=await zn("get-settings");c(null!==(e=t?.response)&&void 0!==e&&e)}catch(e){console.error(e.message)}})()}),[]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(o.TabPanel,{onSelect:y,className:"gp-font-tab-panel",activeClass:"active-tab",orientation:"horizontal",initialTabName:p,tabs:w},(e=>e.content)))}),null),Sr=document.getElementById("gp-font-library"),void 0!==r.createRoot?(0,r.createRoot)(Sr).render(xr):(0,r.render)(xr,Sr)})()})(); |