PageSourceSearch

https://www.zpk.org/_next/static/chunks/8173-5c03adc0e5f389cd.js

js zpk.org collected 2026-10-02 07:32:24 UTC 323,943 bytes, 66 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8173],{101:(e,t,r)=>{var n=r(91207);function i(e){this.mode=n.MODE_8BIT_BYTE,this.data=e}i.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=i},827:(e,t,r)=>{"use strict";let n;r.d(t,{xd:()=>t_,mT:()=>tP,TU:()=>tI,GY:()=>tD,yN:()=>tL,yQ:()=>tR,c_:()=>tT,rX:()=>tz,Dc:()=>tB,Cy:()=>tN,Bq:()=>rR,QR:()=>tY,AB:()=>tW,Yb:()=>tF,J:()=>t$,qz:()=>tH,pj:()=>tq,Vw:()=>tU,DZ:()=>tM,_:()=>tV,fV:()=>tK,_B:()=>tZ,f_:()=>tX,mM:()=>tG,TT:()=>tQ,J2:()=>tJ,zg:()=>t0,D6:()=>t1,N_:()=>t2,B8:()=>tj,cM:()=>t4,LM:()=>t6,eV:()=>t5,h1:()=>t3,xq:()=>t8,Hs:()=>t7,VA:()=>t9,e6:()=>re,jz:()=>rt,FW:()=>rr,Pk:()=>rn,fL:()=>ri,HZ:()=>ro,vj:()=>rs,Yq:()=>rQ,lC:()=>ra,wO:()=>rl,pJ:()=>ru,Gk:()=>rc,jp:()=>rd,Yf:()=>rh,lM:()=>rf,ZU:()=>rp,z2:()=>rg,bE:()=>rm,X:()=>rv,$Z:()=>ry,en:()=>rb,u0:()=>rP,pq:()=>r_,YH:()=>rU,uK:()=>rk,FQ:()=>rB,HC:()=>rN,CU:()=>rD,sL:()=>rL,ym:()=>rT,EE:()=>rE,RU:()=>rA,os:()=>rM,Fz:()=>rO,DQ:()=>rI,Zr:()=>rV});var i=r(93107),o=r(73464),s=r(60077),a=r(16563),l=r(61171),u=r(12115),c=r(41535),d=r(31692),h=r(70379),f=r(47527),p=r(68599),g=r(98454),m=r(32007),v=r(69885),y=r(89971);let b=["top","right","bottom","left"],w=Math.min,k=Math.max,A=Math.round,E=Math.floor,S=e=>({x:e,y:e}),O={left:"right",right:"left",bottom:"top",top:"bottom"};function C(e,t){return"function"==typeof e?e(t):e}function I(e){return e.split("-")[0]}function M(e){return e.split("-")[1]}function j(e){return"x"===e?"y":"x"}function _(e){return"y"===e?"height":"width"}function P(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function D(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let L=["left","right"],R=["right","left"],T=["top","bottom"],z=["bottom","top"];function B(e){let t=I(e);return O[t]+e.slice(t.length)}function N(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function Y(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function W(e,t,r){let n,{reference:i,floating:o}=e,s=P(t),a=j(P(t)),l=_(a),u=I(t),c="y"===s,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(M(t)){case"start":n[a]-=f*(r&&c?-1:1);break;case"end":n[a]+=f*(r&&c?-1:1)}return n}async function F(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=C(t,e),p=N(f),g=a[h?"floating"===d?"reference":"floating":d],m=Y(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(g)))||r?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=Y(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-w.top+p.top)/b.y,bottom:(w.bottom-m.bottom+p.bottom)/b.y,left:(m.left-w.left+p.left)/b.x,right:(w.right-m.right+p.right)/b.x}}let $=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=s.detectOverflow?s:{...s,detectOverflow:F},l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=W(u,n,l),h=n,f=0,p={};for(let r=0;r<o.length;r++){let g=o[r];if(!g)continue;let{name:m,fn:v}=g,{x:y,y:b,data:w,reset:k}=await v({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=b?b:d,p[m]={...p[m],...w}
1,k&&f<50&&(f++,"object"==typeof k&&(k.placement&&(h=k.placement),k.rects&&(u=!0===k.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:c,y:d}=W(u,h,l)),r=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:p}};function H(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function q(e){return b.some(t=>e[t]>=0)}let U=new Set(["left","top"]);async function V(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),s=I(r),a=M(r),l="y"===P(r),u=U.has(s)?-1:1,c=o&&l?-1:1,d=C(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof p&&(f="end"===a?-1*p:p),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}function K(){return"u">typeof window}function Z(e){return Q(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(Q(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Q(e){return!!K()&&(e instanceof Node||e instanceof X(e).Node)}function J(e){return!!K()&&(e instanceof Element||e instanceof X(e).Element)}function ee(e){return!!K()&&(e instanceof HTMLElement||e instanceof X(e).HTMLElement)}function et(e){return!(!K()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof X(e).ShadowRoot)}function er(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ec(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function en(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let ei=/transform|translate|scale|rotate|perspective|filter/,eo=/paint|layout|strict|content/,es=e=>!!e&&"none"!==e;function ea(e){let t=J(e)?ec(e):e;return es(t.transform)||es(t.translate)||es(t.scale)||es(t.rotate)||es(t.perspective)||!el()&&(es(t.backdropFilter)||es(t.filter))||ei.test(t.willChange||"")||eo.test(t.contain||"")}function el(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function eu(e){return/^(html|body|#document)$/.test(Z(e))}function ec(e){return X(e).getComputedStyle(e)}function ed(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eh(e){if("html"===Z(e))return e;let t=e.assignedSlot||e.parentNode||et(e)&&e.host||G(e);return et(t)?t.host:t}function ef(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=eh(t);return eu(r)?t.ownerDocument?t.ownerDocument.body:t.body:ee(r)&&er(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=X(i);if(!o)return t.concat(i,ef(i,[],r));{let e=ep(s);return t.concat(s,s.visualViewport||[],er(i)?i:[],e&&r?ef(e):[])}}function ep(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eg(e){let t=ec(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=ee(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=A(r)!==o||A(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function em(e){return J(e)?e:e.contextElement}function ev(e){let t=em(e);if(!ee(t))return S(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eg(t),s=(o?A(r.width):r.width)/n,a=(o?A(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let ey=S(0);function eb(e){let t=X(e);return el()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ey}function ex(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=em(e),a=S(1);t&&(n?J(n)&&(a=ev(n)):a=ev(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===X(s))&&i)?eb(s):S(0),u=(o.left+l.x)/a.x,c=(o.top+l.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(s){let e=X(s),t=n&&J(n)?X(n):n,r=e,i=ep(r);for(;i&&n&&t!==r;){let e=ev(i),t=i.getBoundingClientRect(),n=ec(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=o,c+=s,i=ep(r=X(i))}}return Y({width:d,height:h,x:u,y:c})}function ew(e,t){let r=ed(e).scrollLeft;return t?t.left+r:ex(G(e)).left+r}function ek(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ew(e,r),y:r.top+t.scrollTop}}function eA(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=X(e),n=G(e),i=r.visualVie
1wport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=el();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let u=ew(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else u<=25&&(o+=u);return{width:o,height:s,x:a,y:l}}(e,r);else if("document"===t){let t,r,o,s,a,l,u;n=G(e),t=G(n),r=ed(n),o=n.ownerDocument.body,s=k(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=k(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-r.scrollLeft+ew(n),u=-r.scrollTop,"rtl"===ec(o).direction&&(l+=k(t.clientWidth,o.clientWidth)-s),i={width:s,height:a,x:l,y:u}}else if(J(t)){let e,n,o,s,a,l;n=(e=ex(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,s=ee(t)?ev(t):S(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,i={width:a,height:l,x:o*s.x,y:n*s.y}}else{let r=eb(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Y(i)}function eE(e){return"static"===ec(e).position}function eS(e,t){if(!ee(e)||"fixed"===ec(e).position)return null;if(t)return t(e);let r=e.offsetParent;return G(e)===r&&(r=r.ownerDocument.body),r}function eO(e,t){var r;let n=X(e);if(en(e))return n;if(!ee(e)){let t=eh(e);for(;t&&!eu(t);){if(J(t)&&!eE(t))return t;t=eh(t)}return n}let i=eS(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(Z(r)))&&eE(i);)i=eS(i,t);return i&&eu(i)&&eE(i)&&!ea(i)?n:i||function(e){let t=eh(e);for(;ee(t)&&!eu(t);){if(ea(t))return t;if(en(t))break;t=eh(t)}return null}(e)||n}let eC=async function(e){let t=this.getOffsetParent||eO,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=ee(t),i=G(t),o="fixed"===r,s=ex(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=S(0);if(n||!n&&!o)if(("body"!==Z(t)||er(i))&&(a=ed(t)),n){let e=ex(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ew(i));o&&!n&&i&&(l.x=ew(i));let u=!i||n||o?S(0):ek(i,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eI={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,s=G(n),a=!!t&&en(t.floating);if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},u=S(1),c=S(0),d=ee(n);
1if((d||!d&&!o)&&(("body"!==Z(n)||er(s))&&(l=ed(n)),d)){let e=ex(n);u=ev(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let h=!s||d||o?S(0):ek(s,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:r.y*u.y-l.scrollTop*u.y+c.y+h.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?en(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=ef(e,[],!1).filter(e=>J(e)&&"body"!==Z(e)),i=null,o="fixed"===ec(e).position,s=o?eh(e):e;for(;J(s)&&!eu(s);){let t=ec(s),r=ea(s);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||er(s)&&!r&&function e(t,r){let n=eh(t);return!(n===r||!J(n)||eu(n))&&("fixed"===ec(n).position||e(n,r))}(e,s)))?i=t:n=n.filter(e=>e!==s),s=eh(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=eA(t,o[0],i),a=s.top,l=s.right,u=s.bottom,c=s.left;for(let e=1;e<o.length;e++){let r=eA(t,o[e],i);a=k(r.top,a),l=w(r.right,l),u=w(r.bottom,u),c=k(r.left,c)}return{width:l-c,height:u-a,x:c,y:a}},getOffsetParent:eO,getElementRects:eC,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=eg(e);return{width:t,height:r}},getScale:ev,isElement:J,isRTL:function(e){return"rtl"===ec(e).direction}};function eM(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ej=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=C(e,t)||{};if(null==u)return{};let d=N(c),h={x:r,y:n},f=j(P(i)),p=_(f),g=await s.getDimensions(u),m="y"===f,v=m?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[f]-h[f]-o.floating[p],b=h[f]-o.reference[f],A=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),E=A?A[v]:0;E&&await (null==s.isElement?void 0:s.isElement(A))||(E=a.floating[v]||o.floating[p]);let S=E/2-g[p]/2-1,O=w(d[m?"top":"left"],S),I=w(d[m?"bottom":"right"],S),D=E-g[p]-I,L=E/2-g[p]/2+(y/2-b/2),R=k(O,w(L,D)),T=!l.arrow&&null!=M(i)&&L!==R&&o.reference[p]/2-(L<O?O:I)-g[p]/2<0,z=T?L<O?L-O:L-D:0;return{[f]:h[f]+z,data:{[f]:R,centerOffset:L-R-z,...T&&{alignmentOffset:z}},reset:T}}});var e_=r(47650),eP="u">typeof document?u.useLayoutEffect:function(){};function eD(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eD(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eD(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eL(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eR(e,t){let r=eL(e);return Math.round(t*r)/r}function eT(e){let t=u.useRef(e);return eP(()=>{t.current=e}),t}var ez=r(55897),eB=r(95155),eN=u.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eB.jsx)(ez.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eB.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eN.displayName="Arrow";var eY=r(17347),eW=r(66294),eF="Popper",[e$,eH]=(0,p.A)(eF),[eq,eU]=e$(eF),eV=e=>{let{__scopePopper:t,children:r}=e,[n,i]=u.useState(null);return(0,eB.jsx)(eq,{scope:t,anchor:n,onAnchorChange:i,children:r})};eV.displayName=eF;var eK="PopperAnchor",eZ=u.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=eU(eK,r),s=u.useRef(null),a=(0,f.s)(t,s),l=u.useRef(null);return u.useEffect(()=>{let e=l.current;l.current=n?.current||s.current,e!==l.current&&o.onAnchorChange(l.current)}),n?null:(0,eB.jsx)(ez.sG.div,{...i,ref:a})});eZ.displayName=eK;var eX="PopperContent",[eG,eQ]=e$(eX),eJ=u.forwardRef((e,t)=>{var r,n,i,o,s,a,l,c,d,h,p,g,m,v,y,b,A,S,O,N,Y;let W,F,K,Z,X,Q,{__scopePopper:J,side:ee="bottom",sideOffset:et=0,align:er="center",alignOffset:en=0,arrowPadding:ei=0,avoidCollisions:eo=!0,collisionBoundary:es=[],collisionPadding:ea=0,sticky:el="partial",hideWhenDetached:eu=!1,updatePositionStrategy:ec="optimized",onPlaced:ed,...eh}=e,ep=eU(eX,J),[eg,ev]=u.useState(null),ey=(0,f.s)(t,e=>ev(e)),[eb,ew]=u.useState(null),ek=function(e){let[t,r]=u.useState(void 0);return(0,eW.N)(()=>
1{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(eb),eA=ek?.width??0,eE=ek?.height??0,eS="number"==typeof ea?ea:{top:0,right:0,bottom:0,left:0,...ea},eO=Array.isArray(es)?es:[es],eC=eO.length>0,eN={padding:eS,boundary:eO.filter(e4),altBoundary:eC},{refs:eF,floatingStyles:e$,placement:eH,isPositioned:eq,middlewareData:eV}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,h]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=u.useState(n);eD(f,n)||p(n);let[g,m]=u.useState(null),[v,y]=u.useState(null),b=u.useCallback(e=>{e!==E.current&&(E.current=e,m(e))},[]),w=u.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),k=o||g,A=s||v,E=u.useRef(null),S=u.useRef(null),O=u.useRef(d),C=null!=l,I=eT(l),M=eT(i),j=eT(c),_=u.useCallback(()=>{var e,n;let i,o,s;if(!E.current||!S.current)return;let a={placement:t,strategy:r,middleware:f};M.current&&(a.platform=M.current),(e=E.current,n=S.current,i=new Map,s={...(o={platform:eI,...a}).platform,_c:i},$(e,n,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==j.current};P.current&&!eD(O.current,t)&&(O.current=t,e_.flushSync(()=>{h(t)}))})},[f,t,r,M,j]);eP(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let P=u.useRef(!1);eP(()=>(P.current=!0,()=>{P.current=!1}),[]),eP(()=>{if(k&&(E.current=k),A&&(S.current=A),k&&A){if(I.current)return I.current(k,A,_);_()}},[k,A,_,I,C]);let D=u.useMemo(()=>({reference:E,floating:S,setReference:b,setFloating:w}),[b,w]),L=u.useMemo(()=>({reference:k,floating:A}),[k,A]),R=u.useMemo(()=>{let e={position:r,left:0,top:0};if(!L.floating)return e;let t=eR(L.floating,d.x),n=eR(L.floating,d.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...eL(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,a,L.floating,d.x,d.y]);return u.useMemo(()=>({...d,update:_,refs:D,elements:L,floatingStyles:R}),[d,_,D,L,R])}({strategy:"fixed",placement:ee+("center"!==er?"-"+er:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=em(e),d=o||s?[...c?ef(c):[],...t?ef(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let h=c&&l?function(e,t){let r,n=null,i=G(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:f}=u;if(a||t(),!h||!f)return;let p={rootMargin:-E(d)+"px "+-E(i.clientWidth-(c+h))+"px "+-E(i.clientHeight-(d+f))+"px "+-E(c)+"px",threshold:k(0,w(1,l))||1},g=!0;function m(t){let n=t[0].intersectionRatio;if(n!==l){if(!g)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||eM(u,e.getBoundingClientRect())||s(),g=!1}try{n=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(m,p)}n.observe(e)}(!0),o}(c,r):null,f=-1,p=null;a&&(p=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),r()}),c&&!u&&p.observe(c),t&&p.observe(t));let g=u?ex(e):null;return u&&function t(){let n=ex(e);g&&!eM(g,n)&&r(),g=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===ec}
1),elements:{reference:ep.anchor},middleware:[{name:(W={name:"offset",options:i=r={mainAxis:et+eE,alignmentAxis:en},async fn(e){var t,r;let{x:n,y:o,placement:s,middlewareData:a}=e,l=await V(e,i);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:o+l.y,data:{...l,placement:s}}}}).name,fn:W.fn,options:[r,n]},eo&&{name:(F={name:"shift",options:d=l={mainAxis:!0,crossAxis:!1,limiter:"partial"===el?{fn:(void 0===(a=o)&&(a={}),{options:a,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=C(a,e),c={x:t,y:r},d=P(n),h=j(d),f=c[h],p=c[d],g=C(s,e),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+m.mainAxis,r=i.reference[h]+i.reference[e]-m.mainAxis;f<t?f=t:f>r&&(f=r)}if(u){var v,y;let e="y"===h?"width":"height",t=U.has(I(n)),r=i.reference[d]-i.floating[e]+(t&&(null==(v=o.offset)?void 0:v[d])||0)+(t?0:m.crossAxis),s=i.reference[d]+i.reference[e]+(t?0:(null==(y=o.offset)?void 0:y[d])||0)-(t?m.crossAxis:0);p<r?p=r:p>s&&(p=s)}return{[h]:f,[d]:p}}}).fn,options:[o,s]}:void 0,...eN},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=C(d,e),u={x:t,y:r},c=await i.detectOverflow(e,l),h=P(I(n)),f=j(h),p=u[f],g=u[h];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=p+c[e],n=p-c[t];p=k(r,w(p,n))}if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=g+c[e],n=g-c[t];g=k(r,w(g,n))}let m=a.fn({...e,[f]:p,[h]:g});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[f]:o,[h]:s}}}}}).name,fn:F.fn,options:[l,c]},eo&&{name:(K={name:"flip",options:g=h={...eN},async fn(e){var t,r,n,i,o,s,a,l;
1let u,c,d,{placement:h,middlewareData:f,rects:p,initialPlacement:m,platform:v,elements:y}=e,{mainAxis:b=!0,crossAxis:w=!0,fallbackPlacements:k,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:S=!0,...O}=C(g,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let N=I(h),Y=P(m),W=I(m)===m,F=await (null==v.isRTL?void 0:v.isRTL(y.floating)),$=k||(W||!S?[B(m)]:(u=B(m),[D(m),u,D(u)])),H="none"!==E;!k&&H&&$.push(...(c=M(m),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?R:L;return t?L:R;case"left":case"right":return t?T:z;default:return[]}}(I(m),"start"===E,F),c&&(d=d.map(e=>e+"-"+c),S&&(d=d.concat(d.map(D)))),d));let q=[m,...$],U=await v.detectOverflow(e,O),V=[],K=(null==(r=f.flip)?void 0:r.overflows)||[];if(b&&V.push(U[N]),w){let e,t,r,n,i=(s=h,a=p,void 0===(l=F)&&(l=!1),e=M(s),r=_(t=j(P(s))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[r]>a.floating[r]&&(n=B(n)),[n,B(n)]);V.push(U[i[0]],U[i[1]])}if(K=[...K,{placement:h,overflows:V}],!V.every(e=>e<=0)){let e=((null==(n=f.flip)?void 0:n.index)||0)+1,t=q[e];if(t&&("alignment"!==w||Y===P(t)||K.every(e=>P(e.placement)!==Y||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let r=null==(i=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(A){case"bestFit":{let e=null==(o=K.filter(e=>{if(H){let t=P(e.placement);return t===Y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=m}if(h!==r)return{reset:{placement:r}}}return{}}}).name,fn:K.fn,options:[h,p]},{name:(Z={name:"size",options:y=m={...eN,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:s,platform:a,elements:l}=e,{apply:u=()=>{},...c}=C(y,e),d=await a.detectOverflow(e,c),h=I(o),f=M(o),p="y"===P(o),{width:g,height:m}=s.floating;"top"===h||"bottom"===h?(n=h,i=f===(await (null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(i=h,n="end"===f?"top":"bottom");let v=m-d.top-d.bottom,b=g-d.left-d.right,A=w(m-d[n],v),E=w(g-d[i],b),S=!e.middlewareData.shift,O=A,j=E;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(j=b),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(O=v),S&&!f){let e=k(d.left,0),t=k(d.right,0),r=k(d.top,0),n=k(d.bottom,0);p?j=g-2*(0!==e||0!==t?e+t:k(d.left,d.right)):O=m-2*(0!==r||0!==n?r+n:k(d.top,d.bottom))}await u({...e,availableWidth:j,availableHeight:O});let _=await a.getDimensions(l.floating);return g!==_.width||m!==_.height?{reset:{rects:!0}}:{}}}).name,fn:Z.fn,options:[m,v]},eb&&{name:(X={name:"arrow",options:S=b={element:eb,padding:ei},fn(e){let{element:t,padding:r}="function"==typeof S?S(e):S;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ej({element:t.current,padding:r}).fn(e):{}:t?ej({element:t,padding:r}).fn(e):{}}}).name,fn:X.fn,options:[b,A]},e5({arrowWidth:eA,arrowHeight:eE}),eu&&{name:(Q={name:"hide",options:Y=O={strategy:"referenceHidden",...eN},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=C(Y,e);switch(n){case"referenceHidden":{let n=H(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:q(n)}}}case"escaped":{let n=H(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:q(n)}}}default:return{}}}}).name,fn:Q.fn,options:[O,N]}]}),[eK,eZ]=e6(eH),eQ=(0,eY.c)(ed);(0,eW.N)(()=>{eq&&eQ?.()},[eq,eQ]);let eJ=eV.arrow?.x,e0=eV.arrow?.y,e1=eV.arrow?.centerOffset!==0,[e2,e3]=u.useState();return(0,eW.N)(()=>{eg&&e3(window.getComputedStyle(eg).zIndex)},[eg]),(0,eB.jsx)("div",{ref:eF.setFloating,"data-radix-popper-content-wrapper":"",style:{...e$,transform:eq?e$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e2,"--radix-popper-transform-origin":[eV.transformOrigin?.x,eV.transformOrigin?.y].join(" "),...eV.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}}
1,dir:e.dir,children:(0,eB.jsx)(eG,{scope:J,placedSide:eK,onArrowChange:ew,arrowX:eJ,arrowY:e0,shouldHideArrow:e1,children:(0,eB.jsx)(ez.sG.div,{"data-side":eK,"data-align":eZ,...eh,ref:ey,style:{...eh.style,animation:eq?void 0:"none"}})})})});eJ.displayName=eX;var e0="PopperArrow",e1={top:"bottom",right:"left",bottom:"top",left:"right"},e2=u.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eQ(e0,r),o=e1[i.placedSide];return(0,eB.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eB.jsx)(eN,{...n,ref:t,style:{...n.style,display:"block"}})})});function e4(e){return null!==e}e2.displayName=e0;var e5=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=e6(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,h=(i.arrow?.y??0)+a/2,f="",p="";return"bottom"===l?(f=o?c:`${d}px`,p=`${-a}px`):"top"===l?(f=o?c:`${d}px`,p=`${n.floating.height+a}px`):"right"===l?(f=`${-a}px`,p=o?c:`${h}px`):"left"===l&&(f=`${n.floating.width+a}px`,p=o?c:`${h}px`),{data:{x:f,y:p}}}});function e6(e){let[t,r="center"]=e.split("-");return[t,r]}var e3=r(19040),e8=r(83935),e7=r(42442),e9=r(98979),te=r(22954),tt=r(5174),tr="Popover",[tn,ti]=(0,p.A)(tr,[eH]),to=eH(),[ts,ta]=tn(tr),tl=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:s=!1}=e,a=to(t),l=u.useRef(null),[c,d]=u.useState(!1),[h,f]=(0,e9.i)({prop:n,defaultProp:i??!1,onChange:o,caller:tr});return(0,eB.jsx)(eV,{...a,children:(0,eB.jsx)(ts,{scope:t,contentId:(0,y.B)(),triggerRef:l,open:h,onOpenChange:f,onOpenToggle:u.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:c,onCustomAnchorAdd:u.useCallback(()=>d(!0),[]),onCustomAnchorRemove:u.useCallback(()=>d(!1),[]),modal:s,children:r})})};tl.displayName=tr;var tu="PopoverAnchor";u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ta(tu,r),o=to(r),{onCustomAnchorAdd:s,onCustomAnchorRemove:a}=i;return u.useEffect(()=>(s(),()=>a()),[s,a]),(0,eB.jsx)(eZ,{...o,...n,ref:t})}).displayName=tu;var tc="PopoverTrigger",td=u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ta(tc,r),o=to(r),s=(0,f.s)(t,i.triggerRef),a=(0,eB.jsx)(ez.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":tA(i.open),...n,ref:s,onClick:(0,h.mK)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?a:(0,eB.jsx)(eZ,{asChild:!0,...o,children:a})});td.displayName=tc;var th="PopoverPortal",[tf,tp]=tn(th,{forceMount:void 0}),tg=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,o=ta(th,t);return(0,eB.jsx)(tf,{scope:t,forceMount:r,children:(0,eB.jsx)(e8.C,{present:r||o.open,children:(0,eB.jsx)(e3.Z,{asChild:!0,container:i,children:n})})})};tg.displayName=th;var tm="PopoverContent",tv=u.forwardRef((e,t)=>{let r=tp(tm,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,o=ta(tm,e.__scopePopover);return(0,eB.jsx)(e8.C,{present:n||o.open,children:o.modal?(0,eB.jsx)(tb,{...i,ref:t}):(0,eB.jsx)(tx,{...i,ref:t})})});tv.displayName=tm;var ty=(0,e7.TL)("PopoverContent.RemoveScroll"),tb=u.forwardRef((e,t)=>{let r=ta(tm,e.__scopePopover),n=u.useRef(null),i=(0,f.s)(t,n),o=u.useRef(!1);return u.useEffect(()=>{let e=n.current;if(e)return(0,te.Eq)(e)},[]),(0,eB.jsx)(tt.A,{as:ty,allowPinchZoom:!0,children:(0,eB.jsx)(tw,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,h.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,h.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;o.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,h.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tx=u.forwardRef((e,t)=>
1{let r=ta(tm,e.__scopePopover),n=u.useRef(!1),i=u.useRef(!1);return(0,eB.jsx)(tw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),tw=u.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,h=ta(tm,r),f=to(r);return(0,m.Oh)(),(0,eB.jsx)(v.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,eB.jsx)(g.qW,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:(0,eB.jsx)(eJ,{"data-state":tA(h.open),role:"dialog",id:h.contentId,...f,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tk="PopoverClose";function tA(e){return e?"open":"closed"}u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ta(tk,r);return(0,eB.jsx)(ez.sG.button,{type:"button",...n,ref:t,onClick:(0,h.mK)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=tk,u.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=to(r);return(0,eB.jsx)(e2,{...i,...n,ref:t})}).displayName="PopoverArrow",(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var tE=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();(0,l.hY)(),(0,l.hY)();var tS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},tO=(0,u.forwardRef)((e,t)=>{var{color:r="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:s="",children:a,iconNode:c}=e,d=(0,l.YG)(e,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return(0,u.createElement)("svg",(0,l.IA)((0,l.ko)((0,l.IA)({ref:t},tS),{width:n,height:n,stroke:r,strokeWidth:o?24*Number(i)/Number(n):i,className:tE("lucide",s)}),d),[...c.map(([e,t])=>(0,u.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),tC=(e,t)=>{let r=(0,u.forwardRef)((r,n)=>{var{className:i}=r,o=(0,l.YG)(r,["className"]);return(0,u.createElement)(tO,(0,l.IA)({ref:n,iconNode:t,className:tE(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i)},o))});return r.displayName=`${e}`,r},tI=tC("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,l.hY)();var tM=tC("Heading",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);(0,l.hY)();var tj=tC("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);(0,l.hY)(),(0,l.hY)();var t_=tC("AlignCenter",[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,l.hY)();var tP=tC("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);(0,l.hY)();var tD=tC("AlignRight",[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,l.hY)();var tL=tC("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);(0,l.hY)();var tR=tC("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);(0,l.hY)();var tT=tC("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);(0,l.hY)();var tz=tC("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);(0,l.hY)();var tB=tC("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);(0,l.hY)();var tN=tC("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);(0,l.hY)();
1var tY=tC("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);(0,l.hY)();var tW=tC("CornerLeftUp",[["polyline",{points:"14 9 9 4 4 9",key:"m9oyvo"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]]);(0,l.hY)();var tF=tC("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);(0,l.hY)();var t$=tC("Expand",[["path",{d:"m21 21-6-6m6 6v-4.8m0 4.8h-4.8",key:"1c15vz"}],["path",{d:"M3 16.2V21m0 0h4.8M3 21l6-6",key:"1fsnz2"}],["path",{d:"M21 7.8V3m0 0h-4.8M21 3l-6 6",key:"hawz9i"}],["path",{d:"M3 7.8V3m0 0h4.8M3 3l6 6",key:"u9ee12"}]]);(0,l.hY)();var tH=tC("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);(0,l.hY)();var tq=tC("Hammer",[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]]);(0,l.hY)();var tU=tC("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);(0,l.hY)();var tV=tC("Heading1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]);(0,l.hY)();var tK=tC("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]);(0,l.hY)();var tZ=tC("Heading3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);(0,l.hY)();var tX=tC("Heading4",[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]]);(0,l.hY)();var tG=tC("Heading5",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]]);(0,l.hY)();var tQ=tC("Heading6",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]]);(0,l.hY)();var tJ=tC("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);(0,l.hY)();var t0=tC("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);(0,l.hY)();var t1=tC("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);(0,l.hY)();var t2=tC("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);(0,l.hY)();var t4=tC("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);(0,l.hY)();var t5=tC("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);(0,l.hY)();
1var t6=tC("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);(0,l.hY)();var t3=tC("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,l.hY)();var t8=tC("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,l.hY)();var t7=tC("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);(0,l.hY)();var t9=tC("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);(0,l.hY)();var re=tC("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);(0,l.hY)();var rt=tC("PanelRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);(0,l.hY)();var rr=tC("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);(0,l.hY)();var rn=tC("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);(0,l.hY)();var ri=tC("RectangleEllipsis",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);(0,l.hY)();var ro=tC("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);(0,l.hY)();var rs=tC("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);(0,l.hY)();var ra=tC("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);(0,l.hY)();var rl=tC("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);(0,l.hY)();var ru=tC("SquareCode",[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);(0,l.hY)();var rc=tC("Strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);(0,l.hY)();var rd=tC("Tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);(0,l.hY)();var rh=tC("ToyBrick",[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]]);(0,l.hY)();var rf=tC("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);(0,l.hY)();var rp=tC("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);(0,l.hY)();
1var rg=tC("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);(0,l.hY)();var rm=tC("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);(0,l.hY)();var rv=tC("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);(0,l.hY)();var ry=tC("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,l.hY)();var rb=tC("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var rx={ControlLeft:"ctrl",ControlRight:"ctrl",MetaLeft:"meta",MetaRight:"meta",ShiftLeft:"shift",ShiftRight:"shift",KeyA:"a",KeyB:"b",KeyC:"c",KeyD:"d",KeyE:"e",KeyF:"f",KeyG:"g",KeyH:"h",KeyI:"i",KeyJ:"j",KeyK:"k",KeyL:"l",KeyM:"m",KeyN:"n",KeyO:"o",KeyP:"p",KeyQ:"q",KeyR:"r",KeyS:"s",KeyT:"t",KeyU:"u",KeyV:"v",KeyW:"w",KeyX:"x",KeyY:"y",KeyZ:"z",Delete:"delete",Backspace:"backspace",AltRight:"altRight"},rw=(0,c.v)()((0,d.eh)(e=>({held:{},hold:t=>e(e=>e.held[t]?e:{held:(0,l.ko)((0,l.IA)({},e.held),{[t]:!0})}),release:t=>e(e=>e.held[t]?{held:(0,l.ko)((0,l.IA)({},e.held),{[t]:!1})}:e),reset:(t={})=>e(()=>({held:t})),triggers:{}}))),rk=e=>{let t=e=>{if(e.getModifierState("AltGraph"))return void rw.getState().hold("altRight");let t=rx[e.code];if(t){rw.getState().hold(t);let{held:r,triggers:n}=rw.getState();Object.values(n).forEach(({combo:t,cb:n})=>{Object.entries(t).every(([e,t])=>!!r[e]===t)&&Object.entries(r).every(([e,r])=>!!t[e]===r)&&!1!==n(e)&&e.preventDefault()}),"meta"!==t&&"ctrl"!==t&&"shift"!==t&&rw.getState().release(t)}},r=e=>{if(!e.getModifierState("AltGraph")&&"ControlRight"===e.code)return void rw.getState().release("altRight");let t=rx[e.code];t&&("meta"===t?rw.getState().reset():rw.getState().release(t))},n=e=>{"hidden"===document.visibilityState&&rw.getState().reset()},i=()=>{rw.getState().reset()};return window.addEventListener("blur",i),e.addEventListener("keydown",t),e.addEventListener("keyup",r),e.addEventListener("visibilitychange",n),()=>{e.removeEventListener("keydown",t),e.removeEventListener("keyup",r),e.removeEventListener("visibilitychange",n),window.removeEventListener("blur",i)}},rA=()=>{(0,u.useEffect)(()=>rk(document),[])},rE=(e,t)=>{(0,u.useEffect)(()=>rw.setState(r=>({triggers:(0,l.ko)((0,l.IA)({},r.triggers),{[`${Object.keys(e).join("+")}`]:{combo:e,cb:t}})})),[])},rS=e=>(0,l.ko)((0,l.IA)({},e),{ui:(0,l.ko)((0,l.IA)({},e.ui),{field:(0,l.ko)((0,l.IA)({},e.ui.field),{focus:null})})});function rO(e,{histories:t,index:r,initialAppState:n}){(0,u.useEffect)(()=>e.setState({history:(0,l.ko)((0,l.IA)({},e.getState().history),{histories:t,index:r,initialAppState:n})}),[t,r,n]);let i=()=>{e.getState().history.back()},o=()=>{e.getState().history.forward()};rE({altRight:!1,meta:!0,z:!0},i),rE({altRight:!1,meta:!0,shift:!0,z:!0},o),rE({altRight:!1,meta:!0,y:!0},o),rE({altRight:!1,ctrl:!0,z:!0},i),rE({altRight:!1,ctrl:!0,shift:!0,z:!0},o),rE({altRight:!1,ctrl:!0,y:!0},o)}(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var rC=(e,t)=>{let r=[];return(0,a.CS)(e,t,e=>e,e=>(r.push(e),e)),r},rI=(e,t)=>{(0,u.useEffect)(()=>{let{permissions:r}=e.getState(),{globalPermissions:n}=r;e.setState({permissions:(0,l.ko)((0,l.IA)({},r),{globalPermissions:(0,l.IA)((0,l.IA)({},n),t)})}),r.resolvePermissions()},[t]),(0,u.useEffect)(()=>e.subscribe(e=>e.state.data,()=>{e.getState().permissions.resolvePermissions()}),[]),(0,u.useEffect)(()=>e.subscribe(e=>e.config,()=>{e.getState().permissions.resolvePermissions()}),[])};(0,l.hY)();var rM=(e,t)=>{let r=(0,u.useCallback)(r=>(0,l.BU)(null,null,function*(){var n,s;let{fields:a,lastResolvedData:u}=e.getState().fields,c=e.getState().metadata,d=e.getState().state.indexes.nodes,h=d[t||"root"],f=null==h?void 0:h.data,p=(null==h?void 0:h.parentId)?d[h.parentId]:null,g=(null==p?void 0:p.data)||null,{getComponentConfig:m,state:v}=e.getState(),y=m(null==f?void 0:f.type);if(!f||!y)return;let b=y.fields||{},w=y.resolveFields,k=a;if(r&&(e.setState(e=>({fields:(0,l.ko)((0,l.IA)({},e.fields),{fields:b,id:t})})),k=b),w){let r=setTimeout(()=>{e.setState(e=>({fields:(0,l.ko)((0,l.IA)({},e.fields),{loading:!0})}
1))},50),a=(null==(n=u.props)?void 0:n.id)===t?u:null,d=(0,o.rv)(f,a),h=yield w(f,{changed:d,fields:b,lastFields:k,metadata:(0,l.IA)((0,l.IA)({},c),y.metadata),lastData:a,appState:(0,i.Vg)(v),parent:g});if(clearTimeout(r),(null==(s=e.getState().selectedItem)?void 0:s.props.id)!==t)return;e.setState({fields:{fields:h,loading:!1,lastResolvedData:f,id:t}})}else e.setState(e=>({fields:(0,l.ko)((0,l.IA)({},e.fields),{fields:b,id:t})}))}),[t]);(0,u.useEffect)(()=>(r(!0),e.subscribe(e=>e.state.indexes.nodes[t||"root"],()=>r())),[t])};(0,l.hY)();var rj={title:{type:"text"}},r_=e=>(0,c.v)()((0,d.eh)((t,r)=>{var n,s;let u,c;return(0,l.ko)((0,l.IA)({instanceId:(0,a.$C)(),state:o.Kn,config:{components:{}},componentState:{},plugins:[],overrides:{},viewports:o.lu,zoomConfig:{autoZoom:1,rootHeight:0,zoom:1},status:"LOADING",iframe:{},_experimentalFullScreenCanvas:!1,_experimentalVirtualization:!1,metadata:{},fieldTransforms:{}},e),{fields:{fields:{},loading:!1,lastResolvedData:{},id:void 0},history:{initialAppState:{},index:0,histories:[],hasPast:()=>r().history.index>0,hasFuture:()=>r().history.index<r().history.histories.length-1,prevHistory:()=>{let{history:e}=r();
1return e.hasPast()?e.histories[e.index-1]:null},nextHistory:()=>{let e=r().history;return e.hasFuture()?e.histories[e.index+1]:null},currentHistory:()=>r().history.histories[r().history.index],back:()=>{var e;let{history:n,dispatch:i}=r();n.hasPast()&&(i({type:"set",state:rS((null==(e=n.prevHistory())?void 0:e.state)||n.initialAppState)}),t({history:(0,l.ko)((0,l.IA)({},n),{index:n.index-1})}))},forward:()=>{var e;let{history:n,dispatch:i}=r();if(n.hasFuture()){let r=null==(e=n.nextHistory())?void 0:e.state;i({type:"set",state:r?rS(r):{}}),t({history:(0,l.ko)((0,l.IA)({},n),{index:n.index+1})})}},setHistories:e=>{var n;let{dispatch:i,history:o}=r();i({type:"set",state:(null==(n=e[e.length-1])?void 0:n.state)||o.initialAppState}),t({history:(0,l.ko)((0,l.IA)({},o),{histories:e,index:e.length-1})})},setHistoryIndex:e=>{var n;let{dispatch:i,history:o}=r();i({type:"set",state:(null==(n=o.histories[e])?void 0:n.state)||o.initialAppState}),t({history:(0,l.ko)((0,l.IA)({},o),{index:e})})},record:function(e,t=300){let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}(e=>{let{histories:n,index:i}=r().history,o={state:e,id:(0,a.$C)("history")},s=[...n.slice(0,i+1),o];t({history:(0,l.ko)((0,l.IA)({},r().history),{histories:s,index:s.length-1})})},250)},nodes:(u=new Map,{registerNode:(e,t)=>{u.set(e,t)},unregisterNode:e=>{u.delete(e)},syncNode:e=>{var t;e&&(null==(t=u.get(e))||t.sync())},syncNodes:e=>{e.forEach(e=>{var t;e&&(null==(t=u.get(e))||t.sync())})},setOverlayVisible:(e,t)=>{if(!e)return;let r=u.get(e);if(r){if(t)return void r.showOverlay();r.hideOverlay()}}}),permissions:{cache:{},globalPermissions:{drag:!0,edit:!0,delete:!0,duplicate:!0,insert:!0},resolvedPermissions:{},getPermissions:({item:e,type:t,root:n}={})=>{let{config:i,permissions:o}=r(),{globalPermissions:s,resolvedPermissions:a}=o;if(e){let t=i.components[e.type],r=(0,l.IA)((0,l.IA)({},s),null==t?void 0:t.permissions),n=a[e.props.id];return n?(0,l.IA)((0,l.IA)({},s),n):r}if(t){let e=i.components[t];return(0,l.IA)((0,l.IA)({},s),null==e?void 0:e.permissions)}if(n){let e=i.root,t=(0,l.IA)((0,l.IA)({},s),null==e?void 0:e.permissions),r=a.root;return r?(0,l.IA)((0,l.IA)({},s),r):t}return s},resolvePermissions:c=(...e)=>(0,l.BU)(null,[...e],function*(e={},n){let{state:s,permissions:a,config:u}=r(),{cache:c,globalPermissions:d}=a,h=(e,n=!1)=>(0,l.BU)(null,null,function*(){var s,a;let{config:u,state:h,setComponentLoading:f}=r(),p=c[e.props.id],g=h.indexes.nodes,m=null==(s=g[e.props.id])?void 0:s.parentId,v=m?g[m]:null,y=null!=(a=null==v?void 0:v.data)?a:null,b="root"===e.type?u.root:u.components[e.type];if(!b)return;let w=(0,l.IA)((0,l.IA)({},d),b.permissions);if(b.resolvePermissions){let s=(0,o.rv)(e,null==p?void 0:p.lastData),a=Object.values(s).some(e=>!0===e),u=(null==p?void 0:p.lastParentId)!==m;if(a||u||n){let n=f(e.props.id,!0,50),o=yield b.resolvePermissions(e,{changed:s,lastPermissions:(null==p?void 0:p.lastPermissions)||null,permissions:w,appState:(0,i.Vg)(h),lastData:(null==p?void 0:p.lastData)||null,parent:y}),a=r().permissions;t({permissions:(0,l.ko)((0,l.IA)({},a),{cache:(0,l.ko)((0,l.IA)({},a.cache),{[e.props.id]:{lastParentId:m,lastData:e,lastPermissions:o}}),resolvedPermissions:(0,l.ko)((0,l.IA)({},a.resolvedPermissions),{[e.props.id]:o})})}),n()}}}),{item:f,type:p,root:g}=e;f?yield h(f,n):p?rC(s,u).filter(e=>e.type===p).map(e=>(0,l.BU)(null,null,function*(){yield h(e,n)})):g?((e=!1)=>{let{state:t}=r();h({type:"root",props:(0,l.ko)((0,l.IA)({},t.data.root.props),{id:"root"})},e)})(n):rC(s,u).map(e=>(0,l.BU)(null,null,function*(){yield h(e,n)}))}),refreshPermissions:e=>c(e,!0)},getCurrentData:()=>{var e;let t=r();return null!=(e=t.selectedItem)?e:t.state.data.root},getComponentConfig:e=>{var t;let{config:n,selectedItem:i}=r(),o=(null==(t=n.root)?void 0:t.fields)||rj;return e&&"root"!==e?n.components[e]:i?n.components[i.type]:(0,l.ko)((0,l.IA)({},n.root),{fields:o})},selectedItem:(null==(n=null==e?void 0:e.state)?void 0:n.ui.itemSelector)?(0,i.Gq)(null==(s=null==e?void 0:e.state)?void 0:s.ui.itemSelector,e.state):null,dispatch:e=>t(t=>{var n,o;let{record:s}=r().history,a=(0,i.vy)({record:s,appStore:t})(t.state,e),u=a.ui.itemSelector?(0,i.Gq)(a.ui.itemSelector,a):null;return null==(o=(n=r()).onAction)||o.call(n,e,a,r().state),(0,l.ko)((0,l.IA)({},t),{state:a,selectedItem:u})}),setZoomConfig:e=>t({zoomConfig:e}),setStatus:e=>t({status:e}),setComponentState:e=>t({componentState:e}),pendingLoadTimeouts:{},setComponentLoading:(e,n=!0,i=0)=>{let{setComponentState:o,pendingLoadTimeouts:s}=r(),u=(0,a.$C)(),c=()=>{var n;
1let{componentState:i}=r();clearTimeout(d),delete s[u],t({pendingLoadTimeouts:s}),o((0,l.ko)((0,l.IA)({},i),{[e]:(0,l.ko)((0,l.IA)({},i[e]),{loadingCount:Math.max(((null==(n=i[e])?void 0:n.loadingCount)||0)-1,0)})}))},d=setTimeout(()=>{n?(()=>{var t;let{componentState:n}=r();o((0,l.ko)((0,l.IA)({},n),{[e]:(0,l.ko)((0,l.IA)({},n[e]),{loadingCount:((null==(t=n[e])?void 0:t.loadingCount)||0)+1})}))})():c(),delete s[u],t({pendingLoadTimeouts:s})},i);return t({pendingLoadTimeouts:(0,l.ko)((0,l.IA)({},s),{[e]:d})}),c},unsetComponentLoading:e=>{let{setComponentLoading:t}=r();t(e,!1)},setUi:(e,r)=>t(t=>{let n=(0,i.vy)({record:()=>{},appStore:t})(t.state,{type:"setUi",ui:e,recordHistory:r}),o=n.ui.itemSelector?(0,i.Gq)(n.ui.itemSelector,n):null;return(0,l.ko)((0,l.IA)({},t),{state:n,selectedItem:o})}),resolveComponentData:(e,t)=>(0,l.BU)(null,null,function*(){var n,i;let{config:s,metadata:a,setComponentLoading:u,permissions:c,state:d}=r(),h="id"in e.props?e.props.id:"root",f=null==(n=d.indexes.nodes[h])?void 0:n.parentId,p=f?d.indexes.nodes[f]:null,g=null!=(i=null==p?void 0:p.data)?i:null,m={};return yield(0,o.kW)(e,s,a,e=>{let t="id"in e.props?e.props.id:"root";m[t]=u(t,!0,50)},e=>(0,l.BU)(null,null,function*(){let t="id"in e.props?e.props.id:"root";"type"in e?yield c.refreshPermissions({item:e}):yield c.refreshPermissions({root:!0}),m[t]()}),t,g)}),resolveAndCommitData:()=>(0,l.BU)(null,null,function*(){let{config:e,state:t,dispatch:n,resolveComponentData:i}=r();(0,a.CS)(t,e,e=>e,(e,t)=>(t.length>1||i(e,"load").then(e=>{let{state:t}=r(),i=t.indexes.nodes[e.node.props.id];if(i&&e.didChange)if("root"===e.node.props.id)n({type:"replaceRoot",root:(e=>{if("type"in e&&"root"!==e.type)throw Error("Converting non-root item to root.");let{readOnly:t}=e;if(e.props){if("id"in e.props){let r=e.props,{id:n}=r;return{props:(0,l.YG)(r,["id"]),readOnly:t}}return{props:e.props,readOnly:t}}return{props:{},readOnly:t}})(e.node)});else{let r=`${i.parentId}:${i.zone}`,o=t.indexes.zones[r].contentIds.indexOf(e.node.props.id);n({type:"replace",data:e.node,destinationIndex:o,destinationZone:r})}}),e))})})})),rP=(0,u.createContext)(r_());function rD(e){let t=(0,u.useContext)(rP);return(0,c.P)(t,e)}function rL(){return(0,u.useContext)(rP)}(0,l.hY)();var rR=(0,u.createContext)({}),rT=()=>(0,u.useContext)(rR);(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var rz={Select:"_Select_xjbef_1","Select-button":"_Select-button_xjbef_6","Select--hasOptions":"_Select--hasOptions_xjbef_19","Select--disabled":"_Select--disabled_xjbef_23","Select-buttonIcon":"_Select-buttonIcon_xjbef_27","Select--standalone":"_Select--standalone_xjbef_33","Select--actionBar":"_Select--actionBar_xjbef_38","Select--hasValue":"_Select--hasValue_xjbef_44","Select-items":"_Select-items_xjbef_61",SelectItem:"_SelectItem_xjbef_72","SelectItem--isSelected":"_SelectItem--isSelected_xjbef_87","SelectItem-icon":"_SelectItem-icon_xjbef_93"};(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var rB=(e,t,r)=>{let n=Array.from(e),[i]=n.splice(t,1);return n.splice(r,0,i),n};(0,l.hY)();var rN=(e,t,r)=>{let n=Array.from(e);return n.splice(t,1),n.splice(t,0,r),n};(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var rY=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},rW=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},rF={top:0,right:0,bottom:0,left:0},r$=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?rF:r,i=e.border,o=void 0===i?rF:i,s=e.padding,a=void 0===s?rF:s,l=rY({top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}),u=rY(rW(t,o)),c=rY(rW(u,a));return{marginBox:l,borderBox:rY(t),paddingBox:u,contentBox:c,margin:n,border:o,padding:a}},rH=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&function(e){if(!e)throw Error("Invariant failed")}(!1),r},rq=function(e,t){var r={top:rH(t.marginTop),right:rH(t.marginRight),bottom:rH(t.marginBottom),left:rH(t.marginLeft)};return r$({borderBox:e,margin:r,padding:{top:rH(t.paddingTop),right:rH(t.paddingRight),bottom:rH(t.paddingBottom),left:rH(t.paddingLeft)},border:{top:rH(t.borderTopWidth),right:rH(t.borderRightWidth),bottom:rH(t.borderBottomWidth),left:rH(t.borderLeftWidth)}})},rU=function(e){return rq(e.getBoundingClientRect(),window.getComputedStyle(e))},rV=e=>{let t=rL();return r=>{let{state:n,zoomConfig:i,setZoomConfig:o}=t.getState(),{viewports:s}=n.ui,a=(null==r?void 0:r.viewports)||s;e.current&&o(((e,t,r)=>{let{width:n,height:i}=rU(t).contentBox,o="auto"===e.height?i:e.height,s=0,a=1;if("number"==typeof e.width&&(e.width>n||o>i)){let t=Math.min(n/e.width,1),l=Math.min(i/o,1);r=t,t<l?s=o/r:(s=o,r=l),a=r}else a=1,r=1,s=o;return{autoZoom:a,rootHeight:s,zoom:r}})(null==a?void 0:a.current,e.current,i.zoom))}},rK=(0,s.d)("Select",rz),rZ=(0,s.d)("SelectItem",rz),rX=({children:e,isSelected:t,onClick:r})=>(0,eB.jsx)("button",{className:rZ({isSelected:t}),onClick:r,children:e}),rG=({children:e,options:t,onChange:r,value:n,defaultValue:i,mode:o,disabled:s=!1})=>{let[a,l]=(0,u.useState)(!1),c=t.length>0;return(0,eB.jsx)("div",{className:rK({hasValue:n!==i,hasOptions:c,actionBar:"actionBar"===o,standalone:"standalone"===o,disabled:s||!c}),children:(0,eB.jsxs)(tl,{open:a,onOpenChange:l,children:[c?(0,eB.jsx)(td,{asChild:!0,children:(0,eB.jsxs)("button",{className:rK("button"),children:[(0,eB.jsx)("span",{className:rK("buttonIcon"),children:e}),(0,eB.jsx)(tR,{size:12})]})}):(0,eB.jsx)("div",{children:(0,eB.jsxs)("div",{className:rK("button"),children:[(0,eB.jsx)("span",{className:rK("buttonIcon"),children:e}),(0,eB.jsx)(tR,{size:12})]})}),t.length>0&&(0,eB.jsx)(tg,{children:(0,eB.jsx)(tv,{align:"start",children:(0,eB.jsx)("ul",{className:rK("items"),"data-puck-rte-menu":!0,children:t.map(e=>{let t=e.icon;return(0,eB.jsx)("li",{children:(0,eB.jsxs)(rX,{isSelected:n===e.value,onClick:()=>{r(e.value),l(!1)},children:[t&&(0,eB.jsx)("div",{className:rZ("icon"),children:(0,eB.jsx)(t,{size:16})}),e.label]})},e.value)})})})})]})})};function rQ({renderDefaultIcon:e,onChange:t,options:r,value:n,defaultValue:i}){var o,s;let{inline:a,readOnly:c}=rT(),d=(0,u.useMemo)(()=>r.reduce((e,t)=>
1(0,l.ko)((0,l.IA)({},e),{[t.value]:t}),{}),[r]),h=null!=(s=n&&(null==(o=d[n])?void 0:o.icon))?s:e;return(0,eB.jsx)(rG,{options:r,onChange:t,value:n,defaultValue:i,mode:a?"actionBar":"standalone",disabled:c,children:(0,eB.jsx)(h,{})})}},1418:(e,t,r)=>{"use strict";r.d(t,{M_:()=>R,Y5:()=>N,bR:()=>L,dq:()=>z,yX:()=>T});var n,i,o,s,a,l,u,c=r(24129),d=r(26791),h=Object.create,f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),b=e=>{throw TypeError(e)},w=Math.pow,k=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t)=>f(e,"name",{value:t,configurable:!0}),E=["class","method","getter","setter","accessor","field","value","get","set"],S=e=>void 0!==e&&"function"!=typeof e?b("Function expected"):e,O=(e,t,r,n,i)=>({kind:E[e],name:t,metadata:n,addInitializer:e=>r._?b("Already initialized"):i.push(S(e||null))}),C=(e,t)=>k(t,y("metadata"),e[3]),I=(e,t,r,n,i,o)=>{var s,a,l,u,c,d=7&t,h=!!(8&t),g=!!(16&t),m=d>3?e.length+1:d?h?1:2:0,v=E[d+5],y=d>3&&(e[m-1]=[]),w=e[m]||(e[m]=[]),k=d&&(g||h||(i=i.prototype),d<5&&(d>3||!g)&&p(d<4?i:{get[r](){return _(this,o)},set[r](x){return P(this,o,x)}},r));d?g&&d<4&&A(o,(d>2?"set ":d>1?"get ":"")+r):A(i,r);for(var I=n.length-1;I>=0;I--)u=O(d,r,l={},e[3],w),d&&(u.static=h,u.private=g,c=u.access={has:g?e=>j(i,e):e=>r in e},3^d&&(c.get=g?e=>(1^d?_:D)(e,i,4^d?o:k.get):e=>e[r]),d>2&&(c.set=g?(e,t)=>P(e,i,t,4^d?o:k.set):(e,t)=>e[r]=t)),a=(0,n[I])(d?d<4?g?o:k[v]:d>4?void 0:{get:k.get,set:k.set}:i,u),l._=1,4^d||void 0===a?S(a)&&(d>4?y.unshift(a):d?g?o=a:k[v]=a:i=a):"object"!=typeof a||null===a?b("Object expected"):(S(s=a.get)&&(k.get=s),S(s=a.set)&&(k.set=s),S(s=a.init)&&y.unshift(s));return d||C(e,i),k&&f(i,r,k),g?4^d?o:k:i},M=(e,t,r)=>t.has(e)||b("Cannot "+r),j=(e,t)=>Object(t)!==t?b('Cannot use the "in" operator on this value'):e.has(t),_=(e,t,r)=>(M(e,t,"read from private field"),r?r.call(e):t.get(e)),P=(e,t,r,n)=>(M(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),D=(e,t,r)=>(M(e,t,"access private method"),r),L=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,r){return new e(t.x-r.x,t.y-r.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:r}){return new e(t,r)}},R=class e{constructor(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(t,r){let{top:n,left:i,width:o,height:s,scale:a}=this,l=new e(i+t,n+r,o,s);return l.scale=((e,t)=>{for(var r in t||(t={}))m.call(t,r)&&k(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&k(e,r,t[r]);return e})({},a),l}get boundingRectangle(){let{width:e,height:t,left:r,top:n,right:i,bottom:o}=this;return{width:e,height:t,left:r,top:n,right:i,bottom:o}}get center(){let{left:e,top:t,right:r,bottom:n}=this;return new L((e+r)/2,(t+n)/2)}get area(){let{width:e,height:t}=this;return e*t}equals(t){if(!(t instanceof e))return!1;let{left:r,top:n,width:i,height:o}=this;return r===t.left&&n===t.top&&i===t.width&&o===t.height}containsPoint(e){let{top:t,left:r,bottom:n,right:i}=this;return t<=e.y&&e.y<=n&&r<=e.x&&e.x<=i}intersectionArea(t){var r,n;let i,o,s,a;return t instanceof e?(r=this,i=Math.max((n=t).top,r.top),o=Math.max(n.left,r.left),s=Math.min(n.left+n.width,r.left+r.width),a=Math.min(n.top+n.height,r.top+r.height),o<s&&i<a?(s-o)*(a-i):0):0}intersectionRatio(e){let{area:t}=this,r=this.intersectionArea(e);return r/(e.area+t-r)}get bottom(){let{top:e,height:t}=this;return e+t}get right(){let{left:e,width:t}=this;return e+t}get aspectRatio(){let{width:e,height:t}=this;return e/t}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:t,left:r,width:n,height:i}){return new e(r,t,n,i)}static delta(e,t,r={x:"center",y:"center"}){let n=(e,t)=>{let n=r[t],i="x"===t?e.left:e.top,o="x"===t?e.width:e.height;return"start"==n?i:"end"==n?i+o:i+o/2};return L.delta({x:n(e,"x"),y:n(e,"y")},{x:n(t,"x"),y:n(t,"y")})}static intersectionRatio(t,r){return e.from(t).intersectionRatio(e.from(r))}},T=class extends(a=c.Wf,s=[c.un],o=[c.un],a){constructor(e){super(L.from(e),(e,t)=>L.equals(e,t)),((e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)1&t?o[i].call(r):n=o[i].call(r,n)})(u,5,this),((e,t,r)=>t.has(e)?b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r))(this,l,0),this.velocity={x:0,y:0}}get delta(){return L.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let r={x:e.x-t.x,y:e.y-t.y};return r.x||r.y?Math.abs(r.x)>Math.abs(r.y)?r.x>0?"right":"left":r.y>0?"down":"up":null}get current(){return super.current}set current(e){let{current:t}=this,r=L.from(e),n={x:r.x-t.x,y:r.y-t.y},i=Date.now(),o=i-_(this,l),s=e=>Math.round(e/o*100);(0,d.vA)(()=>{P(this,l,i),this.velocity={x:s(n.x),y:s(n.y)},super.current=r})}reset(e=this.defaultValue){super.reset(L.from(e)),this.velocity={x:0,y:0}}};function z({x:e,y:t},r){let n=Math.abs(e),i=Math.abs(t);return"number"==typeof r?Math.sqrt(w(n,2)+w(i,2))>r:"x"in r&&"y"in r?n>r.x&&i>r.y:"x"in r?n>r.x:"y"in r&&i>r.y}u=[,,,h(null!=(n=null==a?void 0:a[y("metadata")])?n:null)],l=new WeakMap,I(u,2,"delta",s,T),I(u,2,"direction",o,T),C(u,T);var B=((i=B||{}).Horizontal="x",i.Vertical="y",i),N=Object.values(B)},5174:(e,t,r)=>{"use strict";r.d(t,{A:()=>G});var n,i,o,s,a,l,u,c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function d(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var h=("function"==typeof SuppressedError&&SuppressedError,r(12115)),f="right-scroll-bar-position",p="width-before-scroll-bar";function g(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">
1typeof window?h.useLayoutEffect:h.useEffect,v=new WeakMap,y=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),o=[],s=!1,a={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,s);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){s=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=c({async:!0,ssr:!1},n),a),b=function(){},w=h.forwardRef(function(e,t){var r,n,i,o,s=h.useRef(null),a=h.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=a[0],u=a[1],f=e.forwardProps,p=e.children,w=e.className,k=e.removeScrollBar,A=e.enabled,E=e.shards,S=e.sideCar,O=e.noRelative,C=e.noIsolation,I=e.inert,M=e.allowPinchZoom,j=e.as,_=e.gapMode,P=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=(r=[s,t],n=function(e){return r.forEach(function(t){return g(t,e)})},(i=(0,h.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,m(function(){var e=v.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||g(e,null)}),n.forEach(function(e){t.has(e)||g(e,i)})}v.set(o,r)},[r]),o),L=c(c({},P),l);return h.createElement(h.Fragment,null,A&&h.createElement(S,{sideCar:y,removeScrollBar:k,shards:E,noRelative:O,noIsolation:C,inert:I,setCallbacks:u,allowPinchZoom:!!M,lockRef:s,gapMode:_}),f?h.cloneElement(h.Children.only(p),c(c({},L),{ref:D})):h.createElement(void 0===j?"div":j,c({},L,{className:w,ref:D}),p))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:p,zeroRight:f};var k=function(e){var t=e.sideCar,r=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return h.createElement(n,c({},r))};k.isSideCarExport=!0;var A=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E=function(){var e=A();return function(t,r){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},S=function(){var e=E();return function(t){return e(t.styles,t.dynamic),null}},O={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},I=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[C(r),C(n),C(i)]},M=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return O;var t=I(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},j=S(),_="data-scroll-locked",P=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(a,"px ").concat(n,";\n  }\n  body[").concat(_,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(a,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(a,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(f," {\n    right: ").concat(a,"px ").concat(n,";\n  }\n  \n  .").concat(p," {\n    margin-right: ").concat(a,"px ").concat(n,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(p," .").concat(p," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(_,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n  }\n")},D=function(){var e=parseInt(document.body.getAttribute(_)||"0",10);return isFinite(e)?e:0},L=function(){h.useEffect(function(){return document.body.setAttribute(_,(D()+1).toString()),function(){var e=D()-1;e<=0?document.body.removeAttribute(_):document.body.setAttribute(_,e.toString())}},[])},R=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;L();var o=h.useMemo(function(){return M(i)},[i]);return h.createElement(j,{styles:P(o,!t,i,r?"":"!important")})},T=!1;if("u">typeof window)try{var z=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){T=!1}var B=!!T&&{passive:!1},N=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},Y=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),W(e,n)){var i=F(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},W=function(e,t){return"v"===e?N(t,"overflowY"):N(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},$=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=r.target,u=t.contains(l),c=!1,d=a>0,h=0,f=0;do{if(!l)break;var p=F(e,l),g=p[0],m=p[1]-p[2]-s*g;(g||m)&&W(e,l)&&(h+=m,f+=g);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&a>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-a>f)&&(c=!0),c},H=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},q=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},V=0,K=[];let Z=(l=function(e){var t=h.useRef([]),r=h.useRef([0,0]),n=h.useRef(),i=h.useState(V++)[0],o=h.useState(S)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=H(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var p=Y(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=Y(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var g=n.current||i;return $(g,t,e,"h"===g?l:u,!0)},[]),l=h.useCallback(function(e){if(K.length&&K[K.length-1]===o){var r="deltaY"in e?q(e):H(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}
1if(!n){var i=(s.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=h.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=h.useCallback(function(e){r.current=H(e),n.current=void 0},[]),d=h.useCallback(function(t){u(t.type,q(t),t.target,a(t,e.lockRef.current))},[]),f=h.useCallback(function(t){u(t.type,H(t),t.target,a(t,e.lockRef.current))},[]);h.useEffect(function(){return K.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,B),document.addEventListener("touchmove",l,B),document.addEventListener("touchstart",c,B),function(){K=K.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,B),document.removeEventListener("touchmove",l,B),document.removeEventListener("touchstart",c,B)}},[]);var p=e.removeScrollBar,g=e.inert;return h.createElement(h.Fragment,null,g?h.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?h.createElement(R,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},y.useMedium(l),k);var X=h.forwardRef(function(e,t){return h.createElement(w,c({},e,{ref:t,sideCar:Z}))});X.classNames=w.classNames;let G=X},9005:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},14051:(e,t,r)=>{e.exports=r(34701)()},15898:e=>{for(var t={glog:function(e){if(e<1)throw Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},r=0;r<8;r++)t.EXP_TABLE[r]=1<<r;for(var r=8;r<256;r++)t.EXP_TABLE[r]=t.EXP_TABLE[r-4]^t.EXP_TABLE[r-5]^t.EXP_TABLE[r-6]^t.EXP_TABLE[r-8];for(var r=0;r<255;r++)t.LOG_TABLE[t.EXP_TABLE[r]]=r;e.exports=t},16563:(e,t,r)=>{"use strict";let n;r.d(t,{lH:()=>c,hE:()=>O,$C:()=>j,q4:()=>I,YP:()=>g,ho:()=>v,Ln:()=>b,bo:()=>y,W8:()=>_,Rn:()=>C,CS:()=>M,Ur:()=>f,Ir:()=>m});var i=r(61171),o=r(84429);let s="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),a=new Uint8Array(16),l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s&&!t&&!e)return s();let i=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=i[e];return t}return function(e,t=0){return l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]}(i)};(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var c=(e,t)=>Object.keys(t).reduce((e,r)=>"slot"===t[r].type?(0,i.IA)({[r]:[]},e):e,e),d=e=>!!e&&"function"==typeof e.then,h=e=>e.reduce((e,t)=>(0,i.IA)((0,i.IA)({},e),t),{}),f=({value:e,fields:t,mappers:r,propKey:n="",propPath:o="",id:s="",config:a,recurseSlots:l=!1})=>{var u,h,g;let m=null==(u=t[n])?void 0:u.type,v=r[m];if(v&&"slot"===m){let u=e||[],h=l?u.map(e=>{var t;let n=a.components[e.type];if(!n)throw Error(`Could not find component config for ${e.type}`);let o=null!=(t=n.fields)?t:{};return f({value:(0,i.ko)((0,i.IA)({},e),{props:c(e.props,o)}),fields:o,mappers:r,id:e.props.id,config:a,recurseSlots:l})}):u;return h.some(d)?Promise.all(h):v({value:h,parentId:s,propName:o,field:t[n],propPath:o})}if(v&&t[n])return v({value:e,parentId:s,propName:n,field:t[n],propPath:o});if(e&&"object"==typeof e)if(!Array.isArray(e))return"$$typeof"in e?e:p({value:e,fields:(null==(g=t[n])?void 0:g.type)==="object"?t[n].objectFields:t,mappers:r,id:s,getPropPath:e=>`${o}.${e}`,config:a,recurseSlots:l});else{let i=(null==(h=t[n])?void 0:h.type)==="array"?t[n].arrayFields:null;if(!i)return e;let u=e.map((e,t)=>f({value:e,fields:i,mappers:r,propKey:n,propPath:`${o}[${t}]`,id:s,config:a,recurseSlots:l}));return u.some(d)?Promise.all(u):u}return e},p=({value:e,fields:t,mappers:r,id:n,getPropPath:i,config:o,recurseSlots:s})=>{let a=Object.entries(e).map(([e,a])=>{let l=f({value:a,fields:t,mappers:r,propKey:e,propPath:i(e),id:n,config:o,recurseSlots:s});return d(l)?l.then(t=>({[e]:t})):{[e]:l}},{});return a.some(d)?Promise.all(a).then(h):h(a)};function g(e,t,r,n=!1,o=!0){var s,a,l,u,h;let f="type"in e?e.type:"root",m="root"===f?r.root:null==(s=r.components)?void 0:s[f],v=p({value:o?c(null!=(a=e.props)?a:{},null!=(l=null==m?void 0:m.fields)?l:{}):e.props,fields:null!=(u=null==m?void 0:m.fields)?u:{},mappers:t,id:e.props&&null!=(h=e.props.id)?h:"root",getPropPath:e=>e,config:r,recurseSlots:n});return d(v)?v.then(t=>(0,i.ko)((0,i.IA)({},e),{props:t})):(0,i.ko)((0,i.IA)({},e),{props:v})}function m(e,t,r){var n,o;let s=e=>g(e,{slot:({value:e,parentId:t,propName:n})=>{var i;return null!=(i=r(e,{parentId:t,propName:n}))?i:e}},t,!0);if("props"in e)return s(e);let a=null!=(n=e.zones)?n:{},l=e.content.map(s);return{root:s(e.root),content:null!=(o=r(l,{parentId:"root",propName:"default-zone"}))?o:l,zones:Object.keys(a).reduce((e,t)=>
1(0,i.ko)((0,i.IA)({},e),{[t]:a[t].map(s)}),{})}}(0,i.hY)();var v="root",y="default-zone",b=`${v}:${y}`;(0,i.hY)(),(0,i.hY)();var{flatten:w,unflatten:k}=o,A=e=>null!=e&&"[object Object]"===Object.prototype.toString.call(e),E="__puck_[]",S="__puck_{}",O=e=>{let t=k(function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];n===E?t[r]=[]:n===S?t[r]={}:t[r]=n}return t}(e.props));return(0,i.ko)((0,i.IA)({},e),{props:t})};(0,i.hY)();var C=e=>"type"in e?e:(0,i.ko)((0,i.IA)({},e),{props:(0,i.ko)((0,i.IA)({},e.props),{id:"root"}),type:"root"});(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var I=e=>e?e&&e.indexOf(":")>-1?e.split(":"):[b,e]:[];function M(e,t,r=e=>e,n=e=>e){var o;let s={},a={},l={},u=(e,t,n,i,o)=>{var s;let[l]=t.split(":"),u=(null!=(s=r(n,t,i))?s:n)||[],[d,h]=t.split(":"),f=`${o||l}:${h}`,p=u.map((t,r)=>c(t,[...e,f],r));return a[f]={contentIds:p.map(e=>e.props.id),type:i},[f,p]},c=(r,o,a)=>{let c,d,h=n(r,o,a);if(!h)return r;let f=h.props.id,p=(0,i.ko)((0,i.IA)({},g(h,{slot:({value:e,parentId:t,propPath:r})=>{let[n,i]=u(o,`${t}:${r}`,e,"slot",t);return i}},t).props),{id:f});(function(e,t,r,n=[]){Object.entries(t.zones||{}).forEach(([t,i])=>{let[o]=I(t);o===e.props.id&&r(n,t,i)})})(r,e.data,(e,t,r)=>
1{let[n,i]=u(e,t,r,"dropzone",f);s[n]=i},o);let m=(0,i.ko)((0,i.IA)({},h),{props:p}),v=o[o.length-1],[y,b]=v?v.split(":"):[null,""];l[f]={data:m,flatData:(c=m,d=t,(0,i.ko)((0,i.IA)({},c),{props:function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];Array.isArray(n)&&0===n.length?t[r]=E:A(n)&&0===Object.keys(n).length?t[r]=S:t[r]=n}return t}(w(g(c,{slot:()=>null},d).props))})),path:o,parentId:y,zone:b};let k=(0,i.ko)((0,i.IA)({},m),{props:(0,i.IA)({},m.props)});return"root"===p.id&&(delete k.type,delete k.props.id),k},d=e.data.zones||{},[h,f]=u([],b,e.data.content,"root"),p=Object.keys(s);Object.keys(d||{}).forEach(e=>{let[t]=e.split(":");if(p.includes(e))return;let[r,n]=u([b],e,d[e],"dropzone",t);s[e]=n},s);let m=C({props:(0,i.IA)({},null!=(o=e.data.root.props)?o:e.data.root)});e.data.root.readOnly&&(m.readOnly=e.data.root.readOnly);let v=c(m,[],-1),y=(0,i.IA)((0,i.IA)({},e.data.root),v);return(0,i.ko)((0,i.IA)({},e),{data:{root:y,content:f,zones:(0,i.IA)((0,i.IA)({},e.data.zones),s)},indexes:{nodes:(0,i.IA)((0,i.IA)({},e.indexes.nodes),l),zones:(0,i.IA)((0,i.IA)({},e.indexes.zones),a)}})}(0,i.hY)();var j=e=>e?`${e}-${u()}`:u();(0,i.hY)();var _=(e,t)=>{if(t===b)return e;let r=(0,i.ko)((0,i.IA)({},e),{zones:e.zones?(0,i.IA)({},e.zones):{}});return r.zones[t]=r.zones[t]||[],r}},16731:(e,t,r)=>{"use strict";function n(e){var t;if(null!=e)return null!=e&&"object"==typeof e&&"current"in e?null!=(t=e.current)?t:void 0:e}r.d(t,{b:()=>n})},17347:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(12115);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},19040:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(12115),i=r(47650),o=r(55897),s=r(66294),a=r(95155),l=n.forwardRef((e,t)=>{let{container:r,...l}=e,[u,c]=n.useState(!1);(0,s.N)(()=>c(!0),[]);let d=r||u&&globalThis?.document?.body;return d?i.createPortal((0,a.jsx)(o.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},21396:(e,t,r)=>{"use strict";r.d(t,{$v:()=>ek,A$:()=>eA,AI:()=>eL,Dh:()=>ey,EE:()=>eD,Fk:()=>ew,Fm:()=>function e(t,{x:r,y:n}){var i;let o=t.elementFromPoint(r,n);if((null==(i=o)?void 0:i.tagName)==="IFRAME"){let{contentDocument:t}=o;if(t){let{left:i,top:s}=o.getBoundingClientRect();return e(t,{x:r-i,y:n-s})}}return o},Ij:()=>eT,Ob:()=>W,Ot:()=>et,P_:()=>ej,UX:()=>ee,We:()=>eE,XZ:()=>M,YE:()=>B,_m:()=>U,a_:()=>eo,ck:()=>ea,dO:()=>er,g:()=>em,hZ:()=>H,k$:()=>N,kx:()=>eP,nr:()=>Y,o8:()=>eM,qR:()=>q,qt:()=>ed,sb:()=>T,sl:()=>ep,vq:()=>e_,y4:()=>eg,yS:()=>eI,zk:()=>L});var n,i,o,s,a,l,u,c,d,h,f,p,g,m,v,y,b,w=r(1418),k=e=>{throw TypeError(e)},A=(e,t,r)=>t.has(e)||k("Cannot "+r),E=(e,t,r)=>(A(e,t,"read from private field"),t.get(e)),S=(e,t,r)=>t.has(e)?k("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),O=(e,t,r,n)=>(A(e,t,"write to private field"),t.set(e,r),r),C=(e,t,r)=>(A(e,t,"access private method"),r);function I(e){return!!e&&(e instanceof KeyframeEffect||"getKeyframes"in e&&"function"==typeof e.getKeyframes)}function M(e,t){let r=e.getAnimations();if(r.length>0)for(let e of r){if("running"!==e.playState)continue;let{effect:r}=e,n=(I(r)?r.getKeyframes():[]).filter(t);if(n.length>0)return[n[n.length-1],e]}return null}function j(e){let{width:t,height:r,top:n,left:i,bottom:o,right:s}=e.getBoundingClientRect();return{width:t,height:r,top:n,left:i,bottom:o,right:s}}var _="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function P(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function D(e){return"nodeType"in e}function L(e){var t,r,n;return e?P(e)?e:D(e)?"defaultView"in e?null!=(t=e.defaultView)?t:window:null!=(n=null==(r=e.ownerDocument)?void 0:r.defaultView)?n:window:window:window}function R(e){let{Document:t}=L(e);return e instanceof t||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function T(e){return!(!e||P(e))&&(e instanceof L(e).HTMLElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("html"))}function z(e){return e instanceof L(e).SVGElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("svg")}function B(e){return e?P(e)?e.document:D(e)?R(e)?e:T(e)||z(e)?e.ownerDocument:document:document:document}function N(e,t=e.getBoundingClientRect(),r=0){var n;let i=t,{ownerDocument:o}=e,s=null!=(n=o.defaultView)?n:window,a=e.parentElement;for(;a&&a!==o.documentElement;){if(!function(e){if("DETAILS"===e.tagName&&!1===e.open)return!1;let{overflow:t,overflowX:r,overflowY:n}=getComputedStyle(e);return"visible"===t&&"visible"===r&&"visible"===n}(a)){let e=a.getBoundingClientRect(),t=r*(e.bottom-e.top),n=r*(e.right-e.left),o=r*(e.bottom-e.top),s=r*(e.right-e.left);(i={top:Math.max(i.top,e.top-t),right:Math.min(i.right,e.right+n),bottom:Math.min(i.bottom,e.bottom+o),left
1:Math.max(i.left,e.left-s),width:0,height:0}).width=i.right-i.left,i.height=i.bottom-i.top}a=a.parentElement}let l=s.innerWidth,u=s.innerHeight,c=r*u,d=r*l;return(i={top:Math.max(i.top,0-c),right:Math.min(i.right,l+d),bottom:Math.min(i.bottom,u+c),left:Math.max(i.left,0-d),width:0,height:0}).width=i.right-i.left,i.height=i.bottom-i.top,i.width<0&&(i.width=0),i.height<0&&(i.height=0),i}function Y(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function W(e){let t="input, textarea, select, canvas, [contenteditable]",r=e.cloneNode(!0),n=Array.from(e.querySelectorAll(t));return Array.from(r.querySelectorAll(t)).forEach((e,t)=>{let r=n[t];if(F(e)&&F(r)&&("file"!==e.type&&(e.value=r.value),"radio"===e.type&&e.name&&(e.name=`Cloned__${e.name}`)),$(e)&&$(r)&&r.width>0&&r.height>0){let t=e.getContext("2d");null==t||t.drawImage(r,0,0)}}),r}function F(e){return"value"in e}function $(e){return"CANVAS"===e.tagName}var H=new WeakMap,q=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[t,{type:r,listener:n,options:i}]=e;t.removeEventListener(r,n,i)}this.entries.clear()}}bind(e,t){let r=Array.isArray(t)?t:[t],n=[];for(let t of r){let{type:r,listener:i,options:o}=t,s=[e,t];e.addEventListener(r,i,o),this.entries.add(s),n.push(s)}return function(){for(let[e,{type:t,listener:r,options:i}]of n)e.removeEventListener(t,r,i)}}};function U(e){let t=null==e?void 0:e.ownerDocument.defaultView;if(t&&t.self!==t.parent)return t.frameElement}function V(e,t){let r,n;return function(...i){let o=this;if(n){let s;null==r||r(),s=setTimeout(()=>{e.apply(o,i),n=performance.now()},t-(performance.now()-n)),r=()=>clearTimeout(s)}else e.apply(o,i),n=performance.now()}}var K=_?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},Z=class extends K{constructor(e){super(t=>{E(this,i)?e(t,this):O(this,i,!0)}),S(this,i,!1)}};i=new WeakMap;var X=Array.from({length:100},(e,t)=>t/100),G=class{constructor(e,t,r={debug:!1,skipInitial:!1}){this.element=e,this.callback=t,S(this,f),this.disconnect=()=>{var e,t,r;O(this,d,!0),null==(e=E(this,a))||e.disconnect(),null==(t=E(this,l))||t.disconnect(),E(this,u).disconnect(),null==(r=E(this,c))||r.remove()},S(this,o,!0),S(this,s),S(this,a),S(this,l),S(this,u),S(this,c),S(this,d,!1),S(this,h,V(()=>{var e,t,r;let{element:n}=this;if(null==(e=E(this,l))||e.disconnect(),E(this,d)||!E(this,o)||!n.isConnected)return;let i=null!=(t=n.ownerDocument)?t:document,{innerHeight:s,innerWidth:a}=null!=(r=i.defaultView)?r:window,u=n.getBoundingClientRect(),{top:c,left:g,bottom:m,right:v}=N(n,u),y=-Math.floor(c),b=-Math.floor(g),k=-Math.floor(a-v),A=-Math.floor(s-m),S=`${y}px ${k}px ${A}px ${b}px`;this.boundingClientRect=u,O(this,l,new IntersectionObserver(e=>{let[t]=e,{intersectionRect:r}=t;1!==(1!==t.intersectionRatio?t.intersectionRatio:w.M_.intersectionRatio(r,N(n)))&&E(this,h).call(this)},{threshold:X,rootMargin:S,root:i})),E(this,l).observe(n),C(this,f,p).call(this)},75)),this.boundingClientRect=e.getBoundingClientRect(),O(this,o,function(e,t=e.getBoundingClientRect()){let{width:r,height:n}=N(e,t);return r>0&&n>0}(e,this.boundingClientRect));let n=!0;this.callback=e=>{n&&(n=!1,r.skipInitial)||t(e)};const i=e.ownerDocument;(null==r?void 0:r.debug)&&(O(this,c,document.createElement("div")),E(this,c).style.background="rgba(0,0,0,0.15)",E(this,c).style.position="fixed",E(this,c).style.pointerEvents="none",i.body.appendChild(E(this,c))),O(this,u,new IntersectionObserver(t=>{var r,n;let{boundingClientRect:i,isIntersecting:s}=t[t.length-1],{width:u,height:d}=i,f=E(this,o);O(this,o,s),(u||d)&&(f&&!s?(null==(r=E(this,l))||r.disconnect(),this.callback(null),null==(n=E(this,a))||n.disconnect(),O(this,a,void 0),E(this,c)&&(E(this,c).style.visibility="hidden")):E(this,h).call(this),s&&!E(this,a)&&(O(this,a,new Z(E(this,h))),E(this,a).observe(e)))},{threshold:X,root:i})),E(this,o)&&!r.skipInitial&&this.callback(this.boundingClientRect),E(this,u).observe(e)}};o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,f=new WeakSet,p=function(){var e,t;!E(this,d)&&(C(this,f,g).call(this),(e=this.boundingClientRect)===(t=E(this,s))||e&&t&&e.top==t.to
1p&&e.left==t.left&&e.right==t.right&&e.bottom==t.bottom||(this.callback(this.boundingClientRect),O(this,s,this.boundingClientRect)))},g=function(){if(E(this,c)){let{top:e,left:t,width:r,height:n}=N(this.element);E(this,c).style.overflow="hidden",E(this,c).style.visibility="visible",E(this,c).style.top=`${Math.floor(e)}px`,E(this,c).style.left=`${Math.floor(t)}px`,E(this,c).style.width=`${Math.floor(r)}px`,E(this,c).style.height=`${Math.floor(n)}px`}};var Q=new WeakMap,J=new WeakMap,ee=class{constructor(e,t,r){this.callback=t,S(this,m),S(this,v,!1),S(this,y),S(this,b,V(e=>{if(!E(this,v)&&e.target&&"contains"in e.target&&"function"==typeof e.target.contains){for(let t of E(this,y))if(e.target.contains(t)){this.callback(E(this,m).boundingClientRect);break}}},75));const n=function(e){let t=new Set,r=U(e);for(;r;)t.add(r),r=U(r);return t}(e),i=function(e,t){let r=new Set;for(let n of e){let e=function(e,t){let r=Q.get(e);return r||(r={disconnect:new G(e,t=>{let r=Q.get(e);r&&r.callbacks.forEach(e=>e(t))},{skipInitial:!0}).disconnect,callbacks:new Set}),r.callbacks.add(t),Q.set(e,r),()=>{r.callbacks.delete(t),0===r.callbacks.size&&(Q.delete(e),r.disconnect())}}(n,t);r.add(e)}return()=>r.forEach(e=>e())}(n,t),o=function(e,t){var r;let n=e.ownerDocument;if(!J.has(n)){let e=new AbortController,t=new Set;document.addEventListener("scroll",e=>t.forEach(t=>t(e)),{capture:!0,passive:!0,signal:e.signal}),J.set(n,{disconnect:()=>e.abort(),listeners:t})}let{listeners:i,disconnect:o}=null!=(r=J.get(n))?r:{};return i&&o?(i.add(t),()=>{i.delete(t),0===i.size&&(o(),J.delete(n))}):()=>{}}(e,E(this,b));O(this,y,n),O(this,m,new G(e,t,r)),this.disconnect=()=>{E(this,v)||(O(this,v,!0),i(),o(),E(this,m).disconnect())}}};function et(e){return"showPopover"in e&&"hidePopover"in e&&"function"==typeof e.showPopover&&"function"==typeof e.hidePopover}function er(e){try{et(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open")&&e.showPopover()}catch(e){}}function en(e){return!!_&&!!e&&e===B(e).scrollingElement}function ei(e){let t=L(e),r=en(e)?function(e){let{documentElement:t}=B(e),r=t.clientWidth,n=t.clientHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}(e):j(e),n=en(e)?{height:t.innerHeight,width:t.innerWidth}:{height:e.clientHeight,width:e.clientWidth},i={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-n.width,y:e.scrollHeight-n.height}},o=i.current.y<=0,s=i.current.x<=0,a=i.current.y>=i.max.y,l=i.current.x>=i.max.x;return{rect:r,position:i,isTop:o,isLeft:s,isBottom:a,isRight:l}}function eo(e,t){let{isTop:r,isBottom:n,isLeft:i,isRight:o,position:s}=ei(e),{x:a,y:l}=null!=t?t:{x:0,y:0},u=!r&&s.current.y+l>0,c=!n&&s.current.y+l<s.max.y,d=!i&&s.current.x+a>0,h=!o&&s.current.x+a<s.max.x;return{top:u,bottom:c,left:d,right:h,x:d||h,y:u||c}}m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap;var es=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}},ea=new es(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),el=new es(e=>setTimeout(e,50)),eu=new Map,ec=eu.clear.bind(eu);function ed(e,t=!1){if(!t)return eh(e);let r=eu.get(e);return r||(r=eh(e),eu.set(e,r),el.schedule(ec)),r}function eh(e){return L(e).getComputedStyle(e)}var ef={excludeElement:!0};function ep(e,t=ef){let{limit:r,excludeElement:n}=t,i=new Set;return e?function t(o){if(null!=r&&i.size>=r||!o)return i;if(R(o)&&null!=o.scrollingElement&&!i.has(o.scrollingElement))return i.add(o.scrollingElement),i;if(!T(o))return z(o)?t(o.parentElement):i;if(i.has(o))return i;let s=ed(o,!0);if(n&&o===e||function(e,t=ed(e,!0)){let r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let n=t[e];return"string"==typeof n&&r.test(n)})}(o,s)&&i.add(o),function(e,t=ed(e,!0)){return"fixed"===t.position||"sticky"===t.position}(o,s)){let{scrollingElement:e}=o.ownerDocument;return e&&i.add(e),i}return t(o.parentNode)}(e):i}function eg(e,t=window.frameElement){let r={x:0,y:0,scaleX:1,scaleY:1};if(!e)return r;let n=U(e);for(;n&&n!==t;){let e=j(n),{x:t,y:i}=function(e,t=j(e)){let r=Math.round(t.width),n=Math.round(t.height);if(T(e))return{x:r/e.offsetWidth,y:n/e.offsetHeight};let i=ed(e,!0);return{x:(parseFloat(i.width)||r)/r,y:(parseFloat(i.height)||n)/n}
1}(n,e);r.x=r.x+e.left,r.y=r.y+e.top,r.scaleX=r.scaleX*t,r.scaleY=r.scaleY*i,n=U(n)}return r}function em(e){if("none"===e)return null;let[t,r,n="0"]=e.split(" "),i={x:parseFloat(t),y:parseFloat(r),z:parseInt(n,10)};return isNaN(i.x)&&isNaN(i.y)?null:{x:isNaN(i.x)?0:i.x,y:isNaN(i.y)?0:i.y,z:isNaN(i.z)?0:i.z}}function ev(e){var t,r,n,i,o,s,a,l,u;let{scale:c,transform:d,translate:h}=e,f=function(e){if("none"===e)return null;let t=e.split(" "),r=parseFloat(t[0]),n=parseFloat(t[1]);return isNaN(r)&&isNaN(n)?null:{x:isNaN(r)?n:r,y:isNaN(n)?r:n}}(c),p=em(h),g=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(d);if(!g&&!f&&!p)return null;let m={x:null!=(t=null==f?void 0:f.x)?t:1,y:null!=(r=null==f?void 0:f.y)?r:1},v={x:null!=(n=null==p?void 0:p.x)?n:0,y:null!=(i=null==p?void 0:p.y)?i:0},y={x:null!=(o=null==g?void 0:g.x)?o:0,y:null!=(s=null==g?void 0:g.y)?s:0,scaleX:null!=(a=null==g?void 0:g.scaleX)?a:1,scaleY:null!=(l=null==g?void 0:g.scaleY)?l:1};return{x:v.x+y.x,y:v.y+y.y,z:null!=(u=null==p?void 0:p.z)?u:0,scaleX:m.x*y.scaleX,scaleY:m.y*y.scaleY}}var ey=((n=ey||{})[n.Idle=0]="Idle",n[n.Forward=1]="Forward",n[n.Reverse=-1]="Reverse",n),eb={x:.2,y:.2},ex={x:10,y:10};function ew(e,t,r,n=25,i=eb,o=ex){let{x:s,y:a}=t,{rect:l,isTop:u,isBottom:c,isLeft:d,isRight:h}=ei(e),f=eg(e),p=ev(ed(e,!0)),g=null!==p&&(null==p?void 0:p.scaleX)<0,m=null!==p&&(null==p?void 0:p.scaleY)<0,v=new w.M_(l.left*f.scaleX+f.x,l.top*f.scaleY+f.y,l.width*f.scaleX,l.height*f.scaleY),y={x:0,y:0},b={x:0,y:0},k={height:v.height*i.y,width:v.width*i.x};return(!u||m&&!c)&&a<=v.top+k.height&&(null==r?void 0:r.y)!==1&&s>=v.left-o.x&&s<=v.right+o.x?(y.y=m?1:-1,b.y=n*Math.abs((v.top+k.height-a)/k.height)):(!c||m&&!u)&&a>=v.bottom-k.height&&(null==r?void 0:r.y)!==-1&&s>=v.left-o.x&&s<=v.right+o.x&&(y.y=m?-1:1,b.y=n*Math.abs((v.bottom-k.height-a)/k.height)),(!h||g&&!d)&&s>=v.right-k.width&&(null==r?void 0:r.x)!==-1&&a>=v.top-o.y&&a<=v.bottom+o.y?(y.x=g?-1:1,b.x=n*Math.abs((v.right-k.width-s)/k.width)):(!d||g&&!h)&&s<=v.left+k.width&&(null==r?void 0:r.x)!==1&&a>=v.top-o.y&&a<=v.bottom+o.y&&(y.x=g?1:-1,b.x=n*Math.abs((v.left+k.width-s)/k.width)),{direction:y,speed:b}}function ek(e,t=!1){if("scrollIntoViewIfNeeded"in e&&"function"==typeof e.scrollIntoViewIfNeeded)return void e.scrollIntoViewIfNeeded(t);if(!T(e))return e.scrollIntoView();var r=function(e){let[t]=ep(e,{limit:1});return null!=t?t:null}(e);if(!T(r))return;let n=ed(r,!0),i=parseInt(n.getPropertyValue("border-top-width")),o=parseInt(n.getPropertyValue("border-left-width")),s=e.offsetTop-r.offsetTop<r.scrollTop,a=e.offsetTop-r.offsetTop+e.clientHeight-i>r.scrollTop+r.clientHeight,l=e.offsetLeft-r.offsetLeft<r.scrollLeft,u=e.offsetLeft-r.offsetLeft+e.clientWidth-o>r.scrollLeft+r.clientWidth;(s||a)&&t&&(r.scrollTop=e.offsetTop-r.offsetTop-r.clientHeight/2-i+e.clientHeight/2),(l||u)&&t&&(r.scrollLeft=e.offsetLeft-r.offsetLeft-r.clientWidth/2-o+e.clientWidth/2),(s||a||l||u)&&!t&&e.scrollIntoView(s&&!a)}function eA({element:e,keyframes:t,options:r}){return e.animate(t,r).finished}function eE(e,t=ed(e).translate,r=!0){if(r){let t=M(e,e=>"translate"in e);if(t){let{translate:e=""}=t[0];if("string"==typeof e){let t=em(e);if(t)return t}}}if(t){let e=em(t);if(e)return e}return{x:0,y:0,z:0}}var eS=new es(e=>setTimeout(e,0)),eO=new Map,eC=eO.clear.bind(eO),eI=class extends w.M_{constructor(e,t={}){var r,n,i,o;let s;const{frameTransform:a=eg(e),ignoreTransforms:l,getBoundingClientRect:u=j}=t,c=function(e,t){let r=(function(e){let t=e.ownerDocument,r=eO.get(t);if(r)return r;r=t.getAnimations(),eO.set(t,r),eS.schedule(eC);let n=r.filter(t=>I(t.effect)&&t.effect.target===e);return eO.set(e,n),r})(e).filter(e=>{var r,n;if(I(e.effect)){let{target:i}=e.effect;if(null==(n=i&&(null==(r=t.isValidTarget)?void 0:r.call(t,i)))||n)return e.effect.getKeyframes().some(e=>{for(let r of t.properties)if(e[r])return!0})}}).map(e=>{let{effect:t,currentTime:r}=e,n=null==t?void 0:t.getComputedTiming().duration;if(!e.pending&&"finished"!==e.playState&&"number"==typeof n&&"number"==typeof r&&r<n)return e.currentTime=n,()=>{e.currentTime=r}});if(r.length>0)return()=>
1r.forEach(e=>null==e?void 0:e())}(e,{properties:["transform","translate","scale","width","height"],isValidTarget:t=>(t!==e||Y())&&t.contains(e)}),d=u(e);let{top:h,left:f,width:p,height:g}=d;const m=ed(e),v=ev(m),y={x:null!=(r=null==v?void 0:v.scaleX)?r:1,y:null!=(n=null==v?void 0:v.scaleY)?n:1},b=function(e,t){var r;let n=e.getAnimations(),i=null;if(!n.length)return null;for(let e of n){if("running"!==e.playState)continue;let n=I(e.effect)?e.effect.getKeyframes():[],o=n[n.length-1];if(!o)continue;let{transform:s,translate:a,scale:l}=o;if(s||a||l){let e=ev({transform:"string"==typeof s&&s?s:t.transform,translate:"string"==typeof a&&a?a:t.translate,scale:"string"==typeof l&&l?l:t.scale});e&&(i=i?{x:i.x+e.x,y:i.y+e.y,z:null!=(r=i.z)?r:e.z,scaleX:i.scaleX*e.scaleX,scaleY:i.scaleY*e.scaleY}:e)}}return i}(e,m);null==c||c(),v&&(s=function(e,t,r){let{scaleX:n,scaleY:i,x:o,y:s}=t,a=e.left-o-(1-n)*parseFloat(r),l=e.top-s-(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=n?e.width/n:e.width,c=i?e.height/i:e.height;return{width:u,height:c,top:l,right:a+u,bottom:l+c,left:a}}(d,v,m.transformOrigin),(l||b)&&(h=s.top,f=s.left,p=s.width,g=s.height));const w={width:null!=(i=null==s?void 0:s.width)?i:p,height:null!=(o=null==s?void 0:s.height)?o:g};if(b&&!l&&s){const e=function(e,t,r){let{scaleX:n,scaleY:i,x:o,y:s}=t,a=e.left+o+(1-n)*parseFloat(r),l=e.top+s+(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=n?e.width*n:e.width,c=i?e.height*i:e.height;return{width:u,height:c,top:l,right:a+u,bottom:l+c,left:a}}(s,b,m.transformOrigin);h=e.top,f=e.left,p=e.width,g=e.height,y.x=b.scaleX,y.y=b.scaleY}a&&(l||(f*=a.scaleX,p*=a.scaleX,h*=a.scaleY,g*=a.scaleY),f+=a.x,h+=a.y),super(f,h,p,g),this.scale=y,this.intrinsicWidth=w.width,this.intrinsicHeight=w.height}};function eM(e){return"style"in e&&"object"==typeof e.style&&null!==e.style&&"setProperty"in e.style&&"removeProperty"in e.style&&"function"==typeof e.style.setProperty&&"function"==typeof e.style.removeProperty}var ej=class{constructor(e){this.element=e,this.initial=new Map}set(e,t=""){let{element:r}=this;if(eM(r))for(let[n,i]of Object.entries(e)){let e=`${t}${n}`;this.initial.has(e)||this.initial.set(e,r.style.getPropertyValue(e)),r.style.setProperty(e,"string"==typeof i?i:`${i}px`)}}remove(e,t=""){let{element:r}=this;if(eM(r))for(let n of e){let e=`${t}${n}`;r.style.removeProperty(e)}}reset(){let{element:e}=this;if(eM(e)){for(let[t,r]of this.initial)e.style.setProperty(t,r);""===e.getAttribute("style")&&e.removeAttribute("style")}}};function e_(e){return!!e&&(e instanceof L(e).Element||D(e)&&e.nodeType===Node.ELEMENT_NODE)}function eP(e){if(!e)return!1;let{KeyboardEvent:t}=L(e.target);return e instanceof t}function eD(e){if(!e)return!1;let{PointerEvent:t}=L(e.target);return e instanceof t}function eL(e){var t;if(!e_(e))return!1;let{tagName:r}=e;return"INPUT"===r||"TEXTAREA"===r||(t=e).hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable")}var eR={};function eT(e){let t=null==eR[e]?0:eR[e]+1;return eR[e]=t,`${e}-${t}`}},21708:(e,t,r)=>{"use strict";r.d(t,{AN:()=>e8,FS:()=>tt,HO:()=>eK,gL:()=>ti,sx:()=>tn,ti:()=>tr,ys:()=>eG});var n,i,o,s,a,l,u,c,d,h,f,p,g,m,v,y,b,w,k,A,E,S,O,C,I,M,j,_,P,D,L,R,T,z,B,N,Y,W,F,$,H,q,U=r(38700),V=r(21396),K=r(24129),Z=r(26791),X=r(1418),G=r(59595),Q=Object.create,J=Object.defineProperty,ee=Object.defineProperties,et=Object.getOwnPropertyDescriptor,er=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,es=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ea=e=>{throw TypeError(e)},el=(e,t,r)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eu=(e,t)=>
1{for(var r in t||(t={}))ei.call(t,r)&&el(e,r,t[r]);if(en)for(var r of en(t))eo.call(t,r)&&el(e,r,t[r]);return e},ec=(e,t)=>J(e,"name",{value:t,configurable:!0}),ed=(e,t)=>{var r={};for(var n in e)ei.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&en)for(var n of en(e))0>t.indexOf(n)&&eo.call(e,n)&&(r[n]=e[n]);return r},eh=e=>{var t;return[,,,Q(null!=(t=null==e?void 0:e[es("metadata")])?t:null)]},ef=["class","method","getter","setter","accessor","field","value","get","set"],ep=e=>void 0!==e&&"function"!=typeof e?ea("Function expected"):e,eg=(e,t,r,n,i)=>({kind:ef[e],name:t,metadata:n,addInitializer:e=>r._?ea("Already initialized"):i.push(ep(e||null))}),em=(e,t)=>el(t,es("metadata"),e[3]),ev=(e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)1&t?o[i].call(r):n=o[i].call(r,n);return n},ey=(e,t,r,n,i,o)=>{var s,a,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,g=ef[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&et(d<4?i:{get[r](){return ew(this,o)},set[r](x){return eA(this,o,x)}},r));d?f&&d<4&&ec(o,(d>2?"set ":d>1?"get ":"")+r):ec(i,r);for(var b=n.length-1;b>=0;b--)u=eg(d,r,l={},e[3],v),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>ex(i,e):e=>r in e},3^d&&(c.get=f?e=>(1^d?ew:eE)(e,i,4^d?o:y.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>eA(e,i,t,4^d?o:y.set):(e,t)=>e[r]=t)),a=(0,n[b])(d?d<4?f?o:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),l._=1,4^d||void 0===a?ep(a)&&(d>4?m.unshift(a):d?f?o=a:y[g]=a:i=a):"object"!=typeof a||null===a?ea("Object expected"):(ep(s=a.get)&&(y.get=s),ep(s=a.set)&&(y.set=s),ep(s=a.init)&&m.unshift(s));return d||em(e,i),y&&J(i,r,y),f?4^d?o:y:i},eb=(e,t,r)=>t.has(e)||ea("Cannot "+r),ex=(e,t)=>Object(t)!==t?ea('Cannot use the "in" operator on this value'):e.has(t),ew=(e,t,r)=>(eb(e,t,"read from private field"),r?r.call(e):t.get(e)),ek=(e,t,r)=>t.has(e)?ea("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),eA=(e,t,r,n)=>(eb(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),eE=(e,t,r)=>(eb(e,t,"access private method"),r),eS={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},eO={dragstart({operation:{source:e}}){if(e)return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:t}}){if(e&&e.id!==(null==t?void 0:t.id))return t?`Draggable item ${e.id} was moved over droppable target ${t.id}.`:`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:t},canceled:r}){if(e)return r?`Dragging was cancelled. Draggable item ${e.id} was dropped.`:t?`Draggable item ${e.id} was dropped over droppable target ${t.id}`:`Draggable item ${e.id} was dropped.`}},eC=["dragover","dragmove"],eI=class extends U.k_{constructor(e,t){let r,n,i,o;super(e);const{id:s,idPrefix:{description:a="dnd-kit-description",announcement:l="dnd-kit-announcement"}={},announcements:u=eO,screenReaderInstructions:c=eS,debounce:d=500}=null!=t?t:{},h=s?`${a}-${s}`:(0,V.Ij)(a),f=s?`${l}-${s}`:(0,V.Ij)(l),p=(e=o)=>{i&&e&&(null==i?void 0:i.nodeValue)!==e&&(i.nodeValue=e)},g=()=>V.ck.schedule(p),m=function(e,t){let r,n=()=>{clearTimeout(r),r=setTimeout(e,t)};return n.cancel=()=>clearTimeout(r),n}(g,d),v=Object.entries(u).map(([e,t])=>this.manager.monitor.addEventListener(e,(r,n)=>{let s=i;if(!s)return;let a=null==t?void 0:t(r,n);a&&s.nodeValue!==a&&(o=a,eC.includes(e)?m():(g(),m.cancel()))})),y=()=>{var e;let t=[];if(!(null==r?void 0:r.isConnected)){let n;e=c.draggable,(n=document.createElement("div")).id=h,n.style.setProperty("display","none"),n.textContent=e,r=n,t.push(r)}if(!(null==n?void 0:n.isConnected)){let e;(e=document.createElement("div")).id=f,e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.setProperty("position","fixed"),e.style.setProperty("width","1px"),e.style.setProperty("height","1px"),e.style.setProperty("margin","-1px"),e.style.setProperty("border","0"),e.style.setProperty("padding","0"),e.style.setProperty("overflow","hidden"),e.style.setProperty("clip","rect(0 0 0 0)"),e.style.setProperty("clip-path","inset(100%)"),e.style.setProperty("white-space","nowrap"),n=e,i=document.createTextNode(""),n.appendChild(i),t.push(n)}t.length>0&&document.body.append(...t)},b=new Set;function w(){for(let e of b)e()}this.registerEffect(()=>{var e;
1for(let t of(b.clear(),this.manager.registry.draggables.value)){let i=null!=(e=t.handle)?e:t.element;if(i){for(let e of(r&&n||b.add(y),(!["input","select","textarea","a","button"].includes(i.tagName.toLowerCase())||(0,V.nr)())&&!i.hasAttribute("tabindex")&&b.add(()=>i.setAttribute("tabindex","0")),i.hasAttribute("role")||"button"===i.tagName.toLowerCase()||b.add(()=>i.setAttribute("role","button")),i.hasAttribute("aria-roledescription")||b.add(()=>i.setAttribute("aria-roledescription","draggable")),i.hasAttribute("aria-describedby")||b.add(()=>i.setAttribute("aria-describedby",h)),["aria-pressed","aria-grabbed"])){let r=String(t.isDragging);i.getAttribute(e)!==r&&b.add(()=>i.setAttribute(e,r))}let e=String(t.disabled);i.getAttribute("aria-disabled")!==e&&b.add(()=>i.setAttribute("aria-disabled",e))}}b.size>0&&V.ck.schedule(w)}),this.destroy=()=>{super.destroy(),null==r||r.remove(),null==n||n.remove(),v.forEach(e=>e())}}},eM=class extends U.k_{constructor(e,t){super(e,t),this.manager=e;const r=(0,K.EW)(()=>{var e;return(0,V.YE)(null==(e=this.manager.dragOperation.source)?void 0:e.element)});this.destroy=(0,Z.QZ)(()=>{var e;let{dragOperation:t}=this.manager,{cursor:n="grabbing",nonce:i}=null!=(e=this.options)?e:{};if(t.status.initialized){let e=r.value,t=e.createElement("style");return i&&t.setAttribute("nonce",i),t.textContent=`* { cursor: ${n} !important; }`,e.head.appendChild(t),()=>t.remove()}})}},ej="data-dnd-",e_=`${ej}dropping`,eP="--dnd-",eD=`${ej}dragging`,eL=`${ej}placeholder`,eR=[eD,eL,"popover","aria-pressed","aria-grabbing"],eT=["view-transition-name"],ez=`
2  :root [${eD}] {
3    position: fixed !important;
4    pointer-events: none !important;
5    touch-action: none;
6    z-index: calc(infinity);
7    will-change: translate;
8    top: var(${eP}top, 0px) !important;
9    left: var(${eP}left, 0px) !important;
10    right: unset !important;
11    bottom: unset !important;
12    width: var(${eP}width, auto);
13    max-width: var(${eP}width, auto);
14    height: var(${eP}height, auto);
15    max-height: var(${eP}height, auto);
16    transition: var(${eP}transition) !important;
17  }
18
19  :root [${eL}] {
20    transition: none;
21  }
22
23  :root [${eL}='hidden'] {
24    visibility: hidden;
25  }
26
27  [${eD}] * {
28    pointer-events: none !important;
29  }
30
31  [${eD}]:not([${e_}]) {
32    translate: var(${eP}translate) !important;
33  }
34
35  [${eD}][style*='${eP}scale'] {
36    scale: var(${eP}scale) !important;
37    transform-origin: var(${eP}transform-origin) !important;
38  }
39
40  @layer {
41    :where([${eD}][popover]) {
42      overflow: visible;
43      background: unset;
44      border: unset;
45      margin: unset;
46      padding: unset;
47      color: inherit;
48
49      &:is(input, button) {
50        border: revert;
51        background: revert;
52      }
53    }
54  }
55  [${eD}]::backdrop, [${ej}overlay]:not([${eD}]) {
56    display: none;
57    visibility: hidden;
58  }
59`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function eB(e,t){return e===t||(0,V._m)(e)===(0,V._m)(t)}function eN(e){let{target:t}=e;"newState"in e&&"closed"===e.newState&&(0,V.vq)(t)&&t.hasAttribute("popover")&&requestAnimationFrame(()=>(0,V.dO)(t))}function eY(e){return"TR"===e.tagName}var eW=new Map,eF=class extends(i=U.k_,n=[K.Kh],i){constructor(e,t){super(e,t),ek(this,a),ek(this,s,ev(o,8,this)),ev(o,11,this),this.state={initial:{},current:{}},this.registerEffect(eE(this,a,u)),this.registerEffect(eE(this,a,l))}destroy(){for(let[e,t]of(super.destroy(),eW.entries()))t.instances.has(this)&&(t.instances.delete(this),0===t.instances.size&&(t.cleanup(),eW.delete(e)))}};o=eh(i),s=new WeakMap,a=new WeakSet,l=function(){var e,t,r;let n,i,{state:o,manager:s,options:a}=this,{dragOperation:l}=s,{position:u,source:c,status:d}=l;if(d.idle){o.current={},o.initial={};return}if(!c)return;let{element:h,feedback:f}=c;if(!h||"none"===f||!d.initialized||d.initializing)return;let{initial:p}=o,g=null!=(e=this.overlay)?e:h,m=(0,V.y4)(g),v=(0,V.y4)(h),y=!eB(h,g),b=new V.yS(h,{frameTransform:y?v:null,ignoreTransforms:!y}),w={x:v.scaleX/m.scaleX,y:v.scaleY/m.scaleY},{width:k,height:A,top:E,left:S}=b;y&&(k/=w.x,A/=w.y);let O=new V.P_(g),{transition:C,translate:I,boxSizing:M,paddingBlockStart:j,paddingBlockEnd:_,paddingInlineStart:P,paddingInlineEnd:D,borderInlineStartWidth:L,borderInlineEndWidth:R,borderBlockStartWidth:T,borderBlockEndWidth:z}=(0,V.qt)(h),B="clone"===f,N="content-box"===M,Y=N?parseInt(P)+parseInt(D)+parseInt(L)+parseInt(R):0,W=N?parseInt(j)+parseInt(_)+parseInt(T)+parseInt(z):0,F="move"===f||this.overlay?null:function(e,t="hidden"){return(0,Z.O8)(()=>{let{element:r,manager:n}=e;if(!r||!n)return;let i=function(e,t){let r=new Map;for(let n of t)if(n.element&&(e===n.element||e.contains(n.element))){let e=`${ej}
59${(0,V.Ij)("dom-id")}`;n.element.setAttribute(e,""),r.set(n,e)}return r}(r,n.registry.droppables),o=[],s=(0,V.Ob)(r),{remove:a}=s;return function(e,t,r){for(let[n,i]of e){if(!n.element)continue;let e=`[${i}]`,o=t.matches(e)?t:t.querySelector(e);if(n.element.removeAttribute(i),!o)continue;let s=n.element;n.proxy=o,o.removeAttribute(i),V.hZ.set(s,o),r.push(()=>{V.hZ.delete(s),n.proxy=void 0})}}(i,s,o),function(e,t="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(eL,t)}(s,t),s.remove=()=>{o.forEach(e=>e()),a.call(s)},s})}(c,B?"clone":"hidden"),$=(0,Z.O8)(()=>(0,V.kx)(s.dragOperation.activatorEvent));if("none"!==I){let e=(0,V.g)(I);e&&!p.translate&&(p.translate=e)}if(!p.transformOrigin){let e=(0,Z.O8)(()=>u.current);p.transformOrigin={x:(e.x-S*m.scaleX-m.x)/(k*m.scaleX),y:(e.y-E*m.scaleY-m.y)/(A*m.scaleY)}}let{transformOrigin:H}=p,q=E*m.scaleY+m.y,U=S*m.scaleX+m.x;if(!p.coordinates&&(p.coordinates={x:U,y:q},1!==w.x||1!==w.y)){let{scaleX:e,scaleY:t}=v,{x:r,y:n}=H;p.coordinates.x+=(k*e-k)*r,p.coordinates.y+=(A*t-A)*n}p.dimensions||(p.dimensions={width:k,height:A}),p.frameTransform||(p.frameTransform=m);let G={x:p.coordinates.x-U,y:p.coordinates.y-q},Q={width:(p.dimensions.width*p.frameTransform.scaleX-k*m.scaleX)*H.x,height:(p.dimensions.height*p.frameTransform.scaleY-A*m.scaleY)*H.y},J={x:G.x/m.scaleX+Q.width,y:G.y/m.scaleY+Q.height},et={left:S+J.x,top:E+J.y};g.setAttribute(eD,"true");let en=(0,Z.O8)(()=>l.transform),ei=null!=(t=p.translate)?t:{x:0,y:0},eo=en.x*m.scaleX+ei.x,es=en.y*m.scaleY+ei.y,ea=`${eo}px ${es}px 0`,el=C?`${C}, translate 0ms linear`:"";O.set({width:k-Y,height:A-W,top:et.top,left:et.left,translate:ea,transition:el,scale:y?`${w.x} ${w.y}`:"","transform-origin":`${100*H.x}% ${100*H.y}%`},eP),F&&(h.insertAdjacentElement("afterend",F),(null==a?void 0:a.rootElement)&&("function"==typeof a.rootElement?a.rootElement(c):a.rootElement).appendChild(h)),(0,V.Ot)(g)&&(g.hasAttribute("popover")||g.setAttribute("popover","manual"),(0,V.dO)(g),g.addEventListener("beforetoggle",eN));let ec=new ResizeObserver(()=>{if(!F)return;let e=new V.yS(F,{frameTransform:m,ignoreTransforms:!0}),t=null!=H?H:{x:1,y:1},r=(k-e.width)*t.x+J.x,i=(A-e.height)*t.y+J.y;if(O.set({width:e.width-Y,height:e.height-W,top:E+i,left:S+r},eP),null==n||n.takeRecords(),eY(h)&&eY(F)){let e=Array.from(h.cells),t=Array.from(F.cells);for(let[r,n]of e.entries()){let e=t[r];n.style.width=`${e.offsetWidth}px`}}l.shape=new V.yS(g)}),ed=new V.yS(g);(0,Z.O8)(()=>l.shape=ed);let eh=(0,V.zk)(g),ef=e=>{this.manager.actions.stop({event:e})};$&&eh.addEventListener("resize",ef),"idle"===(0,Z.O8)(()=>c.status)&&requestAnimationFrame(()=>c.status="dragging"),F&&(ec.observe(F),(n=new MutationObserver(e=>{let t=!1;for(let r of e){if(r.target!==h){t=!0;continue}if("attributes"!==r.type)continue;let e=r.attributeName;if(e.startsWith("aria-")||eR.includes(e))continue;let n=h.getAttribute(e);if("style"===e){if((0,V.o8)(h)&&(0,V.o8)(F)){let e=h.style;for(let t of Array.from(F.style))""===e.getPropertyValue(t)&&F.style.removeProperty(t);for(let t of Array.from(e)){if(eT.includes(t)||t.startsWith(eP))continue;let r=e.getPropertyValue(t);F.style.setProperty(t,r)}}}else null!==n?F.setAttribute(e,n):F.removeAttribute(e)}t&&B&&(F.innerHTML=h.innerHTML)})).observe(h,{attributes:!0,subtree:!0,childList:!0}),(i=new MutationObserver(e=>{for(let t of e)if(0!==t.addedNodes.length)for(let e of Array.from(t.addedNodes)){if(e.contains(h)&&h.nextElementSibling!==F){h.insertAdjacentElement("afterend",F),(0,V.dO)(g);return}if(e.contains(F)&&F.previousElementSibling!==h){F.insertAdjacentElement("beforebegin",h),(0,V.dO)(g);return}}})).observe(h.ownerDocument.body,{childList:!0,subtree:!0}));let ep=null==(r=s.dragOperation.source)?void 0:r.id,eg=()=>{var e;if(!$||null==ep)return;let t=s.registry.draggables.get(ep),r=null!=(e=null==t?void 0:t.handle)?e:null==t?void 0:t.element;(0,V.sb)(r)&&r.focus()},em=()=>{null==n||n.disconnect(),null==i||i.disconnect(),ec.disconnect(),eh.removeEventListener("resize",ef),(0,V.Ot)(g)&&(g.removeEventListener("beforetoggle",eN),g.removeAttribute("popover")),g.removeAttribute(eD),O.reset(),c.status="idle";let e=null!=o.current.translate;F&&(e||F.parentElement!==g.parentElement)&&g.isConnected&&F.replaceWith(g),null==F||F.remove()},ev=(0,K.zb)(()=>{var e;let{transform:t,status:r}=l;if((t.x||t.y||o.current.translate)&&r.dragging){let r=null!=(e=p.translate)?e:{x:0,y:0},i={x:t.x/m.scaleX+r.x,y:t.y/m.scaleY+r.y},s=o.current.translate,a=(0,Z.O8)(()=>l.modifiers),u=(0,Z.O8)(()=>{var e;return null==(e=l.shape)?void 0:e.current});if(O.set({transition:`${C}, translate ${$?"250ms cubic-bezier(0.25, 1, 0.5, 1)":"0ms linear"}`,translate:`${i.x}px ${i.y}px 0`}
59,eP),null==n||n.takeRecords(),u&&u!==ed&&s&&!a.length){let e=X.bR.delta(i,s);l.shape=X.M_.from(u.boundingRectangle).translate(e.x*m.scaleX,e.y*m.scaleY)}else l.shape=new V.yS(g);o.current.translate=i}},function(){if(l.status.dropped){this.dispose(),c.status="dropping";let e=o.current.translate,t=null!=e;if(e||h===g||(e={x:0,y:0}),!e)return void em();s.renderer.rendering.then(()=>{var r,i;{(0,V.dO)(g);let[,o]=null!=(r=(0,V.XZ)(g,e=>"translate"in e))?r:[];null==o||o.pause();let s=null!=F?F:h,a={frameTransform:eB(g,s)?null:void 0},l=new V.yS(g,a),u=null!=(i=(0,V.g)((0,V.qt)(g).translate))?i:e,d=new V.yS(s,a),f=X.M_.delta(l,d,c.alignment),p={x:u.x-f.x,y:u.y-f.y},m=Math.round(l.intrinsicHeight)!==Math.round(d.intrinsicHeight)?{minHeight:[`${l.intrinsicHeight}px`,`${d.intrinsicHeight}px`],maxHeight:[`${l.intrinsicHeight}px`,`${d.intrinsicHeight}px`]}:{},v=Math.round(l.intrinsicWidth)!==Math.round(d.intrinsicWidth)?{minWidth:[`${l.intrinsicWidth}px`,`${d.intrinsicWidth}px`],maxWidth:[`${l.intrinsicWidth}px`,`${d.intrinsicWidth}px`]}:{};O.set({transition:C},eP),g.setAttribute(e_,""),null==n||n.takeRecords(),(0,V.A$)({element:g,keyframes:ee(eu(eu({},m),v),er({translate:[`${u.x}px ${u.y}px 0`,`${p.x}px ${p.y}px 0`]})),options:{duration:t||g!==h?250:0,easing:"ease"}}).then(()=>{g.removeAttribute(e_),null==o||o.finish(),em(),requestAnimationFrame(eg)})}})}});return()=>{em(),ev()}},u=function(){var e,t,r;let{status:n,source:i,target:o}=this.manager.dragOperation,{nonce:s}=null!=(e=this.options)?e:{};if(n.initializing)for(let e of new Set([(0,V.YE)(null!=(t=null==i?void 0:i.element)?t:null),(0,V.YE)(null!=(r=null==o?void 0:o.element)?r:null)])){let t=eW.get(e);if(!t){let r=document.createElement("style");r.textContent=ez,s&&r.setAttribute("nonce",s),e.head.prepend(r);let n=new MutationObserver(t=>{for(let n of t)if("childList"===n.type){let t=Array.from(n.removedNodes);t.length>0&&t.includes(r)&&e.head.prepend(r)}});n.observe(e.head,{childList:!0}),t={cleanup:()=>{n.disconnect(),r.remove()},instances:new Set},eW.set(e,t)}t.instances.add(this)}},ey(o,4,"overlay",n,eF,s),em(o,eF),eF.configure=(0,U.cD)(eF),h=[K.Kh],f=V.Dh.Forward,c=[K.Kh],d=V.Dh.Reverse;var e$=class{constructor(){ek(this,g,ev(p,8,this,!0)),ev(p,11,this),ek(this,m,ev(p,12,this,!0)),ev(p,15,this)}isLocked(e){return e!==V.Dh.Idle&&(null==e?!0===this[V.Dh.Forward]&&!0===this[V.Dh.Reverse]:!0===this[e])}unlock(e){e!==V.Dh.Idle&&(this[e]=!1)}};p=eh(null),g=new WeakMap,m=new WeakMap,ey(p,4,f,h,e$,g),ey(p,4,d,c,e$,m),em(p,e$);var eH=[V.Dh.Forward,V.Dh.Reverse],eq=class{constructor(){this.x=new e$,this.y=new e$}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},eU=class extends U.k_{constructor(e){super(e);const t=(0,Z.vP)(new eq);let r=null;this.signal=t,(0,Z.QZ)(()=>{let{status:n}=e.dragOperation;if(!n.initialized){r=null,t.value=new eq;return}let{delta:i}=e.dragOperation.position;if(r){let e={x:eV(i.x,r.x),y:eV(i.y,r.y)},n=t.peek();(0,Z.vA)(()=>{for(let t of X.Y5)for(let r of eH)e[t]===r&&n[t].unlock(r);t.value=n})}r=i})}get current(){return this.signal.peek()}};function eV(e,t){return Math.sign(e-t)}var eK=class extends(y=U.rV,v=[K.Kh],y){constructor(e){super(e),ek(this,w,ev(b,8,this,!1)),ev(b,11,this),ek(this,k),ek(this,A,()=>{if(!ew(this,k))return;let{element:e,by:t}=ew(this,k);t.y&&(e.scrollTop+=t.y),t.x&&(e.scrollLeft+=t.x)}),this.scroll=e=>{var t;if(this.disabled)return!1;let r=this.getScrollableElements();if(!r)return eA(this,k,void 0),!1;let{position:n}=this.manager.dragOperation,i=null==n?void 0:n.current;if(i){let{by:n}=null!=e?e:{},o=n?{x:eZ(n.x),y:eZ(n.y)}:void 0,s=o?void 0:this.scrollIntentTracker.current;if(null==s?void 0:s.isLocked())return!1;for(let e of r){let r=(0,V.a_)(e,n);if(r.x||r.y){let{speed:r,direction:a}=(0,V.Fk)(e,i,o);if(s)for(let e of X.Y5)s[e].isLocked(a[e])&&(r[e]=0,a[e]=0);if(a.x||a.y){let{x:i,y:o}=null!=n?n:a,s=i*r.x,l=o*r.y;if(s||l){let r=null==(t=ew(this,k))?void 0:t.by;if(this.autoScrolling&&r&&(r.x&&!s||r.y&&!l))continue;return eA(this,k,{element:e,by:{x:s,y:l}}),V.ck.schedule(ew(this,A)),!0}}}}}return eA(this,k,void 0),!1};let t=null,r=null;const n=(0,K.EW)(()=>{let{position:r,source:n}=e.dragOperation;if(!r)return null;let i=(0,V.Fm)((0,V.YE)(null==n?void 0:n.element),r.current);return i&&(t=i),null!=i?i:t}),i=(0,K.EW)(()=>{let t=n.value,{documentElement:i}=(0,V.YE)(t);if(!t||t===i){let{target:t}=e.dragOperation,n=null==t?void 0:t.element;if(n){let e=(0,V.sl)(n,{excludeElement:!1});return r=e,e}}if(t){let e=(0,V.sl)(t,{excludeElement:!1});return this.autoScrolling&&r&&e.size<(null==r?void 0:r.size)?r:(r=e,e)}return r=null,null},K.bD);
59this.getScrollableElements=()=>i.value,this.scrollIntentTracker=new eU(e),this.destroy=e.monitor.addEventListener("dragmove",t=>{!this.disabled&&!t.defaultPrevented&&(0,V.kx)(e.dragOperation.activatorEvent)&&t.by&&this.scroll({by:t.by})&&t.preventDefault()})}};function eZ(e){return e>0?V.Dh.Forward:e<0?V.Dh.Reverse:V.Dh.Idle}b=eh(y),w=new WeakMap,k=new WeakMap,A=new WeakMap,ey(b,4,"autoScrolling",v,eK,w),em(b,eK);var eX=new class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}}(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),eG=class extends U.k_{constructor(e,t){super(e);const r=e.registry.plugins.get(eK);if(!r)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=(0,Z.QZ)(()=>{if(this.disabled)return;let{position:t,status:n}=e.dragOperation;if(n.dragging){if(r.scroll()){r.autoScrolling=!0;let e=setInterval(()=>eX.schedule(r.scroll),10);return()=>{clearInterval(e)}}r.autoScrolling=!1}})}},eQ={capture:!0,passive:!0},eJ=class extends U.rV{constructor(e){super(e),ek(this,E),this.handleScroll=()=>{null==ew(this,E)&&eA(this,E,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),eA(this,E,void 0)},50))};const{dragOperation:t}=this.manager;this.destroy=(0,Z.QZ)(()=>{var e,r,n;if(t.status.dragging){let i=null!=(n=null==(r=null==(e=t.source)?void 0:e.element)?void 0:r.ownerDocument)?n:document;return i.addEventListener("scroll",this.handleScroll,eQ),()=>{i.removeEventListener("scroll",this.handleScroll,eQ)}}})}};E=new WeakMap;var e0=class extends U.k_{constructor(e,t){super(e,t),this.manager=e,this.destroy=(0,Z.QZ)(()=>{var e;let{dragOperation:t}=this.manager,{nonce:r}=null!=(e=this.options)?e:{};if(t.status.initialized){let e=document.createElement("style");return r&&e.setAttribute("nonce",r),e.textContent="* { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(e),e1(),document.addEventListener("selectionchange",e1,{capture:!0}),()=>{document.removeEventListener("selectionchange",e1,{capture:!0}),e.remove()}}})}};function e1(){var e;null==(e=document.getSelection())||e.removeAllRanges()}var e2=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},shouldActivate(e){var t;let{event:r,source:n}=e,i=null!=(t=n.handle)?t:n.element;return r.target===i}}),e4=class extends U.$A{constructor(e,t){super(e),this.manager=e,this.options=t,ek(this,S,[]),this.listeners=new V.qR,this.handleSourceKeyDown=(e,t,r)=>{if(this.disabled||e.defaultPrevented||!(0,V.vq)(e.target)||t.disabled)return;let{keyboardCodes:n=e2.keyboardCodes,shouldActivate:i=e2.shouldActivate}=null!=r?r:{};!n.start.includes(e.code)||this.manager.dragOperation.status.idle&&i({event:e,source:t,manager:this.manager})&&this.handleStart(e,t,r)}}bind(e,t=this.options){return(0,Z.QZ)(()=>{var r;let n=null!=(r=e.handle)?r:e.element,i=r=>{(0,V.kx)(r)&&this.handleSourceKeyDown(r,e,t)};if(n)return n.addEventListener("keydown",i),()=>{n.removeEventListener("keydown",i)}})}handleStart(e,t,r){let{element:n}=t;if(!n)throw Error("Source draggable does not have an associated element");e.preventDefault(),e.stopImmediatePropagation(),(0,V.$v)(n);let{center:i}=new V.yS(n);if(this.manager.actions.start({event:e,coordinates:{x:i.x,y:i.y},source:t}).signal.aborted)return this.cleanup();this.sideEffects();let o=(0,V.YE)(n),s=[this.listeners.bind(o,[{type:"keydown",listener:e=>this.handleKeyDown(e,t,r),options:{capture:!0}}])];ew(this,S).push(...s)}handleKeyDown(e,t,r){let{keyboardCodes:n=e2.keyboardCodes}=null!=r?r:{};if(e5(e,[...n.end,...n.cancel])){e.preventDefault();let t=e5(e,n.cancel);this.handleEnd(e,t);return}e5(e,n.up)?this.handleMove("up",e):e5(e,n.down)&&this.handleMove("down",e),e5(e,n.left)?this.handleMove("left",e):e5(e,n.right)&&this.handleMove("right",e)}handleEnd(e,t){this.manager.actions.stop({event:e,canceled:t}),this.cleanup()}handleMove(e,t){var r,n;let{shape:i}=this.manager.dragOperation,o=t.shiftKey?5:1,s={x:0,y:0},a=null!=(n=null==(r=this.options)?void 0:r.offset)?n:e2.offset;if("number"==typeof a&&(a={x:a,y:a}
59),i){switch(e){case"up":s={x:0,y:-a.y*o};break;case"down":s={x:0,y:a.y*o};break;case"left":s={x:-a.x*o,y:0};break;case"right":s={x:a.x*o,y:0}}(s.x||s.y)&&(t.preventDefault(),this.manager.actions.move({event:t,by:s}))}}sideEffects(){let e=this.manager.registry.plugins.get(eG);(null==e?void 0:e.disabled)===!1&&(e.disable(),ew(this,S).push(()=>{e.enable()}))}cleanup(){ew(this,S).forEach(e=>e()),eA(this,S,[])}destroy(){this.cleanup(),this.listeners.clear()}};function e5(e,t){return t.includes(e.code)}S=new WeakMap,e4.configure=(0,U.cD)(e4),e4.defaults=e2;var e6=Object.freeze({activationConstraints(e,t){var r;let{pointerType:n,target:i}=e;if(!("mouse"===n&&(0,V.vq)(i)&&(t.handle===i||(null==(r=t.handle)?void 0:r.contains(i)))))return"touch"===n?{delay:{value:250,tolerance:5}}:(0,V.AI)(i)&&!e.defaultPrevented?{delay:{value:200,tolerance:0}}:{delay:{value:200,tolerance:10},distance:{value:5}}}}),e3=class extends U.$A{constructor(e,t){super(e),this.manager=e,this.options=t,ek(this,O,new Set),ek(this,C),this.listeners=new V.qR,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:e,coordinates:t}=this.latest;e&&t&&this.manager.actions.move({event:e,to:t})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(e,t){var r;let{activationConstraints:n=e6.activationConstraints}=null!=(r=this.options)?r:{};return"function"==typeof n?n(e,t):n}bind(e,t=this.options){return(0,Z.QZ)(()=>{var r,n;let i=new AbortController,{signal:o}=i,s=r=>{(0,V.EE)(r)&&this.handlePointerDown(r,e,t)},a=[null!=(r=e.handle)?r:e.element];for(let r of((null==t?void 0:t.activatorElements)&&(a=Array.isArray(t.activatorElements)?t.activatorElements:t.activatorElements(e)),a)){r&&(!(n=r.ownerDocument.defaultView)||te.has(n)||(n.addEventListener("touchmove",e9,{capture:!1,passive:!1}),te.add(n)),r.addEventListener("pointerdown",s,{signal:o}))}return()=>i.abort()})}handlePointerDown(e,t,r={}){if(this.disabled||!e.isPrimary||0!==e.button||!(0,V.vq)(e.target)||t.disabled||"sensor"in e||!this.manager.dragOperation.status.idle)return;let{target:n}=e,i=(0,V.sb)(n)&&n.draggable&&"true"===n.getAttribute("draggable"),o=(0,V.y4)(t.element);this.initialCoordinates={x:e.clientX*o.scaleX+o.x,y:e.clientY*o.scaleY+o.y};let s=this.activationConstraints(e,t);if(e.sensor=this,(null==s?void 0:s.delay)||(null==s?void 0:s.distance)){let{delay:r}=s;if(r){let n=setTimeout(()=>this.handleStart(t,e),r.value);eA(this,C,()=>{clearTimeout(n),eA(this,C,void 0)})}}else this.handleStart(t,e);let a=(0,V.YE)(e.target),l=this.listeners.bind(a,[{type:"pointermove",listener:e=>this.handlePointerMove(e,t)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"dragstart",listener:i?this.handleCancel:e7,options:{capture:!0}}]),u=()=>{var e;l(),null==(e=ew(this,C))||e.call(this),this.initialCoordinates=void 0};ew(this,O).add(u)}handlePointerMove(e,t){let r={x:e.clientX,y:e.clientY},n=(0,V.y4)(t.element);if(r.x=r.x*n.scaleX+n.x,r.y=r.y*n.scaleY+n.y,this.manager.dragOperation.status.dragging){e.preventDefault(),e.stopPropagation(),this.latest.event=e,this.latest.coordinates=r,V.ck.schedule(this.handleMove);return}if(!this.initialCoordinates)return;let i={x:r.x-this.initialCoordinates.x,y:r.y-this.initialCoordinates.y},o=this.activationConstraints(e,t),{distance:s,delay:a}=null!=o?o:{};if(s){if(null!=s.tolerance&&(0,X.dq)(i,s.tolerance))return this.handleCancel(e);if((0,X.dq)(i,s.value))return this.handleStart(t,e)}if(a&&(0,X.dq)(i,a.tolerance))return this.handleCancel(e)}handlePointerUp(e){let{status:t}=this.manager.dragOperation;if(!t.idle){e.preventDefault(),e.stopPropagation();let r=!t.initialized;this.manager.actions.stop({event:e,canceled:r})}this.cleanup()}handleKeyDown(e){"Escape"===e.key&&(e.preventDefault(),this.handleCancel(e))}handleStart(e,t){var r;let{manager:n,initialCoordinates:i}=this;if(null==(r=ew(this,C))||r.call(this),!i||!n.dragOperation.status.idle||t.defaultPrevented)return;if(n.actions.start({coordinates:i,event:t,source:e}).signal.aborted)return this.cleanup();t.preventDefault();let o=(0,V.YE)(t.target),s=o.body;s.setPointerCapture(t.pointerId);let a=this.listeners.bind(o,[{type:"touchmove",listener:e7,options:{passive:!1}},{type:"click",listener:e7},{type:"contextmenu",listener:e7},{type:"keydown",listener:this.handleKeyDown},{type:"lostpointercapture",listener:e=>{e.target===s&&this.handlePointerUp(e)}}]);ew(this,O).add(a)}handleCancel(e){let{dragOperation:t}=this.manager;t.status.initialized&&this.manager.actions.stop({event:e,canceled:!0}),this.cleanup()}cleanup(){this.latest={event:void 0,coordinates:void 0}
59,ew(this,O).forEach(e=>e()),ew(this,O).clear()}destroy(){this.cleanup(),this.listeners.clear()}};O=new WeakMap,C=new WeakMap,e3.configure=(0,U.cD)(e3),e3.defaults=e6;var e8=e3;function e7(e){e.preventDefault()}function e9(){}var te=new WeakSet,tt={modifiers:[],plugins:[eI,eG,eM,eF,e0],sensors:[e8,e4]},tr=class extends U.ti{constructor(e={}){const{plugins:t=tt.plugins,sensors:r=tt.sensors,modifiers:n=[]}=e;super(((e,t)=>ee(e,er(t)))(eu({},e),{plugins:[eJ,eK,...t],sensors:r,modifiers:n}))}},tn=class extends(_=U.sx,j=[K.Kh],M=[K.Kh],I=[K.Kh],_){constructor(e,t){var{element:r,effects:n=()=>[],handle:i,feedback:o="default"}=e;super(eu({effects:()=>[...n(),()=>{var e,t;let{manager:r}=this;if(!r)return;let n=(null!=(t=null==(e=this.sensors)?void 0:e.map(U.yu))?t:[...r.sensors]).map(e=>{let t=e instanceof U.$A?e:r.registry.register(e.plugin),n=e instanceof U.$A?void 0:e.options;return t.bind(this,n)});return function(){n.forEach(e=>e())}}]},ed(e,["element","effects","handle","feedback"])),t),ek(this,D,ev(P,8,this)),ev(P,11,this),ek(this,L,ev(P,12,this)),ev(P,15,this),ek(this,R,ev(P,16,this)),ev(P,19,this),this.element=r,this.handle=i,this.feedback=o}};P=eh(_),D=new WeakMap,L=new WeakMap,R=new WeakMap,ey(P,4,"handle",j,tn,D),ey(P,4,"element",M,tn,L),ey(P,4,"feedback",I,tn,R),em(P,tn);var ti=class extends(B=U.gL,z=[K.Kh],T=[K.Kh],B){constructor(e,t){var{element:r,effects:n=()=>[]}=e,i=ed(e,["element","effects"]);const{collisionDetector:o=G.V6}=i,s=e=>{let{manager:t,element:r}=this;if(!r||null===e){this.shape=void 0;return}if(!t)return;let n=new V.yS(r),i=(0,Z.O8)(()=>this.shape);return n&&(null==i?void 0:i.equals(n))?i:(this.shape=n,n)},a=(0,Z.vP)(!1);super(((e,t)=>ee(e,er(t)))(eu({},i),{collisionDetector:o,effects:()=>[...n(),()=>{let{element:e,manager:t}=this;if(!t)return;let{dragOperation:r}=t,{source:n}=r;a.value=!!(n&&r.status.initialized&&e&&!this.disabled&&this.accepts(n))},()=>{let{element:e}=this;if(a.value&&e){let t=new V.UX(e,s);return()=>{t.disconnect(),this.shape=void 0}}},()=>{var e;if(null==(e=this.manager)?void 0:e.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),t),ek(this,H),ek(this,Y,ev(N,8,this)),ev(N,11,this),ek(this,q,ev(N,12,this)),ev(N,15,this),this.element=r,this.refreshShape=()=>s()}set element(e){eA(this,H,e,$)}get element(){var e;return null!=(e=this.proxy)?e:ew(this,H,F)}};N=eh(B),Y=new WeakMap,H=new WeakSet,q=new WeakMap,F=(W=ey(N,20,"#element",z,H,Y)).get,$=W.set,ey(N,4,"proxy",T,ti,q),em(N,ti)},22954:(e,t,r)=>{"use strict";r.d(t,{Eq:()=>u});var n=new WeakMap,i=new WeakMap,o={},s=0,a=function(e){return e&&(e.host||a(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=a(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[r]||(o[r]=new WeakMap);var c=o[r],d=[],h=new Set,f=new Set(u),p=function(e){!e||h.has(e)||(h.add(e),p(e.parentNode))};u.forEach(p);var g=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))g(e);else try{var t=e.getAttribute(l),o=null!==t&&"false"!==t,s=(n.get(e)||0)+1,a=(c.get(e)||0)+1;n.set(e,s),c.set(e,a),d.push(e),1===s&&o&&i.set(e,!0),1===a&&e.setAttribute(r,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return g(t),h.clear(),s++,function(){d.forEach(function(e){var t=n.get(e)-1,o=c.get(e)-1;n.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),o||e.removeAttribute(r)}),--s||(n=new WeakMap,n=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),l(n,i,r,"aria-hidden")):function(){return null}}},24129:(e,t,r)=>{"use strict";r.d(t,{EW:()=>Z,Kh:()=>X,P9:()=>et,Wf:()=>ee,_Z:()=>er,bD:()=>function e(t,r){if(Object.is(t,r))return!0;if(null===t||null===r)return!1;if("function"==typeof t&&"function"==typeof r)return t===r;if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(let e of t)if(!r.has(e))return!1;return!0}if(Array.isArray(t))return!!Array.isArray(r)&&t.length===r.length&&!t.some((t,n)=>!e(t,r[n]));if("object"==typeof t&&"object"==typeof r){let n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&!n.some(n=>!e(t[n],r[n]))}return!1},un:()=>G,zb:()=>J});var n,i,o,s,a,l,u,c,d,h,f,p,g,m,v,y,b,w,k,A,E,S=r(26791),O=Object.create,C=Object.defineProperty,I=Object.defineProperties,M=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,L=e=>{throw TypeError(e)},R=(e,t,r)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>
59C(e,"name",{value:t,configurable:!0}),z=["class","method","getter","setter","accessor","field","value","get","set"],B=e=>void 0!==e&&"function"!=typeof e?L("Function expected"):e,N=(e,t,r,n,i)=>({kind:z[e],name:t,metadata:n,addInitializer:e=>r._?L("Already initialized"):i.push(B(e||null))}),Y=(e,t)=>{let r,n;return R(t,(r="metadata",(n=Symbol[r])?n:Symbol.for("Symbol."+r)),e[3])},W=(e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)1&t?o[i].call(r):n=o[i].call(r,n);return n},F=(e,t,r,n,i,o)=>{var s,a,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,g=z[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&M(d<4?i:{get[r](){return q(this,o)},set[r](x){return V(this,o,x)}},r));d?f&&d<4&&T(o,(d>2?"set ":d>1?"get ":"")+r):T(i,r);for(var b=n.length-1;b>=0;b--)u=N(d,r,l={},e[3],v),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>H(i,e):e=>r in e},3^d&&(c.get=f?e=>(1^d?q:K)(e,i,4^d?o:y.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>V(e,i,t,4^d?o:y.set):(e,t)=>e[r]=t)),a=(0,n[b])(d?d<4?f?o:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),l._=1,4^d||void 0===a?B(a)&&(d>4?m.unshift(a):d?f?o=a:y[g]=a:i=a):"object"!=typeof a||null===a?L("Object expected"):(B(s=a.get)&&(y.get=s),B(s=a.set)&&(y.set=s),B(s=a.init)&&m.unshift(s));return d||Y(e,i),y&&C(i,r,y),f?4^d?o:y:i},$=(e,t,r)=>t.has(e)||L("Cannot "+r),H=(e,t)=>Object(t)!==t?L('Cannot use the "in" operator on this value'):e.has(t),q=(e,t,r)=>($(e,t,"read from private field"),r?r.call(e):t.get(e)),U=(e,t,r)=>t.has(e)?L("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),V=(e,t,r,n)=>($(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),K=(e,t,r)=>($(e,t,"access private method"),r);function Z(e,t){if(t){let r;return(0,S.EW)(()=>{let n=e();return n&&r&&t(r,n)?r:(r=n,n)})}return(0,S.EW)(e)}function X({get:e},t){return{init:e=>(0,S.vP)(e),get(){return e.call(this).value},set(t){let r=e.call(this);r.peek()!==t&&(r.value=t)}}}function G(e,t){let r=new WeakMap;return function(){let t=r.get(this);return t||(t=Z(e.bind(this)),r.set(this,t)),t.value}}function Q(e=!0){return function(t,r){r.addInitializer(function(){let t="field"===r.kind||r.static?this:Object.getPrototypeOf(this),n=Object.getOwnPropertyDescriptor(t,r.name);n&&Object.defineProperty(t,r.name,I(((e,t)=>{for(var r in t||(t={}))P.call(t,r)&&R(e,r,t[r]);if(_)for(var r of _(t))D.call(t,r)&&R(e,r,t[r]);return e})({},n),j({enumerable:e})))})}}function J(...e){let t=e.map(S.QZ);return()=>t.forEach(e=>e())}l=[X],a=[X],s=[X],o=[Q()],i=[Q()],n=[Q()];var ee=class{constructor(e,t=Object.is){this.defaultValue=e,this.equals=t,W(u,5,this),U(this,p),U(this,c,W(u,8,this)),W(u,11,this),U(this,g,W(u,12,this)),W(u,15,this),U(this,b,W(u,16,this)),W(u,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return q(this,p,k)}get initial(){return q(this,p,h)}get previous(){return q(this,p,v)}set current(e){let t=(0,S.O8)(()=>q(this,p,k));e&&t&&this.equals(t,e)||(0,S.vA)(()=>{q(this,p,h)||V(this,p,e,f),V(this,p,t,y),V(this,p,e,A)})}reset(e=this.defaultValue){(0,S.vA)(()=>{V(this,p,void 0,y),V(this,p,e,f),V(this,p,e,A)})}};function et(e){return(0,S.O8)(()=>{let t={};for(let r in e)t[r]=e[r];return t})}u=[,,,O(null)],c=new WeakMap,p=new WeakSet,g=new WeakMap,b=new WeakMap,h=(d=F(u,20,"#initial",l,p,c)).get,f=d.set,v=(m=F(u,20,"#previous",a,p,g)).get,y=m.set,k=(w=F(u,20,"#current",s,p,b)).get,A=w.set,F(u,2,"current",o,ee),F(u,2,"initial",i,ee),F(u,2,"previous",n,ee),Y(u,ee);var er=class{constructor(){U(this,E,new WeakMap)}get(e,t){var r;return e?null==(r=q(this,E).get(e))?void 0:r.get(t):void 0}set(e,t,r){var n;if(e)return q(this,E).has(e)||q(this,E).set(e,new Map),null==(n=q(this,E).get(e))?void 0:n.set(t,r)}clear(e){var t;return e?null==(t=q(this,E).get(e))?void 0:t.clear():void 0}};E=new WeakMap},26791:(e,t,r)=>{"use strict";r.d(t,{EW:()=>E,O8:()=>a,QZ:()=>M,vA:()=>o,vP:()=>y});var n=Symbol.for("preact-signals");function i(){if(c>1)c--;else{var e,t=!1,r=p;for(p=void 0;void 0!==r;)r.S.v===r.v&&(r.S.i=r.i),r=r.o;for(;void 0!==u;){var n=u;for(u=void 0,d++;void 0!==n;){var i=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&b(n))try{n.c()}catch(r){t||(e=r,t=!0)}n=i}}if(d=0,c--,t)throw e}}function o(e){if(c>0)return e();f=++h,c++;try{return e()}finally{i()}}var s=void 0;function a(e){var t=s;s=void 0;try{return e()}finally{s=t}}var l,u=void 0,c=0,d=0,h=0,f=0,p=void 0,g=0;function m(e){if(void 0!==s){var t=e.n;if(void 0===t||t.t!==s)return t={i:0,S:e,p:s.s,n:void 0,t:s,e:void 0,x:void 0,r:t},void 0!==s.s&&(s.s.n=t),s.s=t,e.n=t,32&s.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=s.s,t.n=void 0,s.s.n=t,s.s=t),t}}function v(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function y(e,t){return new v(e,t)}function b(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function w(e){for(var t=e.s;void 0!==t;t=t.n){var r=t.S.n;if(void 0!==r&&(t.r=r),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function k(e){for(var t=e.s,r=void 0;void 0!==t;){var n=t.p;-1===t.i?(t.S.U(t),void 0!==n&&(n.n=t.n),void 0!==t.n&&(t.n.p=n)):r=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=n}e.s=r}function A(e,t){v.call(this,void 0),this.x=e,this.s=void 0,this.g=g-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function E(e,t){return new A(e,t)}function S(e){var t=e.m;if(e.m=void 0,"function"==typeof t){c++;var r=s;s=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,O(e),t}finally{s=r,i()}}}function O(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,S(e)}function C(e){if(s!==this)throw Error("Out-of-order effect");k(this),s=e,this.f&=-2,8&this.f&&O(this),i()}function I(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,l&&l.push(this)}function M(e,t){var r=new I(e,t);try{r.c()}catch(e){throw r.d(),e}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}v.prototype.brand=n,v.prototype.h=function(){return!0},v.prototype.S=function(e){var t=this,r=this.t;r!==e&&void 0===e.e&&(e.x=r,this.t=e,void 0!==r?r.e=e:a(function(){var e;null==(e=t.W)||e.call(t)}))},v.prototype.U=function(e){var t=this;if(void 0!==this.t){var r=e.e,n=e.x;void 0!==r&&(r.x=n,e.e=void 0),void 0!==n&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&a(function(){var e;null==(e=t.Z)||e.call(t)}))}},v.prototype.subscribe=function(e){var t=this;return M(function(){var r=t.value,n=s;s=void 0;try{e(r)}finally{s=n}},{name:"sub"})},v.prototype.valueOf=function(){return this.value},v.prototype.toString=function(){return this.value+""},v.prototype.toJSON=function(){return this.value},v.prototype.peek=function(){var e=this;return a(function(){return e.value})},Object.defineProperty(v.prototype,"value",{get:function(){var e=m(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(d>100)throw Error("Cycle detected");0!==c&&0===d&&this.l!==f&&(this.l=f,p={S:this,v:this.v,i:this.i,o:p}),this.v=e,this.i++,g++,c++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{i()}}}}),A.prototype=new v,A.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===g))return!0;
59if(this.g=g,this.f|=1,this.i>0&&!b(this))return this.f&=-2,!0;var e=s;try{w(this),s=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return s=e,k(this),this.f&=-2,!0},A.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}v.prototype.S.call(this,e)},A.prototype.U=function(e){if(void 0!==this.t&&(v.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},A.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(A.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=m(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),I.prototype.c=function(){var e=this.S();try{if(8&this.f||void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},I.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,S(this),w(this),c++;var e=s;return s=this,C.bind(this,e)},I.prototype.N=function(){2&this.f||(this.f|=2,this.u=u,u=this)},I.prototype.d=function(){this.f|=8,1&this.f||O(this)},I.prototype.dispose=function(){this.d()}},28207:(e,t,r)=>{"use strict";r.d(t,{E7:()=>p,K0:()=>b,aH:()=>v,sc:()=>N});var n=r(37422),i=r(68482),o=r(86973),s=r(827),a=r(60077),l=r(61171),u=r(95155),c=r(12115);(0,l.hY)(),(0,l.hY)();var d={ActionBar:"_ActionBar_1nmyk_1","ActionBar-label":"_ActionBar-label_1nmyk_18",ActionBarAction:"_ActionBarAction_1nmyk_30","ActionBar-group":"_ActionBar-group_1nmyk_38","ActionBarAction--disabled":"_ActionBarAction--disabled_1nmyk_71","ActionBarAction--active":"_ActionBarAction--active_1nmyk_93","ActionBar-separator":"_ActionBar-separator_1nmyk_102"},h=(0,a.d)("ActionBar",d),f=(0,a.d)("ActionBarAction",d),p=({label:e,children:t})=>(0,u.jsxs)("div",{className:h(),onClick:e=>{e.stopPropagation()},children:[e&&(0,u.jsx)(p.Group,{children:(0,u.jsx)("div",{className:h("label"),children:e})}),t]}),g=({children:e,label:t,onClick:r,active:n=!1,disabled:i})=>(0,u.jsx)("button",{type:"button",className:f({active:n,disabled:i}),onClick:r,title:t,tabIndex:0,disabled:i,children:e});p.Action=g,p.Label=({label:e})=>(0,u.jsx)("div",{className:h("label"),children:e}),p.Group=({children:e})=>(0,u.jsx)("div",{className:h("group"),children:e}),p.Separator=()=>(0,u.jsx)("div",{className:h("separator")}),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var m=(0,a.d)("Loader",{Loader:"_Loader_nacdm_13","loader-animation":"_loader-animation_nacdm_1"}),v=e=>{var{color:t,size:r=16}=e,n=(0,l.YG)(e,["color","size"]);return(0,u.jsx)("span",(0,l.IA)({className:m(),style:{width:r,height:r,color:t},"aria-label":"loading"},n))},y=(0,a.d)("IconButton",{IconButton:"_IconButton_ffob9_1","IconButton--active":"_IconButton--active_ffob9_14","IconButton--disabled":"_IconButton--disabled_ffob9_24","IconButton-title":"_IconButton-title_ffob9_37"}),b=({active:e=!1,children:t,href:r,onClick:n,type:i,disabled:o,tabIndex:s,newTab:a,fullWidth:l,title:d,suppressHydrationWarning:h})=>{let[f,p]=(0,c.useState)(!1);return(0,u.jsxs)(r?"a":"button",{className:y({active:e,disabled:o,fullWidth:l}),onClick:e=>{n&&(p(!0),Promise.resolve(n(e)).then(()=>{p(!1)}))},type:i,disabled:o||f,tabIndex:s,target:a?"_blank":void 0,rel:a?"noreferrer":void 0,href:r,title:d,suppressHydrationWarning:h,children:[(0,u.jsx)("span",{className:y("title"),children:d}),t,f&&(0,u.jsxs)(u.Fragment,{children:["\xa0\xa0",(0,u.jsx)(v,{size:14})]})]})};(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var w=(0,a.d)("Control",{Control:"_Control_1aveu_1","Control--inline":"_Control--inline_1aveu_6"});function k({icon:e,disabled:t,active:r,onClick:n,title:i}){let{inline:o}=(0,s.ym)();return o?(0,u.jsx)("span",{className:w({inline:!0}),children:(0,u.jsx)(g,{onClick:n,disabled:t,active:r,label:i,children:e})}):(0,u.jsx)("span",{className:w(),children:(0,u.jsx)(b,{onClick:n,disabled:t,active:r,title:i,children:e})})}function A(){let e=(0,s.ym)(),t=(0,n.p)(e.options);return(0,u.jsx)(s.Yq,{options:t,onChange:()=>{},value:"left",defaultValue:"left",renderDefaultIcon:s.TU})}(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var E=(0,c.lazy)(()=>Promise.all([r.e(5004),r.e(277),r.e(9356),r.e(3543),r.e(4713)]).then(r.bind(r,4713)).then(e=>({default:e.AlignSelectLoaded}))),S=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)(A,{}),children:(0,u.jsx)(E,{})});function O(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.yN,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBold().run()},disabled:!(null==t?void 0:t.canBold),active:null==t?void 0:t.isBold,title:"Bold"})}function C(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.J2,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleItalic().run()},disabled:!(null==t?void 0:t.canItalic),active:null==t?void 0:t.isItalic,title:"Italic"})}function I(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.z2,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleUnderline().run()},disabled:!(null==t?void 0:t.canUnderline),active:null==t?void 0:t.isUnderline,title:"Underline"})}function M(){let e=(0,s.ym)(),t=(0,i.O)(e.options);return(0,u.jsx)(s.Yq,{options:t,onChange:()=>{},value:"p",defaultValue:"p",renderDefaultIcon:s.DZ})}(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var j=(0,c.lazy)(()=>Promise.all([r.e(5004),r.e(277),r.e(9356),r.e(3543),r.e(5505)]).then(r.bind(r,75505)).then(e=>({default:e.HeadingSelectLoaded}))),_=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)(M,{}),children:(0,u.jsx)(j,{})});function P(){let e=(0,s.ym)(),t=(0,o.k)(e.options);return(0,u.jsx)(s.Yq,{options:t,onChange:()=>{},value:"p",defaultValue:"p",renderDefaultIcon:s.B8})}(0,l.hY)(),(0,l.hY)();var D=(0,c.lazy)(()=>Promise.all([r.e(5004),r.e(277),r.e(9356),r.e(3543),r.e(5871)]).then(r.bind(r,95871)).then(e=>({default:e.ListSelectLoaded}))),L=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)(P,{}),children:(0,u.jsx)(D,{})}),R=(0,a.d)("RichTextMenu",{RichTextMenu:"_RichTextMenu_k97eh_1","RichTextMenu--form":"_RichTextMenu--form_k97eh_7","RichTextMenu-group":"_RichTextMenu-group_k97eh_17","RichTextMenu--inline":"_RichTextMenu--inline_k97eh_35"}),T=({children:e})=>(0,u.jsx)(z,{children:e}),z=({children:e})=>{let{inline:t}=(0,s.ym)();return(0,u.jsx)("div",{className:R({inline:t,form:!t}),"data-puck-rte-menu":!0,children:e})},B=({children:e})=>(0,u.jsx)("div",{className:R("group"),children:e});z.Group=B,z.Control=k,z.AlignCenter=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.xd,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("center").run()},disabled:!(null==t?void 0:t.canAlignCenter),active:null==t?void 0:t.isAlignCenter,title:"Align center"})},z.AlignJustify=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.mT,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("justify").run()},disabled:!(null==t?void 0:t.canAlignJustify),active:null==t?void 0:t.isAlignJustify,title:"Justify"})},z.AlignLeft=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.TU,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("left").run()},disabled:!(null==t?void 0:t.canAlignLeft),active:null==t?void 0:t.isAlignLeft,title:"Align left"})},z.AlignRight=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.GY,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("right").run()},disabled:!(null==t?void 0:t.canAlignRight),active:null==t?void 0:t.isAlignRight,title:"Align right"})},z.AlignSelect=S,z.Blockquote=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.Pk,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBlockquote().run()},disabled:!(null==t?void 0:t.canBlockquote),active:null==t?void 0:t.isBlockquote,title:"Blockquote"})},z.Bold=O,z.BulletList=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.B8,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBulletList().run()},disabled:!(null==t?void 0:t.canBulletList),active:null==t?void 0:t.isBulletList,title:"Bullet list"})},z.CodeBlock=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.pJ,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleCodeBlock().run()},disabled:!(null==t?void 0:t.canCodeBlock),active:null==t?void 0:t.isCodeBlock,title:"Code block"})},z.HeadingSelect=_,z.HorizontalRule=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.Hs,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setHorizontalRule().run()},disabled:!(null==t?void 0:t.canHorizontalRule),title:"Horizontal rule"})},z.InlineCode=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.Cy,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleCode().run()},disabled:!(null==t?void 0:t.canInlineCode),active:null==t?void 0:t.isInlineCode,title:"Inline code"})},z.Italic=C,z.ListSelect=L,z.OrderedList=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.cM,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleOrderedList().run()},disabled:!(null==t?void 0:t.canOrderedList),active:null==t?void 0:t.isOrderedList,title:"Ordered list"})},z.Strikethrough=function(){let{editor:e,editorState:t}=(0,s.ym)();return(0,u.jsx)(k,{icon:(0,u.jsx)(s.Gk,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleStrike().run()},disabled:!(null==t?void 0:t.canStrike),active:null==t?void 0:t.isStrike,title:"Str
59ikethrough"})},z.Underline=I;var N=({editor:e=null,editorState:t=null,field:r,readOnly:n,inline:i})=>{let{renderMenu:o,renderInlineMenu:a}=r,l=(0,c.useMemo)(()=>a||T,[a]),d=(0,c.useMemo)(()=>o||T,[o]);return(0,u.jsx)(s.Bq.Provider,{value:{editor:e,editorState:t,inline:i,options:r.options,readOnly:n},children:i?(0,u.jsx)(l,{editor:e,editorState:t,readOnly:n,children:(0,u.jsxs)(B,{children:[(0,u.jsx)(O,{}),(0,u.jsx)(C,{}),(0,u.jsx)(I,{})]})}):(0,u.jsxs)(d,{editor:e,editorState:t,readOnly:n,children:[(0,u.jsxs)(B,{children:[(0,u.jsx)(_,{}),(0,u.jsx)(L,{})]}),(0,u.jsxs)(B,{children:[(0,u.jsx)(O,{}),(0,u.jsx)(C,{}),(0,u.jsx)(I,{})]}),(0,u.jsx)(B,{children:(0,u.jsx)(S,{})})]})})}},30708:(e,t,r)=>{var n=r(96282);function i(e,t){this.totalCount=e,this.dataCount=t}i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var r=i.getRsBlockTable(e,t);if(void 0==r)throw Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,o=[],s=0;s<n;s++)for(var a=r[3*s+0],l=r[3*s+1],u=r[3*s+2],c=0;c<a;c++)o.push(new i(l,u));return o},i.getRsBlockTable=function(e,t){switch(t){case n.L:return i.RS_BLOCK_TABLE[(e-1)*4+0];case n.M:return i.RS_BLOCK_TABLE[(e-1)*4+1];case n.Q:return i.RS_BLOCK_TABLE[(e-1)*4+2];case n.H:return i.RS_BLOCK_TABLE[(e-1)*4+3];default:return}},e.exports=i},31532:(e,t,r)=>{"use strict";r.d(t,{Te:()=>a});var n=r(12115),i=r(47650),o=r(32245);let s="u">typeof document?n.useLayoutEffect:n.useEffect;function a(e){return function({useFlushSync:e=!0,...t}){let r=n.useReducer(()=>({}),{})[1],a={...t,onChange:(n,o)=>{var s;e&&o?(0,i.flushSync)(r):r(),null==(s=t.onChange)||s.call(t,n,o)}},[l]=n.useState(()=>new o.YV(a));return l.setOptions(a),s(()=>
59l._didMount(),[]),s(()=>l._willUpdate()),l}({observeElementRect:o.T6,observeElementOffset:o.AO,scrollToFn:o.Ox,...e})}},31692:(e,t,r)=>{"use strict";r.d(t,{eh:()=>n});let n=e=>(t,r,n)=>{let i=n.subscribe;return n.subscribe=(e,t,r)=>{let o=e;if(t){let i=(null==r?void 0:r.equalityFn)||Object.is,s=e(n.getState());o=r=>{let n=e(r);if(!i(s,n)){let e=s;t(s=n,e)}},(null==r?void 0:r.fireImmediately)&&t(s,s)}return i(o)},e(t,r,n)}},32007:(e,t,r)=>{"use strict";r.d(t,{Oh:()=>o});var n=r(12115),i=0;function o(){n.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??s()),document.body.insertAdjacentElement("beforeend",e[1]??s()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function s(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},32245:(e,t,r)=>{"use strict";function n(e,t,r){let n,i=r.initialDeps??[],o=!0;function s(){var s,a,l;let u,c;r.key&&(null==(s=r.debug)?void 0:s.call(r))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return n;if(i=d,r.key&&(null==(a=r.debug)?void 0:a.call(r))&&(c=Date.now()),n=t(...d),r.key&&(null==(l=r.debug)?void 0:l.call(r))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
60            font-size: .6rem;
61            font-weight: bold;
62            color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return(null==r?void 0:r.onChange)&&!(o&&r.skipInitialOnChange)&&r.onChange(n),o=!1,n}return s.updateDeps=e=>{i=e},s}function i(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}r.d(t,{YV:()=>y,vp:()=>l,Ox:()=>v,AO:()=>f,T6:()=>u,MH:()=>p,TH:()=>d,e8:()=>m});let o=(e,t,r)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout(()=>t.apply(this,i),r)}},s=e=>{let{offsetWidth:t,offsetHeight:r}=e;return{width:t,height:r}},a=e=>e,l=e=>{let t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},u=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=e=>{let{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(i(s(r)),!n.ResizeObserver)return()=>{};let o=new n.ResizeObserver(t=>{let n=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(s(r))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(n):n()});return o.observe(r,{box:"border-box"}),()=>{o.unobserve(r)}},c={passive:!0},d=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=()=>{t({width:r.innerWidth,height:r.innerHeight})};return n(),r.addEventListener("resize",n,c),()=>{r.removeEventListener("resize",n)}},h="u"<typeof window||"onscrollend"in window,f=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=0,s=e.options.useScrollendEvent&&h?()=>void 0:o(n,()=>{t(i,!1)},e.options.isScrollingResetDelay),a=n=>()=>{let{horizontal:o,isRtl:a}=e.options;i=o?r.scrollLeft*(a&&-1||1):r.scrollTop,s(),t(i,n)},l=a(!0),u=a(!1);r.addEventListener("scroll",l,c);let d=e.options.useScrollendEvent&&h;return d&&r.addEventListener("scrollend",u,c),()=>{r.removeEventListener("scroll",l),d&&r.removeEventListener("scrollend",u)}},p=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=0,s=e.options.useScrollendEvent&&h?()=>void 0:o(n,()=>{t(i,!1)},e.options.isScrollingResetDelay),a=n=>()=>{i=r[e.options.horizontal?"scrollX":"scrollY"],s(),t(i,n)},l=a(!0),u=a(!1);r.addEventListener("scroll",l,c);let d=e.options.useScrollendEvent&&h;return d&&r.addEventListener("scrollend",u,c),()=>{r.removeEventListener("scroll",l),d&&r.removeEventListener("scrollend",u)}},g=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return e[r.options.horizontal?"offsetWidth":"offsetHeight"]}
62,m=(e,{adjustments:t=0,behavior:r},n)=>{var i,o;null==(o=null==(i=n.scrollElement)?void 0:i.scrollTo)||o.call(i,{[n.options.horizontal?"left":"top"]:e+t,behavior:r})},v=(e,{adjustments:t=0,behavior:r},n)=>{var i,o;null==(o=null==(i=n.scrollElement)?void 0:i.scrollTo)||o.call(i,{[n.options.horizontal?"left":"top"]:e+t,behavior:r})};class y{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var e,t,r;return(null==(r=null==(t=null==(e=this.targetWindow)?void 0:e.performance)?void 0:t.now)?void 0:r.call(t))??Date.now()},this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{let t=e.target,r=this.indexFromElement(t);t.isConnected?this.shouldMeasureDuringScroll(r)&&this.resizeItem(r,this.options.measureElement(t,e,this)):this.observer.unobserve(t)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,r])=>{void 0===r&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:a,rangeExtractor:l,onChange:()=>{},measureElement:g,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=n(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),null!=this.rafId&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();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.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>
62{let r=new Map,n=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(r.has(t.lane))continue;let o=n.get(t.lane);if(null==o||t.end>o.end?n.set(t.lane,t):t.end<o.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=n(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(e,t,r,n,i,o,s)=>(void 0!==this.prevLanes&&this.prevLanes!==o&&(this.lanesChangedFlag=!0),this.prevLanes=o,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i,lanes:o,laneAssignmentMode:s}),{key:!1}),this.getMeasurements=n(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i,lanes:o,laneAssignmentMode:s},a)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let l=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let u=this.measurementsCache.slice(0,l),c=Array(o).fill(void 0);for(let e=0;e<l;e++){let t=u[e];t&&(c[t.lane]=e)}for(let i=l;i<e;i++){let e,o,l=n(i),d=this.laneAssignments.get(i),h="estimate"===s||a.has(l);if(void 0!==d&&this.options.lanes>1){let n=c[e=d],i=void 0!==n?u[n]:void 0;o=i?i.end+this.options.gap:t+r}else{let n=1===this.options.lanes?u[i-1]:this.getFurthestMeasurement(u,i);o=n?n.end+this.options.gap:t+r,e=n?n.lane:i%this.options.lanes,this.options.lanes>1&&h&&this.laneAssignments.set(i,e)}let f=a.get(l),p="number"==typeof f?f:this.options.estimateSize(i),g=o+p;u[i]={index:i,start:o,size:p,end:g,key:l,lane:e},c[e]=i}return this.measurementsCache=u,u},{key:!1,debug:()=>this.options.debug}),this.calculateRange=n(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,r,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r,lanes:n}){let i=e.length-1;if(e.length<=n)return{startIndex:0,endIndex:i};let o=b(0,i,t=>e[t].start,r),s=o;if(1===n)for(;s<i&&e[s].end<r+t;)s++;else if(n>1){let a=Array(n).fill(0);for(;s<i&&a.some(e=>e<r+t);){let t=e[s];a[t.lane]=t.end,s++}let l=Array(n).fill(r+t);for(;o>=0&&l.some(e=>e>=r);){let t=e[o];l[t.lane]=t.start,o--}o=Math.max(0,o-o%n),s=Math.min(i,s+(n-1-s%n))}return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:r,lanes:n}):null,{key:!1,debug:()=>this.options.debug}
62),this.getVirtualIndexes=n(()=>{let e=null,t=null,r=this.calculateRange();return r&&(e=r.startIndex,t=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,r,n,i)=>null===n||null===i?[]:e({startIndex:n,endIndex:i,overscan:t,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{var t;if(!this.scrollState||"smooth"!==this.scrollState.behavior)return!0;let r=this.scrollState.index??(null==(t=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))?void 0:t.index);if(void 0!==r&&this.range){let t=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),n=Math.max(0,r-t),i=Math.min(this.options.count-1,r+t);return e>=n&&e<=i}return!0},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});let t=this.indexFromElement(e),r=this.options.getItemKey(t),n=this.elementsCache.get(r);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(r,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{var r;let n=this.measurementsCache[e];if(!n)return;let i=t-(this.itemSizeCache.get(n.key)??n.size);0!==i&&((null==(r=this.scrollState)?void 0:r.behavior)!=="smooth"&&(void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,i,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.getVirtualItems=n(()=>
62[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let r=[];for(let n=0,i=e.length;n<i;n++){let i=t[e[n]];r.push(i)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return i(t[b(0,t.length-1,e=>i(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,r=0)=>{if(!this.scrollElement)return 0;let n=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+n?"end":"start"),"center"===t?e+=(r-n)/2:"end"===t&&(e-=n),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getSize(),n=this.getScrollOffset(),i=this.measurementsCache[e];if(!i)return;if("auto"===t)if(i.end>=n+r-this.options.scrollPaddingEnd)t="end";else{if(!(i.start<=n+this.options.scrollPaddingStart))return[n,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let o="end"===t?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t,i.size),t]},this.scrollToOffset=(e,{align:t="start",behavior:r="auto"}={})=>{let n=this.getOffsetForAlignment(e,t),i=this.now();this.scrollState={index:null,align:t,behavior:r,startedAt:i,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:t="auto",behavior:r="auto"}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getOffsetForIndex(e,t);if(!n)return;let[i,o]=n,s=this.now();this.scrollState={index:e,align:o,behavior:r,startedAt:s,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:t="auto"}={})=>{let r=this.getScrollOffset()+e,n=this.now();this.scrollState={index:null,align:"start",behavior:t,startedAt:n,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:t}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var e;let t,r=this.getMeasurements();if(0===r.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=r[r.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),n=r.length-1;for(;n>=0&&e.some(e=>null===e);){let t=r[n];null===e[t.lane]&&(e[t.lane]=t.end),n--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}null==this.rafId&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let e=null!=this.scrollState.index?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=e?e[0]:this.scrollState.lastTargetOffset,r=t!==this.scrollState.lastTargetOffset;if(!r&&1.01>Math.abs(t-this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=1){this.scrollState=null;return}}else this.scrollState.stableFrames=0,r&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior="auto",this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}let b=(e,t,r,n)=>{for(;e<=t;){let i=(e+t)/2|0,o=r(i);if(o<n)e=i+1;else{if(!(o>n))return i;t=i-1}}return e>0?e-1:0}},34466:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var n=r(12115);let i=(e,t)=>{let r=e instanceof Map?e:new Map(e.entries()),n=t instanceof Map?t
62:new Map(t.entries());if(r.size!==n.size)return!1;for(let[e,t]of r)if(!n.has(e)||!Object.is(t,n.get(e)))return!1;return!0};function o(e){let t=n.useRef(void 0);return r=>{let n=e(r);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;if(Symbol.iterator in e&&Symbol.iterator in t){if("entries"in e&&"entries"in t)return i(e,t);let r=e[Symbol.iterator](),n=t[Symbol.iterator](),o=r.next(),s=n.next();for(;!o.done&&!s.done;){if(!Object.is(o.value,s.value))return!1;o=r.next(),s=n.next()}return!!o.done&&!!s.done}return i({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}(t.current,n)?t.current=n:t.current}}},34701:(e,t,r)=>{"use strict";var n=r(82114);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,s){if(s!==n){var a=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 r={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:o,resetWarningCache:i}
62;return r.PropTypes=r,r}},35410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=a(r(14051)),o=r(12115),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}var l={bgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,bgD:i.default.string.isRequired,fgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,fgD:i.default.string.isRequired,size:i.default.number.isRequired,title:i.default.string,viewBoxSize:i.default.number.isRequired,xmlns:i.default.string},u=(0,o.forwardRef)(function(e,t){var r=e.bgColor,i=e.bgD,o=e.fgD,a=e.fgColor,l=e.size,u=e.title,c=e.viewBoxSize,d=e.xmlns,h=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return s.default.createElement("svg",n({},h,{height:l,ref:t,viewBox:"0 0 "+c+" "+c,width:l,xmlns:void 0===d?"http://www.w3.org/2000/svg":d}),u?s.default.createElement("title",null,u):null,s.default.createElement("path",{d:i,fill:r}),s.default.createElement("path",{d:o,fill:a}))});u.displayName="QRCodeSvg",u.propTypes=l,t.default=u},35867:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});let n=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,o={setState:n,getState:i,getInitialState:()=>s,subscribe:e=>(r.add(e),()=>r.delete(e))},s=t=e(n,i,o);return o},i=e=>e?n(e):n},37422:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var n=r(827),i=r(61171),o=r(12115);(0,i.hY)();var s={left:{label:"Left",icon:n.TU},center:{label:"Center",icon:n.xd},right:{label:"Right",icon:n.GY},justify:{label:"Justify",icon:n.mT}},a=e=>{var t;let r=[];return(null==e?void 0:e.textAlign)!==!1&&((null==(t=null==e?void 0:e.textAlign)?void 0:t.alignments)?((null==e?void 0:e.textAlign.alignments.includes("left"))&&r.push("left"),(null==e?void 0:e.textAlign.alignments.includes("center"))&&r.push("center"),(null==e?void 0:e.textAlign.alignments.includes("right"))&&r.push("right"),(null==e?void 0:e.textAlign.alignments.includes("justify"))&&r.push("justify")):r=["left","center","right","justify"]),(0,o.useMemo)(()=>r.map(e=>({value:e,label:s[e].label,icon:s[e].icon})),[r])}},38700:(e,t,r)=>{"use strict";r.d(t,{$A:()=>tl,Bp:()=>tt,cD:()=>eQ,gL:()=>ta,k_:()=>e0,rV:()=>e1,sx:()=>ts,ti:()=>tf,yu:()=>eJ,zY:()=>te});var n,i,o,s,a,l,u,c,d,h,f,p,g,m,v,y,b,w,k,A,E,S,O,C,I,M,j,_,P,D,L,R,T,z,B,N,Y,W,F,$,H,q,U,V,K,Z,X,G,Q,J,ee,et,er,en,ei,eo,es,ea,el,eu,ec,ed,eh,ef,ep,eg,em,ev,ey,eb,ex=r(24129),ew=r(26791),ek=r(1418),eA=Object.create,eE=Object.defineProperty,eS=Object.defineProperties,eO=Object.getOwnPropertyDescriptor,eC=Object.getOwnPropertyDescriptors,eI=Object.getOwnPropertySymbols,eM=Object.prototype.hasOwnProperty,ej=Object.prototype.propertyIsEnumerable,e_=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),eP=e=>{throw TypeError(e)},eD=(e,t,r)=>t in e?eE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eL=(e,t)=>{for(var r in t||(t={}))eM.call(t,r)&&eD(e,r,t[r]);if(eI)for(var r of eI(t))ej.call(t,r)&&eD(e,r,t[r]);return e},eR=(e,t)=>eS(e,eC(t)),eT=(e,t)=>eE(e,"name",{value:t,configurable:!0}),ez=(e,t)=>{var r={};for(var n in e)eM.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&eI)for(var n of eI(e))0>t.indexOf(n)&&ej.call(e,n)&&(r[n]=e[n]);return r},eB=e=>{var t;return[,,,eA(null!=(t=null==e?void 0:e[e_("metadata")])?t:null)]},eN=["class","method","getter","setter","accessor","field","value","get","set"],eY=e=>void 0!==e&&"function"!=typeof e?eP("Function expected"):e,eW=(e,t,r,n,i)=>({kind:eN[e],name:t,metadata:n,addInitializer:e=>r._?eP("Already initialized"):i.push(eY(e||null))}),eF=(e,t)=>eD(t,e_("metadata"),e[3]),e$=(e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)1&t?o[i].call(r):n=o[i].call(r,n);return n},eH=(e,t,r,n,i,o)=>{var s,a,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,g=eN[d+5],m=d>3&&(e[p-1]=[]),v=e[p]||(e[p]=[]),y=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&eO(d<4?i:{get[r](){return eV(this,o)},set[r](x){return eZ(this,o,x)}},r));d?f&&d<4&&eT(o,(d>2?"set ":d>1?"get ":"")+r):eT(i,r);for(var b=n.length-1;b>=0;b--)u=eW(d,r,l={},e[3],v),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>eU(i,e):e=>r in e},3^d&&(c.get=f?e=>
62(1^d?eV:eX)(e,i,4^d?o:y.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>eZ(e,i,t,4^d?o:y.set):(e,t)=>e[r]=t)),a=(0,n[b])(d?d<4?f?o:y[g]:d>4?void 0:{get:y.get,set:y.set}:i,u),l._=1,4^d||void 0===a?eY(a)&&(d>4?m.unshift(a):d?f?o=a:y[g]=a:i=a):"object"!=typeof a||null===a?eP("Object expected"):(eY(s=a.get)&&(y.get=s),eY(s=a.set)&&(y.set=s),eY(s=a.init)&&m.unshift(s));return d||eF(e,i),y&&eE(i,r,y),f?4^d?o:y:i},eq=(e,t,r)=>t.has(e)||eP("Cannot "+r),eU=(e,t)=>Object(t)!==t?eP('Cannot use the "in" operator on this value'):e.has(t),eV=(e,t,r)=>(eq(e,t,"read from private field"),r?r.call(e):t.get(e)),eK=(e,t,r)=>t.has(e)?eP("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),eZ=(e,t,r,n)=>(eq(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),eX=(e,t,r)=>(eq(e,t,"access private method"),r);function eG(e,t){return{plugin:e,options:t}}function eQ(e){return t=>eG(e,t)}function eJ(e){return"function"==typeof e?{plugin:e,options:void 0}:e}o=[ex.Kh];var e0=class{constructor(e,t){this.manager=e,this.options=t,eK(this,a,e$(s,8,this,!1)),e$(s,11,this),eK(this,l,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return(0,ew.O8)(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let t=(0,ew.QZ)(e.bind(this));return eV(this,l).add(t),t}destroy(){eV(this,l).forEach(e=>e())}static configure(e){return eG(this,e)}};s=eB(null),a=new WeakMap,l=new WeakMap,eH(s,4,"disabled",o,e0,a),eF(s,e0);var e1=class extends e0{},e2=class{constructor(e){this.manager=e,this.instances=new Map,eK(this,u,[])}get values(){return Array.from(this.instances.values())}set values(e){let t=e.map(eJ).reduceRight((e,t)=>e.some(({plugin:e})=>e===t.plugin)?e:[t,...e],[]),r=t.map(({plugin:e})=>e);for(let e of eV(this,u))if(!r.includes(e)){if(e.prototype instanceof e1)continue;this.unregister(e)}for(let{plugin:e,options:r}of t)this.register(e,r);eZ(this,u,r)}get(e){return this.instances.get(e)}register(e,t){let r=this.instances.get(e);if(r)return r.options!==t&&(r.options=t),r;let n=new e(this.manager,t);return this.instances.set(e,n),n}unregister(e){let t=this.instances.get(e);t&&(t.destroy(),this.instances.delete(e))}destroy(){for(let e of this.instances.values())e.destroy();this.instances.clear()}};function e4(e,t){return e.priority===t.priority?e.type===t.type?t.value-e.value:t.type-e.type:t.priority-e.priority}u=new WeakMap;var e5=[],e6=class extends e0{constructor(e){super(e),eK(this,c),eK(this,d),this.computeCollisions=this.computeCollisions.bind(this),eZ(this,d,(0,ew.vP)(e5)),this.destroy=(0,ex.zb)(()=>{let e=this.computeCollisions(),t=(0,ew.O8)(()=>this.manager.dragOperation.position.current);if(e!==e5){let e=eV(this,c);if(eZ(this,c,t),e&&t.x==e.x&&t.y==e.y)return}else eZ(this,c,void 0);eV(this,d).value=e},()=>{let{dragOperation:e}=this.manager;e.status.initialized&&this.forceUpdate()})}forceUpdate(e=!0){(0,ew.O8)(()=>{e?eV(this,d).value=this.computeCollisions():eZ(this,c,void 0)})}computeCollisions(e,t){let{registry:r,dragOperation:n}=this.manager,{source:i,shape:o,status:s}=n;if(!s.initialized||!o)return e5;let a=[],l=[];for(let o of null!=e?e:r.droppables){if(o.disabled||i&&!o.accepts(i))continue;let e=null!=t?t:o.collisionDetector;if(!e)continue;l.push(o),o.shape;let r=(0,ew.O8)(()=>e({droppable:o,dragOperation:n}));r&&(null!=o.collisionPriority&&(r.priority=o.collisionPriority),a.push(r))}return 0===l.length?e5:(a.sort(e4),a)}get collisions(){return eV(this,d).value}};c=new WeakMap,d=new WeakMap;var e3=class{constructor(){this.registry=new Map}addEventListener(e,t){let{registry:r}=this,n=new Set(r.get(e));return n.add(t),r.set(e,n),()=>this.removeEventListener(e,t)}removeEventListener(e,t){let{registry:r}=this,n=new Set(r.get(e));n.delete(t),r.set(e,n)}dispatch(e,...t){let{registry:r}=this,n=r.get(e);if(n)for(let e of n)e(...t)}},e8=class extends e3{constructor(e){super(),this.manager=e}dispatch(e,t){let r=[t,this.manager];super.dispatch(e,...r)}};function e7(e,t=!0){let r=!1;return eR(eL({},e),{cancelable:t,get defaultPrevented(){return r},preventDefault(){t&&(r=!0)}})}var e9=class extends e1{constructor(e){super(e);let t=[];this.destroy=(0,ex.zb)(()=>{let{dragOperation:r,collisionObserver:n}=e;r.status.initializing&&(t=[],n.enable())},()=>{let r,{collisionObserver:n,monitor:i}=e,{collisions:o}=n;if(n.isDisabled())return;let s=e7({collisions:o});if(i.dispatch("collision",s),s.defaultPrevented||(r=t,o.map(({id:e})=>e).join("")===r.map(({id:e})=>e).join("")))return;t=o;let[a]=o;(0,ew.O8)(()=>{var t;(null==a?void 0:a.id)!==(null==(t=e.dragOperation.target)?void 0:t.id)&&(n.disable(),e.actions.setDropTarget(null==a?void 0:a.id).then(()=>{n.enable()}))})})}},te=((n=te||{})[n.Lowest=0]="Lowest",n[n.Low=1]="Low",n[n.Normal=2]="Normal",n[n.High=3]="High",n[n.Highe
62st=4]="Highest",n),tt=((i=tt||{})[i.Collision=0]="Collision",i[i.ShapeIntersection=1]="ShapeIntersection",i[i.PointerIntersection=2]="PointerIntersection",i);y=[ex.Kh],v=[ex.un],m=[ex.un],g=[ex.un],p=[ex.un],f=[ex.un],h=[ex.un];var tr=class{constructor(){e$(b,5,this),eK(this,w,e$(b,8,this,"idle")),e$(b,11,this)}get current(){return this.value}get idle(){return"idle"===this.value}get initializing(){return"initializing"===this.value}get initialized(){let{value:e}=this;return"idle"!==e&&"initialization-pending"!==e}get dragging(){return"dragging"===this.value}get dropped(){return"dropped"===this.value}set(e){this.value=e}};b=eB(null),w=new WeakMap,eH(b,4,"value",y,tr,w),eH(b,2,"current",v,tr),eH(b,2,"idle",m,tr),eH(b,2,"initializing",g,tr),eH(b,2,"initialized",p,tr),eH(b,2,"dragging",f,tr),eH(b,2,"dropped",h,tr),eF(b,tr);var tn=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:t}=this.manager;t.sourceIdentifier="string"==typeof e||"number"==typeof e?e:e.id}setDropTarget(e){return(0,ew.O8)(()=>{let{dragOperation:t}=this.manager,r=null!=e?e:null;if(t.targetIdentifier===r)return Promise.resolve(!1);t.targetIdentifier=r;let n=e7({operation:t.snapshot()});return t.status.dragging&&this.manager.monitor.dispatch("dragover",n),this.manager.renderer.rendering.then(()=>n.defaultPrevented)})}start(e){return(0,ew.O8)(()=>{let{dragOperation:t}=this.manager;if(null!=e.source&&this.setDragSource(e.source),!t.source)throw Error("Cannot start a drag operation without a drag source");if(!t.status.idle)throw Error("Cannot start a drag operation while another is active");let r=new AbortController,{event:n,coordinates:i}=e;(0,ew.vA)(()=>{t.status.set("initialization-pending"),t.shape=null,t.canceled=!1,t.activatorEvent=null!=n?n:null,t.position.reset(i)});let o=e7({operation:t.snapshot()});return(this.manager.monitor.dispatch("beforedragstart",o),o.defaultPrevented)?(t.reset(),r.abort()):(t.status.set("initializing"),t.controller=r,this.manager.renderer.rendering.then(()=>{if(r.signal.aborted)return;let{status:e}=t;"initializing"===e.current&&(t.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:n,operation:t.snapshot(),cancelable:!1}))})),r})}move(e){return(0,ew.O8)(()=>{var t,r;let{dragOperation:n}=this.manager,{status:i,controller:o}=n;if(!i.dragging||!o||o.signal.aborted)return;let s=e7({nativeEvent:e.event,operation:n.snapshot(),by:e.by,to:e.to},null==(t=e.cancelable)||t);(null==(r=e.propagate)||r)&&this.manager.monitor.dispatch("dragmove",s),queueMicrotask(()=>{var t,r,i,o,a;if(s.defaultPrevented)return;let l=null!=(a=e.to)?a:{x:n.position.current.x+(null!=(r=null==(t=e.by)?void 0:t.x)?r:0),y:n.position.current.y+(null!=(o=null==(i=e.by)?void 0:i.y)?o:0)};n.position.current=l})})}stop(e={}){return(0,ew.O8)(()=>{var t,r;let n,{dragOperation:i}=this.manager,{controller:o}=i;if(!o||o.signal.aborted)return;o.abort();let s=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let e=(0,ew.O8)(()=>{var e;return(null==(e=i.source)?void 0:e.status)==="dropping"}),t=()=>{i.controller===o&&(i.controller=void 0),i.reset()};if(e){let{source:e}=i,r=(0,ew.QZ)(()=>{(null==e?void 0:e.status)==="idle"&&(r(),t())})}else this.manager.renderer.rendering.then(t)})};i.canceled=null!=(t=e.canceled)&&t,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:null!=(r=e.canceled)&&r,suspend:()=>{let e={resume:()=>{},abort:()=>{}};return n=new Promise((t,r)=>{e.resume=t,e.abort=r}),e}}),n?n.then(s).catch(()=>i.reset()):s()})}};S=[ex.Kh],E=[ex.Kh],A=[ex.Kh],k=[ex.Kh];var ti=class{constructor(e,t){eK(this,C,e$(O,8,this)),e$(O,11,this),eK(this,I,e$(O,12,this)),e$(O,15,this),eK(this,M,e$(O,16,this)),e$(O,19,this),eK(this,j,e$(O,20,this)),e$(O,23,this);const{effects:r,id:n,data:i={},disabled:o=!1,register:s=!0}=e;this.manager=t,this.id=n,this.data=i,this.disabled=o,this.effects=()=>{var e;return[()=>{let{id:e,manager:t}=this;if(e!==n)return null==t||t.registry.register(this),()=>null==t?void 0:t.registry.unregister(this)},...null!=(e=null==r?void 0:r())?e:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),t&&s&&queueMicrotask(this.register)}register(){var e;return null==(e=this.manager)?void 0:e.registry.register(this)}unregister(){var e;null==(e=this.manager)||e.registry.unregister(this)}destroy(){var e;null==(e=this.manager)||e.registry.unregister(this)}};O=eB(null),C=new WeakMap,I=new WeakMap,M=new WeakMap,j=new WeakMap,eH(O,4,"manager",S,ti,C),eH(O,4,"id",E,ti,I),eH(O,4,"data",A,ti,M),eH(O,4,"disabled",k,ti,j),eF(O,ti);var to=class{constructor(){this.map=(0,ew.vP)(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,t)=>{let r=this.map.peek(),n=r.get(e),i=()=>this.unregister(e,t);if(n===t)return i;if(n){let e=this.cleanupFunctions.get(n);null==e||e(),this.cleanupFunctions.delete(n)}let o=new Map(r);o.set(e,t),this.map.value=o;let s=(0,ex.zb)(...t.effects());return this.cleanupFunctions.set(t,s),i},this.unregister=(e,t)=>{let r=this.map.peek();if(r.get(e)!==t)return;let n=this.cleanupFunctions.get(t);null==n||n(),this.cleanupFunctions.delete(t);let i=new Map(r);i.delete(e),this.map.value=i}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let t=this.cleanupFunctions.get(e);null==t||t(),e.destroy()}this.map.value=new Map}},ts=class extends(z=ti,T=[ex.Kh],R=[ex.Kh],L=[ex.Kh],D=[ex.un],P=[ex.un],_=[ex.un],z){constructor(e,t){var{modifiers:r,type:n,sensors:i}=e,o=ez(e,["modifiers","type","sensors"]);super(o,t),e$(B,5,this),eK(this,N,e$(B,8,this)),e$(B,11,this),eK(this,Y,e$(B,12,this)),e$(B,15,this),eK(this,W,e$(B,16,this,this.isDragSource?"dragging":"idle")),e$(B,19,this),this.type=n,this.sensors=i,this.modifiers=r,this.alignment=o.alignment}get isDropping(){return"dropping"===this.status&&this.isDragSource}get isDragging(){return"dragging"===this.status&&this.isDragSource}get isDragSource(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.source)?void 0:t.id)===this.id}};
62B=eB(z),N=new WeakMap,Y=new WeakMap,W=new WeakMap,eH(B,4,"type",T,ts,N),eH(B,4,"modifiers",R,ts,Y),eH(B,4,"status",L,ts,W),eH(B,2,"isDropping",D,ts),eH(B,2,"isDragging",P,ts),eH(B,2,"isDragSource",_,ts),eF(B,ts);var ta=class extends(K=ti,V=[ex.Kh],U=[ex.Kh],q=[ex.Kh],H=[ex.Kh],$=[ex.Kh],F=[ex.un],K){constructor(e,t){var{accept:r,collisionDetector:n,collisionPriority:i,type:o}=e;super(ez(e,["accept","collisionDetector","collisionPriority","type"]),t),e$(Z,5,this),eK(this,X,e$(Z,8,this)),e$(Z,11,this),eK(this,G,e$(Z,12,this)),e$(Z,15,this),eK(this,Q,e$(Z,16,this)),e$(Z,19,this),eK(this,J,e$(Z,20,this)),e$(Z,23,this),eK(this,ee,e$(Z,24,this)),e$(Z,27,this),this.accept=r,this.collisionDetector=n,this.collisionPriority=i,this.type=o}accepts(e){let{accept:t}=this;return!t||("function"==typeof t?t(e):!!e.type&&(Array.isArray(t)?t.includes(e.type):e.type===t))}get isDropTarget(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.target)?void 0:t.id)===this.id}};Z=eB(K),X=new WeakMap,G=new WeakMap,Q=new WeakMap,J=new WeakMap,ee=new WeakMap,eH(Z,4,"accept",V,ta,X),eH(Z,4,"type",U,ta,G),eH(Z,4,"collisionDetector",q,ta,Q),eH(Z,4,"collisionPriority",H,ta,J),eH(Z,4,"shape",$,ta,ee),eH(Z,2,"isDropTarget",F,ta),eF(Z,ta);var tl=class extends e0{constructor(e,t){super(e,t),this.manager=e,this.options=t}},tu=class extends e0{constructor(e,t){super(e,t),this.manager=e,this.options=t}apply(e){return e.transform}},tc=class{constructor(e){this.draggables=new to,this.droppables=new to,this.plugins=new e2(e),this.sensors=new e2(e),this.modifiers=new e2(e)}register(e,t){if(e instanceof ts)return this.draggables.register(e.id,e);if(e instanceof ta)return this.droppables.register(e.id,e);if(e.prototype instanceof tu)return this.modifiers.register(e,t);if(e.prototype instanceof tl)return this.sensors.register(e,t);if(e.prototype instanceof e0)return this.plugins.register(e,t);throw Error("Invalid instance type")}unregister(e){if(e instanceof ti)return e instanceof ts?this.draggables.unregister(e.id,e):e instanceof ta?this.droppables.unregister(e.id,e):()=>{};if(e.prototype instanceof tu)return this.modifiers.unregister(e);if(e.prototype instanceof tl)return this.sensors.unregister(e);if(e.prototype instanceof e0)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}};eu=[ex.un],el=[ex.Kh],ea=[ex.Kh],es=[ex.Kh],eo=[ex.Kh],ei=[ex.Kh],en=[ex.un],er=[ex.un],et=[ex.un];var td=class{constructor(e){e$(ef,5,this),eK(this,ec),eK(this,ed),eK(this,eh,new ex.Wf(void 0,(e,t)=>e&&t?e.equals(t):e===t)),this.status=new tr,eK(this,ep,e$(ef,8,this,!1)),e$(ef,11,this),eK(this,eg,e$(ef,12,this,null)),e$(ef,15,this),eK(this,em,e$(ef,16,this,null)),e$(ef,19,this),eK(this,ev,e$(ef,20,this,null)),e$(ef,23,this),eK(this,ey,e$(ef,24,this,[])),e$(ef,27,this),this.position=new ek.yX({x:0,y:0}),eK(this,eb,{x:0,y:0}),eZ(this,ec,e)}get shape(){let{current:e,initial:t,previous:r}=eV(this,eh);return e&&t?{current:e,initial:t,previous:r}:null}set shape(e){e?eV(this,eh).current=e:eV(this,eh).reset()}get source(){var e;let t=this.sourceIdentifier;if(null==t)return null;let r=eV(this,ec).registry.draggables.get(t);return r&&eZ(this,ed,r),null!=(e=null!=r?r:eV(this,ed))?e:null}get target(){var e;let t=this.targetIdentifier;return null!=t&&null!=(e=eV(this,ec).registry.droppables.get(t))?e:null}get transform(){let{x:e,y:t}=this.position.delta,r={x:e,y:t};for(let e of this.modifiers)r=e.apply(eR(eL({},this.snapshot()),{transform:r}));return eZ(this,eb,r),r}snapshot(){return(0,ew.O8)(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:eV(this,eb),shape:this.shape?(0,ex.P9)(this.shape):null,position:(0,ex.P9)(this.position),status:(0,ex.P9)(this.status),canceled:this.canceled}))}reset(){(0,ew.vA)(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,eV(this,eh).reset(),this.position.reset({x:0,y:0}),eZ(this,eb,{x:0,y:0}),this.modifiers=[]})}};ef=eB(null),ec=new WeakMap,ed=new WeakMap,eh=new WeakMap,ep=new WeakMap,eg=new WeakMap,em=new WeakMap,ev=new WeakMap,ey=new WeakMap,eb=new WeakMap,eH(ef,2,"shape",eu,td),eH(ef,4,"canceled",el,td,ep),eH(ef,4,"activatorEvent",ea,td,eg),eH(ef,4,"sourceIdentifier",es,td,em),eH(ef,4,"targetIdentifier",eo,td,ev),eH(ef,4,"modifiers",ei,td,ey),eH(ef,2,"source",en,td),eH(ef,2,"target",er,td),eH(ef,2,"transform",et,td),eF(ef,td);var th={get rendering(){return Promise.resolve()}},tf=class{constructor(e){this.destroy=()=>{this.dragOperation.status.idle||this.actions.stop({canceled:!0}
62),this.dragOperation.modifiers.forEach(e=>e.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};const{plugins:t=[],sensors:r=[],modifiers:n=[],renderer:i=th}=null!=e?e:{},o=new e8(this),s=new tc(this);this.registry=s,this.monitor=o,this.renderer=i,this.actions=new tn(this),this.dragOperation=new td(this),this.collisionObserver=new e6(this),this.plugins=[e9,...t],this.modifiers=n,this.sensors=r;const{destroy:a}=this,l=(0,ex.zb)(()=>{var e,t,r;let n=(0,ew.O8)(()=>this.dragOperation.modifiers),i=this.modifiers;n!==i&&n.forEach(e=>e.destroy()),this.dragOperation.modifiers=null!=(r=null==(t=null==(e=this.dragOperation.source)?void 0:e.modifiers)?void 0:t.map(e=>{let{plugin:t,options:r}=eJ(e);return new t(this,r)}))?r:i});this.destroy=()=>{l(),a()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}}},38838:(e,t,r)=>{var n=r(15898);function i(e,t){if(void 0==e.length)throw Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}i.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<e.getLength();o++)t[r+o]^=n.gexp(n.glog(this.get(r))+n.glog(e.get(o)));return new i(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=n.glog(this.get(0))-n.glog(e.get(0)),r=Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(var o=0;o<e.getLength();o++)r[o]^=n.gexp(n.glog(e.get(o))+t);return new i(r,0).mod(e)}},e.exports=i},38894:(e,t,r)=>{"use strict";r.d(t,{YQ:()=>i,d7:()=>a});var n=r(12115);function i(e,t,r){var i=this,o=(0,n.useRef)(null),s=(0,n.useRef)(0),a=(0,n.useRef)(null),l=(0,n.useRef)([]),u=(0,n.useRef)(),c=(0,n.useRef)(),d=(0,n.useRef)(e),h=(0,n.useRef)(!0);(0,n.useEffect)(function(){d.current=e},[e]);var f=!t&&0!==t&&"u">typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var p=!!(r=r||{}).leading,g=!("trailing"in r)||!!r.trailing,m="maxWait"in r,v=m?Math.max(+r.maxWait||0,t):null;return(0,n.useEffect)(function(){return h.current=!0,function(){h.current=!1}},[]),(0,n.useMemo)(function(){var e=function(e){var t=l.current,r=u.current;return l.current=u.current=null,s.current=e,c.current=d.current.apply(r,t)},r=function(e,t){f&&cancelAnimationFrame(a.current),a.current=f?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!h.current)return!1;var r=e-o.current;return!o.current||r>=t||r<0||m&&e-s.current>=v},y=function(t){return a.current=null,g&&l.current?e(t):(l.current=u.current=null,c.current)},b=function e(){var i=Date.now();if(n(i))return y(i);if(h.current){var a=t-(i-o.current);r(e,m?Math.min(a,v-(i-s.current)):a)}},w=function(){var d=Date.now(),f=n(d);if(l.current=[].slice.call(arguments),u.current=i,o.current=d,f){if(!a.current&&h.current)return s.current=o.current,r(b,t),p?e(o.current):c.current;if(m)return r(b,t),e(o.current)}return a.current||r(b,t),c.current};return w.cancel=function(){a.current&&(f?cancelAnimationFrame(a.current):clearTimeout(a.current)),s.current=0,l.current=o.current=u.current=a.current=null},w.isPending=function(){return!!a.current},w.flush=function(){return a.current?y(Date.now()):c.current},w},[p,m,t,v,g,f])}function o(e,t){return e===t}function s(e){return"function"==typeof e?function(){return e}:e}function a(e,t,r){var a,l,u=r&&r.equalityFn||o,c=(l=(a=(0,n.useState)(s(e)))[1],[a[0],(0,n.useCallback)(function(e){return l(s(e))},[])]),d=c[0],h=c[1],f=i((0,n.useCallback)(function(e){return h(e)},[h]),t,r),p=(0,n.useRef)(e);return u(p.current,e)||(f(e),p.current=e),[d,f]}},41535:(e,t,r)=>{"use strict";r.d(t,{P:()=>s,v:()=>l});var n=r(12115),i=r(35867);let o=e=>e;function s(e,t=o){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r}let a=e=>{let t=(0,i.y)(e),r=e=>s(t,e);return Object.assign(r,t),r},l=e=>e?a(e):a},42442:(e,t,r)=>{"use strict";r.d(t,{TL:()=>s});var n=r(12115),i=r(47527),o=r(95155);function s(e){var t;let r,s=(t=e,(r=n.forwardRef((e,t)=>
62{let{children:r,...o}=e;if(n.isValidElement(r)){var s;let e,a,l=(s=r,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),a=n.forwardRef((e,t)=>{let{children:r,...i}=e,a=n.Children.toArray(r),u=a.find(l);if(u){let e=u.props.children,r=a.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(s,{...i,ref:t,children:r})});return a.displayName=`${e}.Slot`,a}var a=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},43146:(e,t,r)=>{"use strict";r.d(t,{UC:()=>et,VY:()=>en,ZL:()=>J,bL:()=>Q,bm:()=>ei,hE:()=>er,hJ:()=>ee});var n=r(12115),i=r(70379),o=r(47527),s=r(68599),a=r(89971),l=r(98979),u=r(98454),c=r(69885),d=r(19040),h=r(83935),f=r(55897),p=r(32007),g=r(5174),m=r(22954),v=r(42442),y=r(95155),b="Dialog",[w,k]=(0,s.A)(b),[A,E]=w(b),S=e=>{let{__scopeDialog:t,children:r,open:i,defaultOpen:o,onOpenChange:s,modal:u=!0}=e,c=n.useRef(null),d=n.useRef(null),[h,f]=(0,l.i)({prop:i,defaultProp:o??!1,onChange:s,caller:b});return(0,y.jsx)(A,{scope:t,triggerRef:c,contentRef:d,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:h,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:u,children:r})};S.displayName=b;var O="DialogTrigger";n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,s=E(O,r),a=(0,o.s)(t,s.triggerRef);return(0,y.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":U(s.open),...n,ref:a,onClick:(0,i.mK)(e.onClick,s.onOpenToggle)})}).displayName=O;var C="DialogPortal",[I,M]=w(C,{forceMount:void 0}),j=e=>{let{__scopeDialog:t,forceMount:r,children:i,container:o}=e,s=E(C,t);return(0,y.jsx)(I,{scope:t,forceMount:r,children:n.Children.map(i,e=>(0,y.jsx)(h.C,{present:r||s.open,children:(0,y.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};j.displayName=C;var _="DialogOverlay",P=n.forwardRef((e,t)=>{let r=M(_,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=E(_,e.__scopeDialog);return o.modal?(0,y.jsx)(h.C,{present:n||o.open,children:(0,y.jsx)(L,{...i,ref:t})}):null});P.displayName=_;var D=(0,v.TL)("DialogOverlay.RemoveScroll"),L=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=E(_,r);return(0,y.jsx)(g.A,{as:D,allowPinchZoom:!0,shards:[i.contentRef],children:(0,y.jsx)(f.sG.div,{"data-state":U(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),R="DialogContent",T=n.forwardRef((e,t)=>{let r=M(R,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=E(R,e.__scopeDialog);return(0,y.jsx)(h.C,{present:n||o.open,children:o.modal?(0,y.jsx)(z,{...i,ref:t}):(0,y.jsx)(B,{...i,ref:t})})});T.displayName=R;var z=n.forwardRef((e,t)=>{let r=E(R,e.__scopeDialog),s=n.useRef(null),a=(0,o.s)(t,r.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,m.Eq)(e)},[]),(0,y.jsx)(N,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault())})}),B=n.forwardRef((e,t)=>{let r=E(R,e.__scopeDialog),i=n.useRef(!1),o=n.useRef(!1);return(0,y.jsx)(N,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||r.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),N=n.forwardRef((e,t)=>
62{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:a,...l}=e,d=E(R,r),h=n.useRef(null),f=(0,o.s)(t,h);return(0,p.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:a,children:(0,y.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":U(d.open),...l,ref:f,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(X,{titleId:d.titleId}),(0,y.jsx)(G,{contentRef:h,descriptionId:d.descriptionId})]})]})}),Y="DialogTitle",W=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=E(Y,r);return(0,y.jsx)(f.sG.h2,{id:i.titleId,...n,ref:t})});W.displayName=Y;var F="DialogDescription",$=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=E(F,r);return(0,y.jsx)(f.sG.p,{id:i.descriptionId,...n,ref:t})});$.displayName=F;var H="DialogClose",q=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(H,r);return(0,y.jsx)(f.sG.button,{type:"button",...n,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})});function U(e){return e?"open":"closed"}q.displayName=H;var V="DialogTitleWarning",[K,Z]=(0,s.q)(V,{contentName:R,titleName:Y,docsSlug:"dialog"}),X=({titleId:e})=>{let t=Z(V),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
63
64If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
65
66For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},G=({contentRef:e,descriptionId:t})=>{let r=Z("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},Q=S,J=j,ee=P,et=T,er=W,en=$,ei=q},47225:(e,t,r)=>{"use strict";r.d(t,{BQ:()=>h,Ht:()=>p,P7:()=>k,Sj:()=>m,hB:()=>f,o2:()=>d,tw:()=>y,vO:()=>b});var n=r(49336),i=r(73464),o=r(60077),s=r(16563),a=r(61171),l=r(12115),u=r(95155);(0,a.hY)(),(0,a.hY)(),(0,a.hY)();var c=e=>(0,a.ko)((0,a.IA)({},e),{root:e.root||{},content:e.content||[]});function d(e,t){return(0,a.BU)(this,arguments,function*(e,t,r={},n,o){var l;let u=c(e),d=Object.entries(null!=(l=u.zones)?l:{}).reduce((e,[t,r])=>{let[n,i]=(0,s.q4)(t);return n.length&&i.length&&(e[n]||(e[n]=[]),e[n].push({zoneCompound:t,content:r})),e},{}),h={},f=(e,l)=>(0,a.BU)(null,null,function*(){let u=(0,s.Rn)(e);null==n||n(u);let c=(yield(0,i.kW)(u,t,r,()=>{},()=>{},"force",l)).node,f=(0,s.Rn)(c),g=(0,s.YP)(c,{slot:({value:e})=>p(e,f)},t),m=[];d[f.props.id]&&(m=d[f.props.id].map(e=>(0,a.BU)(null,[e],function*({zoneCompound:e,content:t}){h[e]=yield p(t,f)})));let v=yield g;return yield Promise.all(m),null==o||o((0,s.Rn)(v)),v}),p=(e,t)=>(0,a.BU)(null,null,function*(){return Promise.all(e.map(e=>f(e,t)))}),g=c({});return g.root=yield f(u.root,null),g.content=yield p(u.content,(0,s.Rn)(g.root)),g.zones=h,g})}(0,a.hY)(),(0,a.hY)(),(0,a.hY)();var h=(e,t=e)=>({slot:({value:r,propName:n,field:i,isReadOnly:o})=>{let s=o?t:e;return e=>s((0,a.ko)((0,a.IA)({allow:(null==i?void 0:i.type)==="slot"?i.allow:[],disallow:(null==i?void 0:i.type)==="slot"?i.disallow:[]},e),{zone:n,content:r}))}});function f(e,t,r){return Object.keys(e).reduce((n,i)=>(0,a.ko)((0,a.IA)({},n),{[i]:n=>{var{parentId:o}=n,s=(0,a.YG)(n,["parentId"]);let l=s.propPath.replace(/\[\d+\]/g,"[*]"),u=(null==t?void 0:t[s.propPath])||(null==t?void 0:t[l])||r||!1,c=e[i];return null==c?void 0:c((0,a.ko)((0,a.IA)({},s),{isReadOnly:u,componentId:o}))}}),{})}function p(e,t,r,n=r,i,o){var u;let c,d;return u=h(r,n),c=(0,l.useMemo)(()=>f(u,i,o),[u,i,o]),d=(0,l.useMemo)(()=>(0,s.YP)(t,c,e).props,[e,t,c]),(0,l.useMemo)(()=>(0,a.IA)((0,a.IA)({},t.props),d),[t.props,d])}(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)();var g=(0,o.d)("RichTextEditor",n.o);function m({content:e}){return(0,u.jsx)("div",{className:g(),children:(0,u.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:e}})})}(0,a.hY)();var v=(e,t,r)=>{if(!e)return null;if(0===t.length)return r(e);let[n,...i]=t;return Array.isArray(e)?e.map(e=>v(e,t,r)):(0,a.ko)((0,a.IA)({},e),{[n]:v(e[n],i,r)})};function y(e,t){let n=(e,t=[])=>{if(!e)return[];let r=[];for(let[i,o]of Object.entries(e)){let e=[...t,i];"richtext"===o.type&&r.push({path:e,field:o}),"array"===o.type&&"arrayFields"in o&&r.push(...n(o.arrayFields,e)),"object"===o.type&&"objectFields"in o&&r.push(...n(o.objectFields,e))}return r},i=(0,l.useMemo)(()=>n(e),[e]);return(0,l.useMemo)(()=>
66{if(!(null==i?void 0:i.length))return{};let e=(0,l.lazy)(()=>Promise.all([r.e(5004),r.e(277),r.e(9356),r.e(2981),r.e(6244)]).then(r.bind(r,36244)).then(e=>({default:e.RichTextRender}))),n=(0,a.IA)({},t);for(let{path:t,field:r}of i)n=v(n,t,t=>(0,u.jsx)(l.Suspense,{fallback:(0,u.jsx)(m,{content:t}),children:(0,u.jsx)(e,{content:t,field:r})},(0,s.$C)()));return n},[i,t,e])}(0,a.hY)();var b=e=>(0,u.jsx)(k,(0,a.IA)({},e)),w=({config:e,item:t,metadata:r})=>{let n=e.components[t.type],i=p(e,t,t=>(0,u.jsx)(b,(0,a.ko)((0,a.IA)({},t),{config:e,metadata:r}))),o=y(n.fields,i);return(0,u.jsx)(n.render,(0,a.ko)((0,a.IA)((0,a.IA)({},i),o),{puck:(0,a.ko)((0,a.IA)({},i.puck),{metadata:r||{}})}))},k=(0,l.forwardRef)(function({className:e,style:t,content:r,config:n,metadata:i,as:o},s){return(0,u.jsx)(null!=o?o:"div",{className:e,style:t,ref:s,children:r.map(e=>n.components[e.type]?(0,u.jsx)(w,{config:n,item:e,metadata:i},e.props.id):null)})})},47527:(e,t,r)=>{"use strict";r.d(t,{s:()=>s,t:()=>o});var n=r(12115);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function s(...e){return n.useCallback(o(...e),e)}},49336:(e,t,r)=>{"use strict";r.d(t,{o:()=>n}),(0,r(61171).hY)();var n={RichTextEditor:"_RichTextEditor_z25h4_1","RichTextEditor--editor":"_RichTextEditor--editor_z25h4_50","RichTextEditor--disabled":"_RichTextEditor--disabled_z25h4_107","RichTextEditor--isActive":"_RichTextEditor--isActive_z25h4_111","RichTextEditor-menu":"_RichTextEditor-menu_z25h4_117"}},52957:e=>{function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(var r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},54306:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>G});var n=r(12115),i=r(28819),o=r(24866),s=r(25620),a=r(10887);class l{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return u(this.animations,"duration")}get iterationDuration(){return u(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function u(e,t){let r=0;for(let n=0;n<e.length;n++){let i=e[n][t];null!==i&&i>r&&(r=i)}return r}class c extends l{then(e,t){return this.finished.finally(e).then(()=>{})}}var d=r(78170),h=r(6900),f=r(13031),p=r(59337),g=r(70954),m=r(26262),v=r(17611),y=r(51469),b=r(38621),w=r(5556),k=r(85843);function A(e,t){var r;let n;return(0,k.h)(e)?e[r=e.length,((t-0)%(n=r-0)+n)%n+0]:e}var E=r(18844),S=r(58392);function O(e){return"object"==typeof e&&!Array.isArray(e)}function C(e,t,r,n){return null==e?[]:"string"==typeof e&&O(t)?(0,S.K)(e,r,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function I(e,t,r,n){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?r:t.startsWith("<")?Math.max(0,r+parseFloat(t.slice(1))):n.get(t)??e}var M=r(56260);function j(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function _(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function P(e,t){return t[e]||(t[e]=[]),t[e]}let D=e=>"number"==typeof e,L=e=>e.every(D);var R=r(72721),T=r(51654),z=r(34514),B=r(69028),N=r(84681),Y=r(35152),W=r(42038),F=r(4287),$=r(74666);class H extends $.BX{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let r=e[t];if("string"==typeof r||"number"==typeof r)return r}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,F.ge)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function q(e){let t={presenceContext:null,props:{}
66,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=(0,B.x)(e)&&!(0,N.h)(e)?new Y.l(t):new W.M(t);r.mount(e),T.C.set(e,r)}function U(e){let t=new H({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),T.C.set(e,t)}function V(e,t,r,n){let i=[];if((0,y.S)(e)||"number"==typeof e||"string"==typeof e&&!O(t))i.push((0,R.z)(e,O(t)&&t.default||t,r&&r.default||r));else{if(null==e)return i;let o=C(e,t,n),s=o.length;(0,w.V)(!!s,"No valid elements provided.","no-valid-elements");for(let e=0;e<s;e++){let n=o[e],a=n instanceof Element?q:U;T.C.has(n)||a(n);let l=T.C.get(n),u={...r};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,s)),i.push(...(0,z.$)(l,{...t,transition:u},{}))}}return i}function K(e={}){let{scope:t,reduceMotion:r}=e;return function(e,n,i){var o;let s,a=[];if(Array.isArray(e)&&e.some(Array.isArray)){let i,{onComplete:l,...u}=n||{};"function"==typeof l&&(s=l),o=void 0!==r?{reduceMotion:r,...u}:u,i=[],(function(e,{defaultTransition:t={},...r}={},n,i){let o=t.duration||.3,s=new Map,a=new Map,l={},u=new Map,c=0,h=0,f=0;for(let r=0;r<e.length;r++){let s=e[r];if("string"==typeof s){u.set(s,h);continue}if(!Array.isArray(s)){u.set(s.name,I(h,s.at,c,u));continue}let[E,O,j={}]=s;void 0!==j.at&&(h=I(h,j.at,c,u));let D=0,R=(e,r,n,s=0,a=0)=>{var l;let u=Array.isArray(l=e)?l:[l],{delay:c=0,times:y=(0,p.Z)(u),type:k=t.type||"keyframes",repeat:E,repeatType:S,repeatDelay:O=0,...C}=r,{ease:I=t.ease||"easeOut",duration:j}=r,_="function"==typeof c?c(s,a):c,P=u.length,R=(0,g.W)(k)?k:i?.[k||"keyframes"];if(P<=2&&R){let e=100;2===P&&L(u)&&(e=Math.abs(u[1]-u[0]));let r={...t,...C};void 0!==j&&(r.duration=(0,b.f)(j));let n=(0,m.X)(r,e,R);I=n.ease,j=n.duration}j??(j=o);let T=h+_;1===y.length&&0===y[0]&&(y[1]=1);let z=y.length-u.length;if(z>0&&(0,v.f)(y,z),1===u.length&&u.unshift(null),E){(0,w.V)(E<20,"Repeat count too high, must be less than 20","repeat-count-high"),j*=E+1;let e=[...u],t=[...y],r=[...I=Array.isArray(I)?[...I]:[I]];for(let n=0;n<E;n++){u.push(...e);for(let i=0;i<e.length;i++)y.push(t[i]+(n+1)),I.push(0===i?"linear":A(r,i-1))}for(let e=0;e<y.length;e++)y[e]=y[e]/(E+1)}let B=T+j;!function(e,t,r,n,i,o){for(let t=0;t<e.length;t++){let r=e[t];r.at>i&&r.at<o&&((0,d.Ai)(e,r),t--)}for(let s=0;s<t.length;s++)e.push({value:t[s],at:(0,M.k)(i,o,n[s]),easing:A(r,s)})}(n,u,I,y,T,B),D=Math.max(_+j,D),f=Math.max(B,f)};if((0,y.S)(E))R(O,j,P("default",_(E,a)));else{let e=C(E,O,n,l),t=e.length;for(let r=0;r<t;r++){let n=_(e[r],a);for(let e in O){var k,S;R(O[e],(k=j,S=e,k&&k[S]?{...k,...k[S]}:{...k}),P(e,n),r,t)}}}c=h,h+=D}return a.forEach((e,n)=>{for(let i in e){let o=e[i];o.sort(j);let a=[],l=[],u=[];for(let e=0;e<o.length;e++){let{at:t,value:r,easing:n}=o[e];a.push(r),l.push((0,E.q)(0,f,t)),u.push(n||"easeOut")}0!==l[0]&&(l.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),a.push(null)),s.has(n)||s.set(n,{keyframes:{},transition:{}});let c=s.get(n);c.keyframes[i]=a;let{type:d,...h}=t;c.transition[i]={...h,duration:f,ease:u,times:l,...r}}}),s})(e.map(e=>{if(Array.isArray(e)&&"function"==typeof e[0]){let t=e[0],r=(0,h.OQ)(0);return(r.on("change",t),1===e.length)?[r,[0,1]]:2===e.length?[r,[0,1],e[1]]:[r,e[1],e[2]]}return e}),o,t,{spring:f.o}).forEach(({keyframes:e,transition:t},r)=>{i.push(...V(r,e,t))}),a=i}else{let{onComplete:o,...l}=i||{};"function"==typeof o&&(s=o),a=V(e,n,void 0!==r?{reduceMotion:r,...l}:l,t)}let l=new c(a);return s&&l.finished.then(s),t&&(t.animations.push(l),l.finished.then(()=>{(0,d.Ai)(t.animations,l)})),l}}K();var Z=r(61792),X=()=>{},G=e=>{var t;let r,l,u,{children:c,duration:d=10,direction:h="left",isPlaying:f=!0,pauseOnHover:p=!1,gap:g=0,onMouseEnter:m=X,onMouseLeave:v=X}=e,[y,b]=n.useState(null),[w,k]=n.useState(null),[A,E]=n.useState(2),[S,O]=n.useState(1),[C,I]=n.useState(!1),[M,j]=(r=(0,i.M)(()=>({current:null,animations:[]})),l=function(){let e=function(){s.r.current||(0,a.Uu)();let[e]=(0,n.useState)(s.O.current);return e}(),{reducedMotion:t}=(0,n.useContext)(o.Q);return"never"!==t&&("always"===t||e)}()??void 0,u=(0,n.useMemo)(()=>K({scope:r,reduceMotion:l}),[r,l]),t=()=>
66{r.animations.forEach(e=>e.stop()),r.animations.length=0},(0,n.useEffect)(()=>()=>t(),[]),[r,u]),[_,P]=n.useState(void 0),D=(0,Z.W)(M),[L,R]=n.useState(!1),T=n.Children.toArray(c),z="left"===h||-1===h?-1:1;return n.useEffect(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)");R(e.matches);let t=e=>R(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),n.useEffect(()=>{if(y&&w){let e=()=>{let e=w.getBoundingClientRect().width;0!==e&&(E(e),O(Math.max(Math.ceil(2*y.clientWidth/e),1)))};e();let t=new ResizeObserver(e);return t.observe(y),t.observe(w),()=>t.disconnect()}},[y,w]),n.useEffect(()=>{if(D&&A>2){_&&_.stop();let e=j(M.current,{x:A*z},{ease:"linear",duration:d,repeat:1/0});(!f||L)&&e.pause(),P(e)}},[D,A,z,d]),n.useEffect(()=>{_&&(!D||!f||p&&C||L?_.pause():_.play())},[D,f,C,p,L]),n.createElement("div",{className:"FMT__container",ref:b,style:{width:"100%",height:"100%",overflow:"hidden"},onMouseEnter:()=>{I(!0),m()},onMouseLeave:()=>{I(!1),v()}},n.createElement("div",{ref:M,className:"FMT__container__contents",style:{display:"flex",width:"max-content",gap:g+"px",marginLeft:`-${A*S}px`}},n.createElement("div",{style:{display:"flex",gap:g+"px"}},[...Array(S)].map(e=>T.map((e,t)=>n.createElement(n.Fragment,{key:t},e)))),n.createElement("div",{ref:k,style:{display:"flex",gap:g+"px"}},T.map((e,t)=>n.createElement(n.Fragment,{key:t},e))),n.createElement("div",{style:{display:"flex",gap:g+"px"}},[...Array(S)].map(e=>T.map((e,t)=>n.createElement(n.Fragment,{key:t},e))))))}},55897:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>a});var n=r(12115),i=r(47650),o=r(42442),s=r(95155),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i?r:t,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},57019:(e,t,r)=>{"use strict";r.d(t,{CH:()=>d,Es:()=>a,FT:()=>c,MS:()=>l,QL:()=>u,T_:()=>h});var n=r(12115),i=r(26791),o=r(47650),s=r(16731),a="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function l(e,t){let r,s=(0,n.useRef)(new Map),l=(r=(0,n.useState)(0)[1],(0,n.useCallback)(()=>{r(e=>e+1)},[r]));return a(()=>e?(0,i.QZ)(()=>{var r;let n=!1,a=!1;for(let o of s.current){let[l]=o,u=(0,i.O8)(()=>o[1]),c=e[l];u!==c&&(n=!0,s.current.set(l,c),a=null!=(r=null==t?void 0:t(l,u,c))&&r)}n&&(a?(0,o.flushSync)(l):l())}):void s.current.clear(),[e]),(0,n.useMemo)(()=>e?new Proxy(e,{get(e,t){let r=e[t];return s.current.set(t,r),r}}):e,[e])}function u(e,t){e()}function c(e){let t=(0,n.useRef)(e);return a(()=>{t.current=e},[e]),t}function d(e,t,r=n.useEffect,i=Object.is){let o=(0,n.useRef)(e);r(()=>{let r=o.current;i(e,r)||(o.current=e,t(e,r))},[t,e])}function h(e,t){let r=(0,n.useRef)((0,s.b)(e));a(()=>{let n=(0,s.b)(e);n!==r.current&&(r.current=n,t(n))})}},59047:(e,t,r)=>{"use strict";let n,i;r.d(t,{Nj:()=>T,PM:()=>z,XU:()=>L,uF:()=>R,zM:()=>J});var o,s,a,l,u,c,d,h,f=r(12115),p=r(21708),g=r(57019),m=r(24129),v=r(26791),y=r(95155),b=r(16731),w=r(38700),k=Object.defineProperty,A=Object.defineProperties,E=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,I=(e,t,r)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=(e,t)=>{for(var r in t||(t={}))O.call(t,r)&&I(e,r,t[r]);if(S)for(var r of S(t))C.call(t,r)&&I(e,r,t[r]);return e},j=new p.ti,_=(0,f.createContext)(j),P=(0,f.memo)((0,f.forwardRef)(({children:e},t)=>{let[r,n]=(0,f.useState)(0),i=(0,f.useRef)(null),o=(0,f.useRef)(null),s=(0,f.useMemo)(()=>({renderer:{get rendering(){var e;return null!=(e=i.current)?e:Promise.resolve()}},trackRendering(e){i.current||(i.current=new Promise(e=>{o.current=e})),(0,f.startTransition)(()=>{e(),n(e=>e+1)})}}),[]);return(0,g.Es)(()=>{var e;null==(e=o.current)||e.call(o),i.current=null},[e,r]),(0,f.useImperativeHandle)(t,()=>s),null}
66)),D=[void 0,m.bD];function L(e){var t,{children:r,onCollision:n,onBeforeDragStart:i,onDragStart:o,onDragMove:s,onDragOver:a,onDragEnd:l}=e,u=((e,t)=>{var r={};for(var n in e)O.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&S)for(var n of S(e))0>t.indexOf(n)&&C.call(e,n)&&(r[n]=e[n]);return r})(e,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let c=(0,f.useRef)(null),[d,h]=(0,f.useState)(null!=(t=u.manager)?t:null),{plugins:m,modifiers:v,sensors:b}=u,w=(0,g.FT)(i),k=(0,g.FT)(o),A=(0,g.FT)(a),E=(0,g.FT)(s),I=(0,g.FT)(l),M=(0,g.FT)(n);return(0,f.useEffect)(()=>{var e;if(!c.current)throw Error("Renderer not found");let{renderer:t,trackRendering:r}=c.current,n=null!=(e=u.manager)?e:new p.ti(u);return n.renderer=t,n.monitor.addEventListener("beforedragstart",e=>{let t=w.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragstart",e=>{var t;return null==(t=k.current)?void 0:t.call(k,e,n)}),n.monitor.addEventListener("dragover",e=>{let t=A.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragmove",e=>{let t=E.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragend",e=>{let t=I.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("collision",e=>{var t;return null==(t=M.current)?void 0:t.call(M,e,n)}),(0,f.startTransition)(()=>h(n)),n.destroy},[u.manager]),(0,g.CH)(m,()=>d&&(d.plugins=null!=m?m:p.FS.plugins),...D),(0,g.CH)(b,()=>d&&(d.sensors=null!=b?b:p.FS.sensors),...D),(0,g.CH)(v,()=>d&&(d.modifiers=null!=v?v:p.FS.modifiers),...D),(0,y.jsxs)(_.Provider,{value:d,children:[(0,y.jsx)(P,{ref:c,children:r}),r]})}function R(){return(0,f.useContext)(_)}function T(e){var t;let r=null!=(t=R())?t:void 0,[n]=(0,f.useState)(()=>e(r));return n.manager!==r&&(n.manager=r),(0,g.Es)(n.register,[r,n]),n}function z(e){let{disabled:t,data:r,element:n,handle:i,id:o,modifiers:s,sensors:a}=e,l=T(t=>new p.sx(A(M({},e),E({register:!1,handle:(0,b.b)(i),element:(0,b.b)(n)})),t)),u=(0,g.MS)(l,B);return(0,g.CH)(o,()=>l.id=o),(0,g.T_)(i,e=>l.handle=e),(0,g.T_)(n,e=>l.element=e),(0,g.CH)(r,()=>r&&(l.data=r)),(0,g.CH)(t,()=>l.disabled=!0===t),(0,g.CH)(a,()=>l.sensors=a),(0,g.CH)(s,()=>l.modifiers=s,void 0,m.bD),(0,g.CH)(e.feedback,()=>{var t;return l.feedback=null!=(t=e.feedback)?t:"default"}),(0,g.CH)(e.alignment,()=>l.alignment=e.alignment),{draggable:u,get isDragging(){return u.isDragging},get isDropping(){return u.isDropping},get isDragSource(){return u.isDragSource},handleRef:(0,f.useCallback)(e=>{l.handle=null!=e?e:void 0},[l]),ref:(0,f.useCallback)(e=>{var t,r;(e||null==(t=l.element)||!t.isConnected||(null==(r=l.manager)?void 0:r.dragOperation.status.idle))&&(l.element=null!=e?e:void 0)},[l])}}function B(e,t,r){return"isDragSource"===e&&!r&&!!t}var N=Object.create,Y=Object.defineProperty,W=Object.getOwnPropertyDescriptor,F=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),$=e=>{throw TypeError(e)},H=["class","method","getter","setter","accessor","field","value","get","set"],q=e=>void 0!==e&&"function"!=typeof e?$("Function expected"):e,U=(e,t,r,n,i)=>({kind:H[e],name:t,metadata:n,addInitializer:e=>r._?$("Already initialized"):i.push(q(e||null))}),V=(e,t,r,n,i,o)=>{for(var s,a,l,u=7&t,c=H[u+5],d=e[2]||(e[2]=[]),h=W(i=i.prototype,r),f=n.length-1;f>=0;f--)(l=U(u,r,a={},e[3],d)).static=!1,l.private=!1,(l.access={has:e=>r in e}).get=e=>e[r],s=(0,n[f])(h[c],l),a._=1,q(s)&&(h[c]=s);return h&&Y(i,r,h),i},K=(e,t,r)=>t.has(e)||$("Cannot "+r),Z=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,r){return new e(t.x-r.x,t.y-r.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:r}){return new e(t,r)}},X=class extends(c=m.Wf,u=[m.un],l=[m.un],c){constructor(e){super(Z.from(e),(e,t)=>Z.equals(e,t)),((e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)o[i].call(r)})(h,5,this),((e,t,r)=>t.has(e)?$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r))(this,d,0),this.velocity={x:0,y:0}}get delta(){return Z.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let r={x:e.x-t.x,y:e.y-t.y};return r.x||r.y?Math.abs(r.x)>Math.abs(r.y)?r.x>0?"right":"left":r.y>0?"down":"up":null}get current(){return super.current}set current(e){let t,{current:r}=this,n=Z.from(e),i={x:n.x-r.x,y:n.y-r.y},o=Date.now(),s=o-(K(this,t=d,"read from private field"),t.get(this)),a=e=>Math.round(e/s*100);(0,v.vA)(()=>{let e;K(this,e=d,"write to private field"),e.set(this,o),this.velocity={x:a(i.x),y:a(i.y)},super.current=n})}reset(e=this.defaultValue){super.reset(Z.from(e)),this.velocity={x:0,y:0}}};h=[,,,N(null!=(o=null==c?void 0:c[F("metadata")])?o:null)],d=new WeakMap,V(h,2,"delta",u,X),V(h,2,"direction",l,X),s=h,n=F("metadata"),i=s[3],n in X?Y(X,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):X[n]=i;var G=((a=G||{}).Horizontal="x",a.Vertical="y",a);Object.values(G);var Q=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{let r=e.position.current;if(!r)return null;let{id:n}=t;return t.shape&&t.shape.containsPoint(r)?{id:n,value:1/Z.distance(t.shape.center,r),type:w.Bp.PointerIntersection,priority:w.zY.High}:null})(e))?t:(({dragOperation:e,droppable:t})=>{let{shape:r}=e;if(!t.shape||!(null==r?void 0:r.current))return null;let n=r.current.intersectionArea(t.shape);if(n){let{position:i}=e,o=Z.distance(t.shape.center,i.current),s=n/(r.current.area+t.shape.area-n);return{id:t.id,value:s/o,type:w.Bp.ShapeIntersection,priority:w.zY.Normal}}return null})(e)};
66function J(e){let{collisionDetector:t,data:r,disabled:n,element:i,id:o,accept:s,type:a}=e,l=T(t=>new p.gL(A(M({},e),E({register:!1,element:(0,b.b)(i)})),t)),u=(0,g.MS)(l);return(0,g.CH)(o,()=>l.id=o),(0,g.T_)(i,e=>l.element=e),(0,g.CH)(s,()=>l.accept=s,void 0,m.bD),(0,g.CH)(t,()=>l.collisionDetector=null!=t?t:Q),(0,g.CH)(r,()=>r&&(l.data=r)),(0,g.CH)(n,()=>l.disabled=!0===n),(0,g.CH)(a,()=>l.type=a),{droppable:u,get isDropTarget(){return u.isDropTarget},ref:(0,f.useCallback)(e=>{var t,r;(e||null==(t=l.element)||!t.isConnected||(null==(r=l.manager)?void 0:r.dragOperation.status.idle))&&(l.element=null!=e?e:void 0)},[l])}}},59595:(e,t,r)=>{"use strict";r.d(t,{V6:()=>o,y$:()=>s});var n=r(38700),i=r(1418),o=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{let r=e.position.current;if(!r)return null;let{id:o}=t;return t.shape&&t.shape.containsPoint(r)?{id:o,value:1/i.bR.distance(t.shape.center,r),type:n.Bp.PointerIntersection,priority:n.zY.High}:null})(e))?t:(({dragOperation:e,droppable:t})=>{let{shape:r}=e;if(!t.shape||!(null==r?void 0:r.current))return null;let o=r.current.intersectionArea(t.shape);if(o){let{position:s}=e,a=i.bR.distance(t.shape.center,s.current),l=o/(r.current.area+t.shape.area-o);return{id:t.id,value:l/a,type:n.Bp.ShapeIntersection,priority:n.zY.Normal}}return null})(e)},s=e=>{let{dragOperation:t,droppable:r}=e,{shape:o,position:s}=t;if(!r.shape)return null;let a=o?i.M_.from(o.current.boundingRectangle).corners:void 0,l=i.M_.from(r.shape.boundingRectangle).corners.reduce((e,t,r)=>{var n;return e+i.bR.distance(i.bR.from(t),null!=(n=null==a?void 0:a[r])?n:s.current)},0);return{id:r.id,value:1/(l/4),type:n.Bp.Collision,priority:n.zY.Normal}}},60077:(e,t,r)=>{"use strict";r.d(t,{d:()=>s});var n=r(61171),i=(0,n.P$)({"../../node_modules/classnames/index.js"(e,t){(0,n.hY)();var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}void 0!==t&&t.exports?(i.default=i,t.exports=i):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return i}):window.classNames=i}});(0,n.hY)();var o=(0,n.f1)(i()),s=(e,t,r={baseClass:""})=>(i={})=>
66{if("string"==typeof i)return t[`${e}-${i}`]&&r.baseClass+t[`${e}-${i}`]||"";if("object"!=typeof i)return r.baseClass+t[e]||"";{let s={};for(let r in i)s[t[`${e}--${r}`]]=i[r];let a=t[e];return r.baseClass+(0,o.default)((0,n.IA)({[a]:!!a},s))}}},61171:(e,t,r)=>{"use strict";let n,i;r.d(t,{BU:()=>k,IA:()=>m,P$:()=>b,YG:()=>y,f1:()=>w,hY:()=>A,ko:()=>v}),r(12115);var o=Object.create,s=Object.defineProperty,a=Object.defineProperties,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&g(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&g(e,r,t[r]);return e},v=(e,t)=>a(e,u(t)),y=(e,t)=>{var r={};for(var n in e)f.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},b=(e,t)=>function(){return t||(0,e[c(e)[0]])((t={exports:{}}).exports,t),t.exports},w=(e,t,r)=>(r=null!=e?o(h(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of c(t))f.call(e,i)||i===r||s(e,i,{get:()=>t[i],enumerable:!(n=l(t,i))||n.enumerable});return e})(!t&&e&&e.__esModule?r:s(r,"default",{value:e,enumerable:!0}),e)),k=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())}),A=(n={"../tsup-config/react-import.js"(){}},function(){return n&&(i=(0,n[c(n)[0]])(n=0)),i})},61586:(e,t,r)=>{var n=r(101),i=r(30708),o=r(52957),s=r(87628),a=r(38838);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var u=l.prototype;u.addData=function(e){var t=new n(e);this.dataList.push(t),this.dataCache=null},u.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw Error(e+","+t);return this.modules[e][t]},u.getModuleCount=function(){return this.moduleCount},u.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=i.getRSBlocks(e,this.errorCorrectLevel),r=new o,n=0,a=0;a<t.length;a++)n+=t[a].dataCount;for(var a=0;a<this.dataList.length;a++){var l=this.dataList[a];r.put(l.mode,4),r.put(l.getLength(),s.getLengthInBits(l.mode,e)),l.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},u.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},u.setupPositionProbePattern=function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1)&&!(this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4?this.modules[e+r][t+n]=!0:this.modules[e+r][t+n]=!1)},u.getBestMaskPattern=function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=s.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},u.createMovieClip=function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var i=0;i<this.modules.length;i++)for(var o=+i,s=0;s<this.modules[i].length;s++){var a=+s;this.modules[i][s]&&(n.beginFill(0,100),n.moveTo(a,o),n.lineTo(a+1,o),n.lineTo(a+1,o+1),n.lineTo(a,o+1),n.endFill())}return n},u.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},u.setupPositionAdjustPattern=function(){for(var e=s.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],i=e[r];if(null==this.modules[n][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)-2==o||2==o||-2==a||2==a||0==o&&0==a?this.modules[n+o][i+a]=!0:this.modules[n+o][i+a]=!1}},u.setupTypeNumber=function(e){for(var t=s.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&(t>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!e&&(t>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},u.setupTypeInfo=function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=s.getBCHTypeInfo(r),i=0;i<15;i++){var o=!e&&(n>>i&1)==1;i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(var i=0;i<15;i++){var o=!e&&(n>>i&1)==1;i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},u.mapData=function(e,t){for(var r=-1,n=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var l=0;l<2;l++)if(null==this.modules[n][a-l]){var u=!1;o<e.length&&(u=(e[o]>>>i&1)==1),s.getMask(t,n,a-l)&&(u=!u),this.modules[n][a-l]=u,-1==--i&&(o++,i=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,r){for(var n=i.getRSBlocks(e,t),a=new o,u=0;u<r.length;u++){var c=r[u];a.put(c.mode,4),a.put(c.getLength(),s.getLengthInBits(c.mode,e)),c.write(a)}for(var d=0,u=0;u<n.length;u++)d+=n[u].dataCount;if(a.getLengthInBits()>8*d)throw Error("code length overflow. ("+a.getLengthInBits()+">"+8*d+")");for(a.getLengthInBits()+4<=8*d&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*d)&&(a.put(l.PAD0,8),!(a.getLengthInBits()>=8*d));){;a.put(l.PAD1,8)}return l.createBytes(a,n)},l.createBytes=function(e,t){for(var r=0,n=0,i=0,o=Array(t.length),l=Array(t.length),u=0;u<t.length;u++){var c=t[u].dataCount,d=t[u].totalCount-c;n=Math.max(n,c),i=Math.max(i,d),o[u]=Array(c);for(var h=0;h<o[u].length;h++)o[u][h]=255&e.buffer[h+r];r+=c;var f=s.getErrorCorrectPolynomial(d),p=new a(o[u],f.getLength()-1).mod(f);l[u]=Array(f.getLength()-1);for(var h=0;h<l[u].length;h++){var g=h+p.getLength()-l[u].length;l[u][h]=g>=0?p.get(g):0}}for(var m=0,h=0;h<t.length;h++)m+=t[h].totalCount;for(var v=Array(m),y=0,h=0;h<n;h++)for(var u=0;u<t.length;u++)h<o[u].length&&(v[y++]=o[u][h]);for(var h=0;h<i;h++)for(var u=0;u<t.length;u++)h<l[u].length&&(v[y++]=l[u][h]);return v},e.exports=l},63341:e=>{e.exports=(function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){if(o)return o(s,!0);throw Error("Cannot find module '"+s+"'")}a=r[s]={exports:{}},t[s][0].call(a.exports,function(e){return i(t[s][1][e]||e)},a,a.exports,e,t,r,n)}return r[s].exports}for(var o=void 0,s=0;s<n.length;s++)i(n[s]);return i})({1:[function(e,t,r){(function(n,i,o,s,a,l,u,c,d){"use strict";var h=e("crypto");function f(e,t){var r;return void 0===(r="passthrough"!==(t=m(e,t)).algorithm?h.createHash(t.algorithm):new b).write&&(r.write=r.update,r.end=r.update),y(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=f).sha1=function(e){return f(e)}
66,r.keys=function(e){return f(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return f(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return f(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var p=h.getHashes?h.getHashes().slice():["sha1","md5"],g=(p.push("passthrough"),["buffer","hex","binary","base64"]);function m(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw Error("Object argument required.");for(var n=0;n<p.length;++n)p[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=p[n]);if(-1===p.indexOf(r.algorithm))throw Error('Algorithm "'+r.algorithm+'"  not supported. supported values: '+p.join(", "));if(-1===g.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw Error('Encoding "'+r.encoding+'"  not supported. supported values: '+g.join(", "));return r}function v(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function y(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,s=Object.prototype.toString.call(t),a=/\[object (.*)\]/i.exec(s);if(a=(a=a?a[1]:"unknown:["+s+"]").toLowerCase(),0<=(s=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+s+"]");if(r.push(t),void 0!==o&&o.isBuffer&&o.isBuffer(t))return n("buffer:"),n(t);if("object"===a||"function"===a||"asyncfunction"===a)return s=Object.keys(t),e.unorderedObjects&&(s=s.sort()),!1===e.respectType||v(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter(function(t){return!e.excludeKeys(t)})),n("object:"+s.length+":"),i=this,s.forEach(function(r){i.dispatch(r),n(":"),e.excludeValues||i.dispatch(t[r]),n(",")});if(!this["_"+a]){if(e.ignoreUnknown)return n("["+a+"]");throw Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach(function(e){return o.dispatch(e)});var s=[],i=t.map(function(t){var n=new b,i=r.slice();return y(e,n,i).dispatch(t),s=s.concat(i.slice(r.length)),n.read().toString()});return r=r.concat(s),i.sort(),this._array(i,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),v(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),y(t=m(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,i,o,s,a,l,u){!function(e){"use strict";var t="u">typeof Uint8Array?Uint8Array:Array;function r(e){return 43===(e=e.charCodeAt(0))||45===e?62:47===e||95===e?63:e<48?-1:e<58?e-48+26+26:e<91?e-65:e<123?e-97+26:void 0}e.toByteArray=function(e){if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");var n,i,o=e.length,o="="===e.charAt(o-2)?2:+("="===e.charAt(o-1)),s=new t(3*e.length/4-o),a=0<o?e.length-4:e.length,l=0;function u(e){s[l++]=e}for(n=0;n<a;n+=4)u((0xff0000&(i=r(e.charAt(n))<<18|r(e.charAt(n+1))<<12|r(e.charAt(n+2))<<6|r(e.charAt(n+3))))>>16),u((65280&i)>>8),u(255&i);return 2==o?u(255&(i=r(e.charAt(n))<<2|r(e.charAt(n+1))>>4)):1==o&&(u((i=r(e.charAt(n))<<10|r(e.charAt(n+1))<<4|r(e.charAt(n+2))>>2)>>8&255),u(255&i)),s},e.fromByteArray=function(e){var t,r,n,i,o=e.length%3,s="";function a(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
66+/".charAt(e)}for(t=0,n=e.length-o;t<n;t+=3)s+=a((i=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+a(i>>12&63)+a(i>>6&63)+a(63&i);switch(o){case 1:s=(s+=a((r=e[e.length-1])>>2))+a(r<<4&63)+"==";break;case 2:s=(s=(s+=a((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+a(r>>4&63))+a(r<<2&63)+"="}return s}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,i,o,s,a,l,u,c){var d=e("base64-js"),h=e("ieee754");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);var n,o,s,a,l=typeof e;if("base64"===t&&"string"==l)for(e=(a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=I(e);else if("string"==l)n=i.byteLength(e,t);else{if("object"!=l)throw Error("First argument needs to be a number, array or string.");n=I(e.length)}if(i._useTypedArrays?o=i._augment(new Uint8Array(n)):((o=this).length=n,o._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)o._set(e);else if(M(a=e)||i.isBuffer(a)||a&&"object"==typeof a&&"number"==typeof a.length)for(s=0;s<n;s++)i.isBuffer(e)?o[s]=e.readUInt8(s):o[s]=e[s];else if("string"==l)o.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!r)for(s=0;s<n;s++)o[s]=0;return o}function f(e,t,r,n){n||(B("boolean"==typeof r,"missing or invalid endian"),B(null!=t,"missing offset"),B(t+1<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(i=e[t],t+1<n&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<n&&(i|=e[t+1])),i}function p(e,t,r,n){n||(B("boolean"==typeof r,"missing or invalid endian"),B(null!=t,"missing offset"),B(t+3<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(t+2<n&&(i=e[t+2]<<16),t+1<n&&(i|=e[t+1]<<8),i|=e[t],t+3<n&&(i+=e[t+3]<<24>>>0)):(t+1<n&&(i=e[t+1]<<16),t+2<n&&(i|=e[t+2]<<8),t+3<n&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function g(e,t,r,n){if(n||(B("boolean"==typeof r,"missing or invalid endian"),B(null!=t,"missing offset"),B(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=f(e,t,r,!0))?-1*(65535-n+1):n}function m(e,t,r,n){if(n||(B("boolean"==typeof r,"missing or invalid endian"),B(null!=t,"missing offset"),B(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 0x80000000&(n=p(e,t,r,!0))?-1*(0xffffffff-n+1):n}function v(e,t,r,n){return n||(B("boolean"==typeof r,"missing or invalid endian"),B(t+3<e.length,"Trying to read beyond buffer length")),h.read(e,t,r,23,4)}function y(e,t,r,n){return n||(B("boolean"==typeof r,"missing or invalid endian"),B(t+7<e.length,"Trying to read beyond buffer length")),h.read(e,t,r,52,8)}function b(e,t,r,n,i){if(i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+1<e.length,"trying to write beyond buffer length"),R(t,65535)),!((i=e.length)<=r))for(var o=0,s=Math.min(i-r,2);o<s;o++)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function w(e,t,r,n,i){if(i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+3<e.length,"trying to write beyond buffer length"),R(t,0xffffffff)),!((i=e.length)<=r))for(var o=0,s=Math.min(i-r,4);o<s;o++)e[r+o]=t>>>8*(n?o:3-o)&255}function k(e,t,r,n,i){i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+1<e.length,"Trying to write beyond buffer length"),T(t,32767,-32768)),e.length<=r||b(e,0<=t?t:65535+t+1,r,n,i)}function A(e,t,r,n,i){i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+3<e.length,"Trying to write beyond buffer length"),T(t,0x7fffffff,-0x80000000)),e.length<=r||w(e,0<=t?t:0xffffffff+t+1,r,n,i)}function E(e,t,r,n,i){i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+3<e.length,"Trying to write beyond buffer length"),z(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||h.write(e,t,r,n,23,4)}function S(e,t,r,n,i){i||(B(null!=t,"missing value"),B("boolean"==typeof n,"missing or invalid endian"),B(null!=r,"missing offset"),B(r+7<e.length,"Trying to write beyond buffer length"),z(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||h.write(e,t,r,n,52,8)}r.Buffer=i,r.SlowBuffer=i,r.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=_(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=P(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw Error("Unknown encoding")}return r},i.concat=function(e,t){if(B(M(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(o=t=0;o<e.length;o++)t+=e[o].length;for(var r=new i(t),n=0,o=0;o<e.length;o++){var s=e[o];s.copy(r,n),n+=s.length}return r}
vendor: 6,525 bytes, line 66
66,i.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(f=n,n=t,t=r,r=f),t=Number(t)||0;var o,s,a,l,u,c,d,h,f=this.length-t;switch((!r||f<(r=Number(r)))&&(r=f),n=String(n||"utf8").toLowerCase()){case"hex":u=function(e,t,r,n){r=Number(r)||0;var o=e.length-r;(!n||o<(n=Number(n)))&&(n=o),B((o=t.length)%2==0,"Invalid hex string"),o/2<n&&(n=o/2);for(var s=0;s<n;s++){var a=parseInt(t.substr(2*s,2),16);B(!isNaN(a),"Invalid hex string"),e[r+s]=a}return i._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":c=this,d=t,h=r,u=i._charsWritten=D(_(e),c,d,h);break;case"ascii":case"binary":o=t,s=r,u=i._charsWritten=D(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(e),this,o,s);break;case"base64":c=this,d=t,h=r,u=i._charsWritten=D(P(e),c,d,h);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":a=t,l=r,u=i._charsWritten=D(function(e){for(var t,r,n=[],i=0;i<e.length;i++)t=(r=e.charCodeAt(i))>>8,n.push(r%=256),n.push(t);return n}(e),this,a,l);break;default:throw Error("Unknown encoding")}return u},i.prototype.toString=function(e,t,r){var n,i,o;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):this.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",o=t;o<r;o++)i+=j(e[o]);return i}(this,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var o=t;o<r;o++)e[o]<=127?(n+=L(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return n+L(i)}(this,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}(this,t,r);break;case"base64":o=r,n=0===(i=t)&&o===this.length?d.fromByteArray(this):d.fromByteArray(this.slice(i,o));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);break;default:throw Error("Unknown encoding")}return n},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){B(r<=n,"sourceEnd < sourceStart"),B(0<=t&&t<e.length,"targetStart out of bounds"),B(0<=r&&r<this.length,"sourceStart out of bounds"),B(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var o=(n=e.length-t<n-r?e.length-t+r:n)-r;if(o<100||!i._useTypedArrays)for(var s=0;s<o;s++)e[s+t]=this[s+r];else e._set(this.subarray(r,r+o),t)}},i.prototype.slice=function(e,t){var r=this.length;if(e=C(e,r,0),t=C(t,r,r),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var n=t-e,o=new i(n,void 0,!0),s=0;s<n;s++)o[s]=this[s+e];return o},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(B(null!=e,"missing offset"),B(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return f(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return f(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return p(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return p(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(B(null!=e,"missing offset"),B(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return v(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return v(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return y(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return y(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,r){r||(B(null!=e,"missing value"),B(null!=t,"missing offset"),B(t<this.length,"trying to write beyond buffer length"),R(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,r){b(this,e,t,!0,r)},i.prototype.writeUInt16BE=function(e,t,r){b(this,e,t,!1,r)},i.prototype.writeUInt32LE=function(e,t,r){w(this,e,t,!0,r)},i.prototype.writeUInt32BE=function(e,t,r){w(this,e,t,!1,r)},i.prototype.writeInt8=function(e,t,r){r||(B(null!=e,"missing value"),B(null!=t,"missing offset"),B(t<this.length,"Trying to write beyond buffer length"),T(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},i.prototype.writeInt16LE=function(e,t,r){k(this,e,t,!0,r)},i.prototype.writeInt16BE=function(e,t,r){k(this,e,t,!1,r)},i.prototype.writeInt32LE=function(e,t,r){A(this,e,t,!0,r)},i.prototype.writeInt32BE=function(e,t,r){A(this,e,t,!1,r)},i.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){S(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){S(this,e,t,!1,r)},i.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,B("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),B(t<=r,"end < start"),r!==t&&0!==this.length){B(0<=t&&t<this.length,"start out of bounds"),B(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=j(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("u"<typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var O=i.prototype;function C(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function I(e){return(e=~~Math.ceil(+e))<0?0:e}function M(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function j(e){return e<16?"0"+e.toString(16):e.toString(16)}function _(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));
66else for(var i=r,o=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(i,r+1)).substr(1).split("%")),s=0;s<o.length;s++)t.push(parseInt(o[s],16))}return t}function P(e){return d.toByteArray(e)}function D(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function L(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function R(e,t){B("number"==typeof e,"cannot write a non-number as a number"),B(0<=e,"specified a negative value for writing an unsigned value"),B(e<=t,"value is larger than maximum value for type"),B(Math.floor(e)===e,"value has a fractional component")}function T(e,t,r){B("number"==typeof e,"cannot write a non-number as a number"),B(e<=t,"value larger than maximum allowed value"),B(r<=e,"value smaller than minimum allowed value"),B(Math.floor(e)===e,"value has a fractional component")}function z(e,t,r){B("number"==typeof e,"cannot write a non-number as a number"),B(e<=t,"value larger than maximum allowed value"),B(r<=e,"value smaller than minimum allowed value")}function B(e,t){if(!e)throw Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=O.get,e.set=O.set,e.write=O.write,e.toString=O.toString,e.toLocaleString=O.toString,e.toJSON=O.toJSON,e.copy=O.copy,e.slice=O.slice,e.readUInt8=O.readUInt8,e.readUInt16LE=O.readUInt16LE,e.readUInt16BE=O.readUInt16BE,e.readUInt32LE=O.readUInt32LE,e.readUInt32BE=O.readUInt32BE,e.readInt8=O.readInt8,e.readInt16LE=O.readInt16LE,e.readInt16BE=O.readInt16BE,e.readInt32LE=O.readInt32LE,e.readInt32BE=O.readInt32BE,e.readFloatLE=O.readFloatLE,e.readFloatBE=O.readFloatBE,e.readDoubleLE=O.readDoubleLE,e.readDoubleBE=O.readDoubleBE,e.writeUInt8=O.writeUInt8,e.writeUInt16LE=O.writeUInt16LE,e.writeUInt16BE=O.writeUInt16BE,e.writeUInt32LE=O.writeUInt32LE,e.writeUInt32BE=O.writeUInt32BE,e.writeInt8=O.writeInt8,e.writeInt16LE=O.writeInt16LE,e.writeInt16BE=O.writeInt16BE,e.writeInt32LE=O.writeInt32LE,e.writeInt32BE=O.writeInt32BE,e.writeFloatLE=O.writeFloatLE,e.writeFloatBE=O.writeFloatBE,e.writeDoubleLE=O.writeDoubleLE,e.writeDoubleBE=O.writeDoubleBE,e.fill=O.fill,e.inspect=O.inspect,e.toArrayBuffer=O.toArrayBuffer,e}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,i,o,s,a,l,u,c){var i=e("buffer").Buffer,d=new i(4);d.fill(0),t.exports={hash:function(e,t,r,n){for(var o=t(function(e,t){e.length%4!=0&&(r=e.length+(4-e.length%4),e=i.concat([e,d],r));for(var r,n=[],o=t?e.readInt32BE:e.readInt32LE,s=0;s<e.length;s+=4)n.push(o.call(e,s));return n}(e=i.isBuffer(e)?e:new i(e),n),8*e.length),t=n,s=new i(r),a=t?s.writeInt32BE:s.writeInt32LE,l=0;l<o.length;l++)a.call(s,o[l],4*l,!0);return s}}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,i,o,s,a,l,u,c){var i=e("buffer").Buffer,d=e("./sha"),h=e("./sha256"),f=e("./rng"),p={sha1:d,sha256:h,md5:e("./md5")},g=new i(64);function m(e,t){var r=p[e=e||"sha1"],n=[];return r||v("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),n.push(e),e.length,this},digest:function(e){var o=i.concat(n),o=t?function(e,t,r){i.isBuffer(t)||(t=new i(t)),i.isBuffer(r)||(r=new i(r)),t.length>64?t=e(t):t.length<64&&(t=i.concat([t,g],64));for(var n=new i(64),o=new i(64),s=0;s<64;s++)n[s]=54^t[s],o[s]=92^t[s];return r=e(i.concat([n,r])),e(i.concat([o,r]))}(r,t,o):r(o);return n=null,e?o.toString(e):o}}}function v(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests\nhttp://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),r.createHash=function(e){return m(e)},r.createHmac=m,r.randomBytes=function(e,t){if(!t||!t.call)return new i(f(e));try{t.call(this,void 0,new i(f(e)))}catch(e){t(e)}};var y,b=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],w=function(e){r[e]=function(){v("sorry,",e,"is not implemented yet")}};for(y in b)w(b[y],y)}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,i,o,s,a,l,u,c){var d=e("./helpers");function h(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;
vendor: 5,259 bytes, line 66
66for(var r=0x67452301,n=-0x10325477,i=-0x67452302,o=0x10325476,s=0;s<e.length;s+=16){var a=r,l=n,u=i,c=o,r=p(r,n,i,o,e[s+0],7,-0x28955b88),o=p(o,r,n,i,e[s+1],12,-0x173848aa),i=p(i,o,r,n,e[s+2],17,0x242070db),n=p(n,i,o,r,e[s+3],22,-0x3e423112);r=p(r,n,i,o,e[s+4],7,-0xa83f051),o=p(o,r,n,i,e[s+5],12,0x4787c62a),i=p(i,o,r,n,e[s+6],17,-0x57cfb9ed),n=p(n,i,o,r,e[s+7],22,-0x2b96aff),r=p(r,n,i,o,e[s+8],7,0x698098d8),o=p(o,r,n,i,e[s+9],12,-0x74bb0851),i=p(i,o,r,n,e[s+10],17,-42063),n=p(n,i,o,r,e[s+11],22,-0x76a32842),r=p(r,n,i,o,e[s+12],7,0x6b901122),o=p(o,r,n,i,e[s+13],12,-0x2678e6d),i=p(i,o,r,n,e[s+14],17,-0x5986bc72),r=g(r,n=p(n,i,o,r,e[s+15],22,0x49b40821),i,o,e[s+1],5,-0x9e1da9e),o=g(o,r,n,i,e[s+6],9,-0x3fbf4cc0),i=g(i,o,r,n,e[s+11],14,0x265e5a51),n=g(n,i,o,r,e[s+0],20,-0x16493856),r=g(r,n,i,o,e[s+5],5,-0x29d0efa3),o=g(o,r,n,i,e[s+10],9,0x2441453),i=g(i,o,r,n,e[s+15],14,-0x275e197f),n=g(n,i,o,r,e[s+4],20,-0x182c0438),r=g(r,n,i,o,e[s+9],5,0x21e1cde6),o=g(o,r,n,i,e[s+14],9,-0x3cc8f82a),i=g(i,o,r,n,e[s+3],14,-0xb2af279),n=g(n,i,o,r,e[s+8],20,0x455a14ed),r=g(r,n,i,o,e[s+13],5,-0x561c16fb),o=g(o,r,n,i,e[s+2],9,-0x3105c08),i=g(i,o,r,n,e[s+7],14,0x676f02d9),r=m(r,n=g(n,i,o,r,e[s+12],20,-0x72d5b376),i,o,e[s+5],4,-378558),o=m(o,r,n,i,e[s+8],11,-0x788e097f),i=m(i,o,r,n,e[s+11],16,0x6d9d6122),n=m(n,i,o,r,e[s+14],23,-0x21ac7f4),r=m(r,n,i,o,e[s+1],4,-0x5b4115bc),o=m(o,r,n,i,e[s+4],11,0x4bdecfa9),i=m(i,o,r,n,e[s+7],16,-0x944b4a0),n=m(n,i,o,r,e[s+10],23,-0x41404390),r=m(r,n,i,o,e[s+13],4,0x289b7ec6),o=m(o,r,n,i,e[s+0],11,-0x155ed806),i=m(i,o,r,n,e[s+3],16,-0x2b10cf7b),n=m(n,i,o,r,e[s+6],23,0x4881d05),r=m(r,n,i,o,e[s+9],4,-0x262b2fc7),o=m(o,r,n,i,e[s+12],11,-0x1924661b),i=m(i,o,r,n,e[s+15],16,0x1fa27cf8),r=v(r,n=m(n,i,o,r,e[s+2],23,-0x3b53a99b),i,o,e[s+0],6,-0xbd6ddbc),o=v(o,r,n,i,e[s+7],10,0x432aff97),i=v(i,o,r,n,e[s+14],15,-0x546bdc59),n=v(n,i,o,r,e[s+5],21,-0x36c5fc7),r=v(r,n,i,o,e[s+12],6,0x655b59c3),o=v(o,r,n,i,e[s+3],10,-0x70f3336e),i=v(i,o,r,n,e[s+10],15,-1051523),n=v(n,i,o,r,e[s+1],21,-0x7a7ba22f),r=v(r,n,i,o,e[s+8],6,0x6fa87e4f),o=v(o,r,n,i,e[s+15],10,-0x1d31920),i=v(i,o,r,n,e[s+6],15,-0x5cfebcec),n=v(n,i,o,r,e[s+13],21,0x4e0811a1),r=v(r,n,i,o,e[s+4],6,-0x8ac817e),o=v(o,r,n,i,e[s+11],10,-0x42c50dcb),i=v(i,o,r,n,e[s+2],15,0x2ad7d2bb),n=v(n,i,o,r,e[s+9],21,-0x14792c6f),r=y(r,a),n=y(n,l),i=y(i,u),o=y(o,c)}return[r,n,i,o]}function f(e,t,r,n,i,o){return y((t=y(y(t,e),y(n,o)))<<i|t>>>32-i,r)}function p(e,t,r,n,i,o,s){return f(t&r|~t&n,e,t,i,o,s)}function g(e,t,r,n,i,o,s){return f(t&n|r&~n,e,t,i,o,s)}function m(e,t,r,n,i,o,s){return f(t^r^n,e,t,i,o,s)}function v(e,t,r,n,i,o,s){return f(r^(t|~n),e,t,i,o,s)}function y(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return d.hash(e,h,16)}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,i,o,s,a,l,u){t.exports=function(e){for(var t,r=Array(e),n=0;n<e;n++)0==(3&n)&&(t=0x100000000*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,i,o,s,a,l,u,c){var d=e("./helpers");function h(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,i,o=Array(80),s=0x67452301,a=-0x10325477,l=-0x67452302,u=0x10325476,c=-0x3c2d1e10,d=0;d<e.length;d+=16){for(var h=s,g=a,m=l,v=u,y=c,b=0;b<80;b++){o[b]=b<16?e[d+b]:p(o[b-3]^o[b-8]^o[b-14]^o[b-16],1);var w=f(f(p(s,5),(w=a,n=l,i=u,(r=b)<20?w&n|~w&i:!(r<40)&&r<60?w&n|w&i|n&i:w^n^i)),f(f(c,o[b]),(r=b)<20?0x5a827999:r<40?0x6ed9eba1:r<60?-0x70e44324:-0x359d3e2a)),c=u,u=l,l=p(a,30),a=s,s=w}s=f(s,h),a=f(a,g),l=f(l,m),u=f(u,v),c=f(c,y)}return[s,a,l,u,c]}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function p(e,t){return e<<t|e>>>32-t}t.exports=function(e){return d.hash(e,h,20,!0)}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,i,o,s,a,l,u,c){function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function h(e,t){var r,n=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
6676c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],i=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],o=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var s,a,l=0;l<e.length;l+=16){for(var u=i[0],c=i[1],h=i[2],f=i[3],m=i[4],v=i[5],y=i[6],b=i[7],w=0;w<64;w++)o[w]=w<16?e[w+l]:d(d(d(p(a=o[w-2],17)^p(a,19)^g(a,10),o[w-7]),p(a=o[w-15],7)^p(a,18)^g(a,3)),o[w-16]),r=d(d(d(d(b,p(a=m,6)^p(a,11)^p(a,25)),m&v^~m&y),n[w]),o[w]),s=d(p(s=u,2)^p(s,13)^p(s,22),u&c^u&h^c&h),b=y,y=v,v=m,m=d(f,r),f=h,h=c,c=u,u=d(r,s);i[0]=d(u,i[0]),i[1]=d(c,i[1]),i[2]=d(h,i[2]),i[3]=d(f,i[3]),i[4]=d(m,i[4]),i[5]=d(v,i[5]),i[6]=d(y,i[6]),i[7]=d(b,i[7])}return i}var f=e("./helpers"),p=function(e,t){return e>>>t|e<<32-t},g=function(e,t){return e>>>t};t.exports=function(e){return f.hash(e,h,32,!0)}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,i,o,s,a,l,u){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,i=e[t+d];for(d+=h,o=i&(1<<-c)-1,i>>=-c,c+=a;0<c;o=256*o+e[t+d],d+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;0<c;s=256*s+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(i?-1:1);s+=Math.pow(2,n),o-=u}return(i?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,l=8*o-i-1,u=(1<<l)-1,c=u>>1,d=5960464477539062e-23*(23===i),h=n?0:o-1,f=n?1:-1,o=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-s))<1&&(s--,n*=2),2<=(t+=1<=s+c?d/n:d*Math.pow(2,1-c))*n&&(s++,n/=2),u<=s+c?(a=0,s=u):1<=s+c?(a=(t*n-1)*Math.pow(2,i),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,i),s=0));8<=i;e[r+h]=255&a,h+=f,a/=256,i-=8);for(s=s<<i|a,l+=i;0<l;e[r+h]=255&s,h+=f,s/=256,l-=8);e[r+h-f]|=128*o}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,i,o,s,a,l,u){var c,d,h;function f(){}(e=t.exports={}).nextTick=(d="u">typeof window&&window.setImmediate,h="u">typeof window&&window.postMessage&&window.addEventListener,d?function(e){return window.setImmediate(e)}:h?(c=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<c.length&&c.shift()())},!0),function(e){c.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.binding=function(e){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"u">typeof self?self:"u">typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},65377:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},65738:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},66294:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(12115),i=globalThis?.document?n.useLayoutEffect:()=>{}},68482:(e,t,r)=>{"use strict";r.d(t,{O:()=>a});var n=r(827),i=r(61171),o=r(12115);(0,i.hY)();var s={h1:{label:"Heading 1",icon:n._},h2:{label:"Heading 2",icon:n.fV},h3:{label:"Heading 3",icon:n._B},h4:{label:"Heading 4",icon:n.f_},h5:{label:"Heading 5",icon:n.mM},h6:{label:"Heading 6",icon:n.TT}},a=e=>{var t;let r=[];return(null==e?void 0:e.heading)!==!1&&((null==(t=null==e?void 0:e.heading)?void 0:t.levels)?((null==e?void 0:e.heading.levels.includes(1))&&r.push("h1"),(null==e?void 0:e.heading.levels.includes(2))&&r.push("h2"),(null==e?void 0:e.heading.levels.includes(3))&&r.push("h3"),(null==e?void 0:e.heading.levels.includes(4))&&r.push("h4"),(null==e?void 0:e.heading.levels.includes(5))&&r.push("h5"),(null==e?void 0:e.heading.levels.includes(6))&&r.push("h6")):r=["h1","h2","h3","h4","h5","h6"]),(0,o.useMemo)(()=>r.map(e=>({value:e,label:s[e].label,icon:s[e].icon})),[r])}},68599:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,q:()=>o});var n=r(12115),i=r(95155);function o(e,t){let r=n.createContext(t),o=e=>{let{children:t,...o}=e,s=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(r.Provider,{value:s,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=n.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function s(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let s=n.createContext(o),a=r.length;r=[...r,o];let l=t=>{let{scope:r,children:o,...l}=t,u=r?.[e]?.[a]||s,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[a]||s,u=n.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},69252:(e,t,r)=>{"use strict";let n,i;r.d(t,{g:()=>ex});var o,s,a,l,u,c,d,h,f,p=r(12115),g=r(26791),m=r(24129),v=r(59595),y=r(21708),b=r(21396),w=r(38700),k=r(1418),A=Object.create,E=Object.defineProperty,S=Object.defineProperties,O=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,_=e=>{throw TypeError(e)},P=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=["class","method","getter","setter","accessor","field","value","get","set"],L=e=>void 0!==e&&"function"!=typeof e?_("Function expected"):e,R=(e,t,r,n,i)=>({kind:D[e],name:t,metadata:n,addInitializer:e=>r._?_("Already initialized"):i.push(L(e||null))}),T=(e,t,r,n)=>{for(var i=0,o=e[t>>1],s=o&&o.length;i<s;i++)1&t?o[i].call(r):n=o[i].call(r,n);return n},z=(e,t,r,n,i,o)=>{for(var s,a,l,u,c,d=7&t,h=e.length+1,f=D[d+5],p=e[h-1]=[],g=e[h]||
66(e[h]=[]),m=(i=i.prototype,O({get[r](){return N(this,o)},set[r](x){return W(this,o,x)}},r)),v=n.length-1;v>=0;v--)(u=R(d,r,l={},e[3],g)).static=!1,u.private=!1,(c=u.access={has:e=>r in e}).get=e=>e[r],c.set=(e,t)=>e[r]=t,a=(0,n[v])({get:m.get,set:m.set},u),l._=1,void 0===a?L(a)&&(m[f]=a):"object"!=typeof a||null===a?_("Object expected"):(L(s=a.get)&&(m.get=s),L(s=a.set)&&(m.set=s),L(s=a.init)&&p.unshift(s));return m&&E(i,r,m),i},B=(e,t,r)=>t.has(e)||_("Cannot "+r),N=(e,t,r)=>(B(e,t,"read from private field"),t.get(e)),Y=(e,t,r)=>t.has(e)?_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),W=(e,t,r,n)=>(B(e,t,"write to private field"),t.set(e,r),r);function F(e){return e instanceof el||e instanceof ea}var $=class extends w.k_{constructor(e){super(e);const t=(0,g.QZ)(()=>{let{dragOperation:t}=e;if((0,b.kx)(t.activatorEvent)&&F(t.source)&&t.status.initialized){let t=e.registry.plugins.get(y.HO);if(t)return t.disable(),()=>t.enable()}}),r=e.monitor.addEventListener("dragmove",(e,t)=>{queueMicrotask(()=>{if(this.disabled||e.defaultPrevented||!e.nativeEvent)return;let{dragOperation:r}=t;if(!(0,b.kx)(e.nativeEvent)||!F(r.source)||!r.shape)return;let{actions:n,collisionObserver:i,registry:o}=t,{by:s}=e;if(!s)return;let a=function(e){let{x:t,y:r}=e;return t>0?"right":t<0?"left":r>0?"down":r<0?"up":void 0}(s),{source:l,target:u}=r,{center:c}=r.shape.current,d=[],h=[];(0,g.vA)(()=>{for(let e of o.droppables){let{id:t}=e;if(!e.accepts(l)||t===(null==u?void 0:u.id)&&F(e)||!e.element)continue;let r=e.shape,n=new b.yS(e.element,{getBoundingClientRect:e=>(0,b.k$)(e,void 0,.2)});n.height&&n.width&&("down"==a&&c.y+10<n.center.y||"up"==a&&c.y-10>n.center.y||"left"==a&&c.x-10>n.center.x||"right"==a&&c.x+10<n.center.x)&&(d.push(e),e.shape=n,h.push(()=>e.shape=r))}}),e.preventDefault(),i.disable();let f=i.computeCollisions(d,v.y$);(0,g.vA)(()=>h.forEach(e=>e()));let[p]=f;if(!p)return;let{id:m}=p,{index:y,group:w}=l.sortable;n.setDropTarget(m).then(()=>{let{source:e,target:t,shape:o}=r;if(!e||!F(e)||!o)return;let{index:s,group:a,target:l}=e.sortable,u=y!==s||w!==a,c=u?l:null==t?void 0:t.element;if(!c)return;(0,b.$v)(c);let d=new b.yS(c);if(!d)return;let h=k.M_.delta(d,k.M_.from(o.current.boundingRectangle),e.alignment);n.move({by:h}),u?n.setDropTarget(e.id).then(()=>i.enable()):i.enable()})})});this.destroy=()=>{r(),t()}}},H=Object.defineProperty,q=Object.defineProperties,U=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,X=(e,t,r)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,G=(e,t)=>{for(var r in t||(t={}))K.call(t,r)&&X(e,r,t[r]);if(V)for(var r of V(t))Z.call(t,r)&&X(e,r,t[r]);return e};function Q(e,t,r){if(t===r)return e;let n=e.slice();return n.splice(r,0,n.splice(t,1)[0]),n}var J="__default__";function ee(e,t,r,n){r.insertAdjacentElement(n<t?"afterend":"beforebegin",e)}function et(e,t){return e.index-t.index}function er(e){return Array.from(e).sort(et)}var en=[$,class extends w.k_{constructor(e){super(e);const t=()=>{let t=new Map;for(let r of e.registry.droppables)if(r instanceof el){let{sortable:e}=r,{group:n}=e,i=t.get(n);i||(i=new Set,t.set(n,i)),i.add(e)}for(let[e,r]of t)t.set(e,new Set(er(r)));return t},r=[e.monitor.addEventListener("dragover",(e,r)=>{if(this.disabled)return;let{dragOperation:n}=r,{source:i,target:o}=n;if(!F(i)||!F(o)||i.sortable===o.sortable)return;let s=t(),a=i.sortable.group===o.sortable.group,l=s.get(i.sortable.group),u=a?l:s.get(o.sortable.group);l&&u&&queueMicrotask(()=>{e.defaultPrevented||r.renderer.rendering.then(()=>{var n,c,d;let h=t();for(let[e,t]of s.entries())for(let[r,i]of Array.from(t).entries())if(i.index!==r||i.group!==e||!(null==(n=h.get(e))?void 0:n.has(i)))return;let f=i.sortable.element,p=o.sortable.element;if(!p||!f||!a&&o.id===i.sortable.group)return;let m=er(l),v=a?m:er(u),y=null!=(c=i.sortable.group)?c:J,b=null!=(d=o.sortable.group)?d:J,w={[y]:m,[b]:v},k=function(e,t,r){var n,i;let o,s,{source:a,target:l,canceled:u}=t.operation;if(!a||!l||u)return"preventDefault"in t&&t.preventDefault(),e;let c=(e,t)=>
66e===t||"object"==typeof e&&"id"in e&&e.id===t;if(Array.isArray(e)){let t=e.findIndex(e=>c(e,a.id)),n=e.findIndex(e=>c(e,l.id));if(-1===t||-1===n)return e;if(!u&&"index"in a&&"number"==typeof a.index){let n=a.index;if(n!==t)return r(e,t,n)}return r(e,t,n)}let d=Object.entries(e),h=-1,f=-1;for(let[e,t]of d)if(-1===h&&-1!==(h=t.findIndex(e=>c(e,a.id)))&&(o=e),-1===f&&-1!==(f=t.findIndex(e=>c(e,l.id)))&&(s=e),-1!==h&&-1!==f)break;if(!a.manager)return e;let{dragOperation:p}=a.manager,g=null!=(i=null==(n=p.shape)?void 0:n.current.center)?i:p.position.current;if(null==s&&l.id in e){let t=l.shape&&g.y>l.shape.center.y?e[l.id].length:0;s=l.id,f=t}if(null==o||null==s||o===s&&h===f)return"preventDefault"in t&&t.preventDefault(),e;if(o===s)return q(G({},e),U({[o]:r(e[o],h,f)}));let m=+!!(l.shape&&Math.round(g.y)>Math.round(l.shape.center.y)),v=e[o][h];return q(G({},e),U({[o]:[...e[o].slice(0,h),...e[o].slice(h+1)],[s]:[...e[s].slice(0,f+m),v,...e[s].slice(f+m)]}))}(w,e,Q);if(w===k)return;let A=k[b].indexOf(i.sortable),E=k[b].indexOf(o.sortable);r.collisionObserver.disable(),ee(f,A,p,E),(0,g.vA)(()=>{for(let[e,t]of k[y].entries())t.index=e;if(!a)for(let[e,t]of k[b].entries())t.group=o.sortable.group,t.index=e}),r.actions.setDropTarget(i.id).then(()=>r.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(e,r)=>{if(!e.canceled)return;let{dragOperation:n}=r,{source:i}=n;F(i)&&(i.sortable.initialIndex!==i.sortable.index||i.sortable.initialGroup!==i.sortable.group)&&queueMicrotask(()=>{let e=t(),n=e.get(i.sortable.initialGroup);n&&r.renderer.rendering.then(()=>{for(let[t,r]of e.entries())for(let[e,n]of Array.from(r).entries())if(n.index!==e||n.group!==t)return;let t=er(n),r=i.sortable.element,o=t[i.sortable.initialIndex],s=null==o?void 0:o.element;o&&s&&r&&(ee(r,o.index,s,i.index),(0,g.vA)(()=>{for(let[t,r]of e.entries())for(let e of Array.from(r).values())e.index=e.initialIndex,e.group=e.initialGroup}))})})})];this.destroy=()=>{for(let e of r)e()}}}],ei={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1},eo=new m._Z;a=[m.Kh],s=[m.Kh];var es=class{constructor(e,t){Y(this,u,T(l,8,this)),T(l,11,this),Y(this,c),Y(this,d),Y(this,h,T(l,12,this)),T(l,15,this),Y(this,f),this.register=()=>((0,g.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.register(this.droppable),null==(t=this.manager)||t.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{(0,g.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.unregister(this.droppable),null==(t=this.manager)||t.registry.unregister(this.draggable)})},this.destroy=()=>{(0,g.vA)(()=>{this.droppable.destroy(),this.draggable.destroy()})};var{effects:r=()=>[],group:n,index:i,sensors:o,type:s,transition:a=ei,plugins:p=en}=e,m=((e,t)=>{var r={};for(var n in e)M.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&I)for(var n of I(e))0>t.indexOf(n)&&j.call(e,n)&&(r[n]=e[n]);return r})(e,["effects","group","index","sensors","type","transition","plugins"]);this.droppable=new el(m,t,this),this.draggable=new ea(((e,t)=>S(e,C(t)))(((e,t)=>{for(var r in t||(t={}))M.call(t,r)&&P(e,r,t[r]);if(I)for(var r of I(t))j.call(t,r)&&P(e,r,t[r]);return e})({},m),{effects:()=>[()=>{var e,t,r;let n=null==(e=this.manager)?void 0:e.dragOperation.status;(null==n?void 0:n.initializing)&&this.id===(null==(r=null==(t=this.manager)?void 0:t.dragOperation.source)?void 0:r.id)&&eo.clear(this.manager),(null==n?void 0:n.dragging)&&eo.set(this.manager,this.id,(0,g.O8)(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:e,group:t,manager:r}=this,n=N(this,d),i=N(this,c);(e!==n||t!==i)&&(W(this,d,e),W(this,c,t),this.animate())},()=>{let{target:e}=this,{feedback:t,isDragSource:r}=this.draggable;"move"==t&&r&&(this.droppable.disabled=!e)},()=>{let{manager:e}=this;for(let t of p)null==e||e.registry.register(t)},...r()],type:s,sensors:o}),t,this),W(this,f,m.element),this.manager=t,this.index=i,W(this,d,i),this.group=n,W(this,c,n),this.type=s,this.transition=a}get initialIndex(){var e,t;return null!=(t=null==(e=eo.get(this.manager,this.id))?void 0:e.initialIndex)?t:this.index}get initialGroup(){var e,t;return null!=(t=null==(e=eo.get(this.manager,this.id))?void 0:e.initialGroup)?t:this.group}animate(){(0,g.O8)(()=>{let{manager:e,transition:t}=this,{shape:r}=this.droppable;if(!e)return;let{idle:n}=e.dragOperation.status;r&&t&&(!n||t.idle)&&e.renderer.rendering.then(()=>{let{element:n}=this;if(!n)return;let i=this.refreshShape();if(!i)return;let o={x:r.boundingRectangle.left-i.boundingRectangle.left,y:r.boun
66dingRectangle.top-i.boundingRectangle.top},{translate:s}=(0,b.qt)(n),a=(0,b.We)(n,s,!1),l=(0,b.We)(n,s);(o.x||o.y)&&(0,b.A$)({element:n,keyframes:{translate:[`${a.x+o.x}px ${a.y+o.y}px ${a.z}`,`${l.x}px ${l.y}px ${l.z}`]},options:t}).then(()=>{e.dragOperation.status.dragging||(this.droppable.shape=void 0)})})})}get manager(){return this.draggable.manager}set manager(e){(0,g.vA)(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){(0,g.vA)(()=>{let t=N(this,f),r=this.droppable.element,n=this.draggable.element;r&&r!==t||(this.droppable.element=e),n&&n!==t||(this.draggable.element=e),W(this,f,e)})}get element(){var e,t;let r=N(this,f);if(r)return null!=(t=null!=(e=b.hZ.get(r))?e:r)?t:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){return this.draggable.disabled&&this.droppable.disabled}set feedback(e){this.draggable.feedback=e}set disabled(e){(0,g.vA)(()=>{this.droppable.disabled=e,this.draggable.disabled=e})}set data(e){(0,g.vA)(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){(0,g.vA)(()=>{this.droppable.id=e,this.draggable.id=e})}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=null!=e?e:v.V6}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){(0,g.vA)(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};l=[,,,A(null)],u=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,f=new WeakMap,z(l,4,"index",a,es,u),z(l,4,"group",s,es,h),o=l,P(es,(n="metadata",(i=Symbol[n])?i:Symbol.for("Symbol."+n)),o[3]);var ea=class extends y.sx{constructor(e,t,r){super(e,t),this.sortable=r}get index(){return this.sortable.index}},el=class extends y.gL{constructor(e,t,r){super(e,t),this.sortable=r}},eu=r(59047),ec=r(57019),ed=r(16731),eh=Object.defineProperty,ef=Object.defineProperties,ep=Object.getOwnPropertyDescriptors,eg=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,ev=Object.prototype.propertyIsEnumerable,ey=(e,t,r)=>t in e?eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eb=(e,t)=>{for(var r in t||(t={}))em.call(t,r)&&ey(e,r,t[r]);if(eg)for(var r of eg(t))ev.call(t,r)&&ey(e,r,t[r]);return e};function ex(e){let{accept:t,collisionDetector:r,collisionPriority:n,id:i,data:o,element:s,handle:a,index:l,group:u,disabled:c,feedback:d,modifiers:h,sensors:f,target:v,type:y}=e,b=eb(eb({},ei),e.transition),w=(0,eu.Nj)(t=>new es(ef(eb({},e),ep({transition:b,register:!1,handle:(0,ed.b)(a),element:(0,ed.b)(s),target:(0,ed.b)(v),feedback:d})),t)),k=(0,ec.MS)(w,ew);return(0,ec.CH)(i,()=>w.id=i),(0,ec.Es)(()=>{(0,g.vA)(()=>{w.group=u,w.index=l})},[w,u,l]),(0,ec.CH)(y,()=>w.type=y),(0,ec.CH)(t,()=>w.accept=t,void 0,m.bD),(0,ec.CH)(o,()=>o&&(w.data=o)),(0,ec.CH)(l,()=>{var e;(null==(e=w.manager)?void 0:e.dragOperation.status.idle)&&(null==b?void 0:b.idle)&&w.refreshShape()},ec.QL),(0,ec.T_)(a,e=>w.handle=e),(0,ec.T_)(s,e=>w.element=e),(0,ec.T_)(v,e=>w.target=e),(0,ec.CH)(c,()=>w.disabled=!0===c),(0,ec.CH)(f,()=>w.sensors=f),(0,ec.CH)(r,()=>w.collisionDetector=r),(0,ec.CH)(n,()=>w.collisionPriority=n),(0,ec.CH)(d,()=>w.feedback=null!=d?d:"default"),(0,ec.CH)(b,()=>w.transition=b,void 0,m.bD),(0,ec.CH)(h,()=>w.modifiers=h,void 0,m.bD),(0,ec.CH)(e.alignment,()=>w.alignment=e.alignment),{sortable:k,get isDragging(){return k.isDragging},get isDropping(){return k.isDropping},get isDragSource(){return k.isDragSource},get isDropTarget(){return k.isDropTarget},handleRef:(0,p.useCallback)(e=>{w.handle=null!=e?e:void 0},[w]),ref:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.element)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.element=null!=e?e:void 0)},[w]),sourceRef:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.source)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.source=null!=e?e:void 0)}
66,[w]),targetRef:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.target)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.target=null!=e?e:void 0)},[w])}}function ew(e,t,r){return"isDragSource"===e&&!r&&!!t}},69630:(e,t,r)=>{"use strict";r.d(t,{bD:()=>_});var n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty;function s(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function a(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,o=i.get(t),s=i.get(r);if(o&&s)return o===r&&s===t;i.set(t,r),i.set(r,t);var a=e(t,r,n);return i.delete(t),i.delete(r),a}}function l(e){return n(e).concat(i(e))}var u=Object.hasOwn||function(e,t){return o.call(e,t)};function c(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var d=Object.getOwnPropertyDescriptor,h=Object.keys;function f(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function p(e,t){return c(e.getTime(),t.getTime())}function g(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function m(e,t){return e===t}function v(e,t,r){var n,i,o=e.size;if(o!==t.size)return!1;if(!o)return!0;for(var s=Array(o),a=e.entries(),l=0;(n=a.next())&&!n.done;){for(var u=t.entries(),c=!1,d=0;(i=u.next())&&!i.done;){if(s[d]){d++;continue}var h=n.value,f=i.value;if(r.equals(h[0],f[0],l,d,e,t,r)&&r.equals(h[1],f[1],h[0],f[0],e,t,r)){c=s[d]=!0;break}d++}if(!c)return!1;l++}return!0}function y(e,t,r){var n=h(e),i=n.length;if(h(t).length!==i)return!1;for(;i-- >0;)if(!O(e,t,r,n[i]))return!1;return!0}function b(e,t,r){var n,i,o,s=l(e),a=s.length;if(l(t).length!==a)return!1;for(;a-- >0;)if(!O(e,t,r,n=s[a])||(i=d(e,n),o=d(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function w(e,t){return c(e.valueOf(),t.valueOf())}function k(e,t){return e.source===t.source&&e.flags===t.flags}function A(e,t,r){var n,i,o=e.size;if(o!==t.size)return!1;if(!o)return!0;for(var s=Array(o),a=e.values();(n=a.next())&&!n.done;){for(var l=t.values(),u=!1,c=0;(i=l.next())&&!i.done;){if(!s[c]&&r.equals(n.value,i.value,n.value,i.value,e,t,r)){u=s[c]=!0;break}c++}if(!u)return!1}return!0}function E(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function S(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function O(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||u(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var C=Array.isArray,I="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,M=Object.assign,j=Object.prototype.toString.call.bind(Object.prototype.toString),_=P();function P(e){void 0===e&&(e={});var t,r,n,i,o,l,u,d,h,O,_,P,D,L=e.circular,R=e.createInternalComparator,T=e.createState,z=e.strict,B=(r=(t=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?b:f,areDatesEqual:p,areErrorsEqual:g,areFunctionsEqual:m,areMapsEqual:n?s(v,b):v,areNumbersEqual:c,areObjectsEqual:n?b:y,arePrimitiveWrappersEqual:w,areRegExpsEqual:k,areSetsEqual:n?s(A,b):A,areTypedArraysEqual:n?b:E,areUrlsEqual:S};if(r&&(i=M({},i,r(i))),t){var o=a(i.areArraysEqual),l=a(i.areMapsEqual),u=a(i.areObjectsEqual),d=a(i.areSetsEqual);i=M({},i,{areArraysEqual:o,areMapsEqual:l,areObjectsEqual:u,areSetsEqual:d})}return i}(e)).areArraysEqual,n=t.areDatesEqual,i=t.areErrorsEqual,o=t.areFunctionsEqual,l=t.areMapsEqual,u=t.areNumbersEqual,d=t.areObjectsEqual,h=t.arePrimitiveWrappersEqual,O=t.areRegExpsEqual,_=t.areSetsEqual,P=t.areTypedArraysEqual,D=t.areUrlsEqual,function(e,t,s){if(e===t)return!0;if(null==e||null==t)return!1;var a=typeof e;if(a!==typeof t)return!1;if("object"!==a)return"number"===a?u(e,t,s):"function"===a&&o(e,t,s);var c=e.constructor;if(c!==t.constructor)return!1;if(c===Object)return d(e,t,s);if(C(e))return r(e,t,s);if(null!=I&&I(e))return P(e,t,s);if(c===Date)return n(e,t,s);if(c===RegExp)return O(e,t,s);if(c===Map)return l(e,t,s);if(c===Set)return _(e,t,s);var f=j(e);return"[object Date]"===f?n(e,t,s):"[object RegExp]"===f?O(e,t,s):"[object Map]"===f?l(e,t,s
66):"[object Set]"===f?_(e,t,s):"[object Object]"===f?"function"!=typeof e.then&&"function"!=typeof t.then&&d(e,t,s):"[object URL]"===f?D(e,t,s):"[object Error]"===f?i(e,t,s):"[object Arguments]"===f?d(e,t,s):("[object Boolean]"===f||"[object Number]"===f||"[object String]"===f)&&h(e,t,s)}),N=R?R(B):function(e,t,r,n,i,o,s){return B(e,t,s)};return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,o=e.strict;if(n)return function(e,s){var a=n(),l=a.cache;return r(e,s,{cache:void 0===l?t?new WeakMap:void 0:l,equals:i,meta:a.meta,strict:o})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var s={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return r(e,t,s)}}({circular:void 0!==L&&L,comparator:B,createState:T,equals:N,strict:void 0!==z&&z})}P({strict:!0}),P({circular:!0}),P({circular:!0,strict:!0}),P({createInternalComparator:function(){return c}}),P({strict:!0,createInternalComparator:function(){return c}}),P({circular:!0,createInternalComparator:function(){return c}}),P({circular:!0,createInternalComparator:function(){return c},strict:!0})},69885:(e,t,r)=>{"use strict";let n;r.d(t,{n:()=>h});var i=r(12115),o=r(47527),s=r(55897),a=r(17347),l=r(95155),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},h=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:h,onUnmountAutoFocus:v,...y}=e,[b,w]=i.useState(null),k=(0,a.c)(h),A=(0,a.c)(v),E=i.useRef(null),S=(0,o.s)(t,e=>w(e)),O=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(O.paused||!b)return;let t=e.target;b.contains(t)?E.current=t:g(E.current,{select:!0})},t=function(e){if(O.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||g(E.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&g(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,b,O.paused]),i.useEffect(()=>{if(b){m.add(O);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,d);b.addEventListener(u,k),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(g(n,{select:t}),document.activeElement!==r)return}(f(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&g(b))}return()=>{b.removeEventListener(u,k),setTimeout(()=>{let t=new CustomEvent(c,d);b.addEventListener(c,A),b.dispatchEvent(t),t.defaultPrevented||g(e??document.body,{select:!0}),b.removeEventListener(c,A),m.remove(O)},0)}}},[b,k,A,O]);let C=i.useCallback(e=>{if(!r&&!n||O.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var o;let t,n=e.currentTarget,[s,a]=[p(t=f(o=n),o),p(t.reverse(),o)];s&&a?e.shiftKey||i!==a?e.shiftKey&&i===s&&(e.preventDefault(),r&&g(a,{select:!0})):(e.preventDefault(),r&&g(s,{select:!0})):i===n&&e.preventDefault()}},[r,n,O.paused]);return(0,l.jsx)(s.sG.div,{tabIndex:-1,...y,ref:S,onKeyDown:C})});function f(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function p(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function g(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}h.displayName="FocusScope";var m=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=v(n,e)).unshift(e)},remove(e){n=v(n,e),n[0]?.resume()}});function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},70379:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"u">typeof window&&window.document&&window.document.createElement},73464:(e,t,r)=>{"use strict";r.d(t,{Kn:()=>c,kW:()=>u,lu:()=>s,rv:()=>a});var n=r(16563),i=r(61171),o=r(69630);(0,i.hY)();var s=[{width:360,height:"auto",icon:"Smartphone",label:"Small"},{width:768,height:"auto",icon:"Tablet",label:"Medium"},{width:1280,height:"auto",icon:"Monitor",label:"Large"},{width:"100%",height:"auto",icon:"FullWidth",label:"Full-width"}];(0,i.hY)(),(0,i.hY)();var a=(e,t)=>e?Object.keys(e.props||{}).reduce((r,n)=>{let s=(null==e?void 0:e.props)||{},a=(null==t?void 0:t.props)||{};return(0,i.ko)((0,i.IA)({},r),{[n]:!(0,o.bD)(a[n],s[n])})},{}):{},l={},u=(e,t,...r)=>(0,i.BU)(null,[e,t,...r],function*(e,t,r={},s,c,d="replace",h=null){let f="type"in e&&"root"!==e.type?t.components[e.type]:t.root,p=(0,i.IA)({},e),g=(null==f?void 0:f.resolveData)&&e.props,m="id"in e.props?e.props.id:"root";if(g){let{item:t=null,resolved:n={},parentId:u=null}=l[m]||{},c=null!==u&&(null==h?void 0:h.props.id)!==u,g=e&&!(0,o.bD)(e,t);if("move"===d&&!c||"move"!==d&&"force"!==d&&!g)return{node:n,didChange:!1};let v=a(e,t);s&&s(e);let{props:y,readOnly:b={}}=yield f.resolveData(e,{changed:v,lastData:t,metadata:(0,i.IA)((0,i.IA)({},r),f.metadata),trigger:d,parent:h});p.props=(0,i.IA)((0,i.IA)({},e.props),y),Object.keys(b).length&&(p.readOnly=b)}let v=(0,n.Rn)(p),y=yield(0,n.YP)(p,{slot:e=>(0,i.BU)(null,[e],function*({value:e}){return yield Promise.all(e.map(e=>(0,i.BU)(null,null,function*(){return(yield u(e,t,r,s,c,d,v)).node})))})},t);return g&&c&&c(p),l[m]={item:e,resolved:y,parentId:null==h?void 0:h.props.id},{node:y,didChange:!(0,o.bD)(e,y)}});(0,i.hY)();var c={data:{content:[],root:{},zones:{}},ui:{leftSideBarVisible:!0,rightSideBarVisible:!0,arrayState:{},itemSelector:null,componentList:{},isDragging:!1,previewMode:"edit",viewports:{current:{width:s[0].width,height:s[0].height||"auto"},options:[],controlsVisible:!0},field:{focus:null},plugin:{current:null}},indexes:{nodes:{},zones:{}}}},76721:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},78780:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},82114:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},82749:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},83158:(e,t,r)=>{"use strict";r.d(t,{$n:()=>n.$n,Ci:()=>n.Ci,RC:()=>n.RC,U3:()=>n.U3,dh:()=>n.dh,dw:()=>n.dw,o2:()=>i.o2});var n=r(29950);r(85743);var i=r(47225);r(49336),r(28207),r(37422),r(68482),r(86973),r(827),r(93107),r(73464),r(60077),r(16563),(0,r(61171).hY)()},83935:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n=r(12115),i=r(47527),o=r(66294),s=e=>{var t;let r,s,{present:l,children:u}=e,c=function(e){var t,r;let[i,s]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>
66r[e][t]??e,t));return n.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=a(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=a(l.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(h("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=a(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),h=(0,i.s)(c.ref,(t=d,(s=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(s=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:h}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence"},84429:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){let i=(n=n||{}).delimiter||".",o=n.maxDepth,s=n.transformKey||r,a={};return!function e(r,l,u){u=u||1,Object.keys(r).forEach(function(c){let d=r[c],h=n.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),p=t(d),g=l?l+i+s(c):s(c);if(!h&&!p&&("[object Object]"===f||"[object Array]"===f)&&Object.keys(d).length&&(!n.maxDepth||u<o))return e(d,g,u+1);a[g]=d})}(e),a}e.exports=n,n.flatten=n,n.unflatten=function e(i,o){let s=(o=o||{}).delimiter||".",a=o.overwrite||!1,l=o.transformKey||r,u={};if(t(i)||"[object Object]"!==Object.prototype.toString.call(i))return i;function c(e){let t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||o.object?e:t}return Object.keys(i=Object.keys(i).reduce(function(e,t){var r,a;let l,u=Object.prototype.toString.call(i[t]);return("[object Object]"===u||"[object Array]"===u)&&(a=i[t],l=Object.prototype.toString.call(a),a&&("[object Array]"===l?a.length:"[object Object]"===l?Object.keys(a).length:!void 0))?Object.keys(r=n(i[t],o)).reduce(function(e,n){return e[t+s+n]=r[n],e},e):(e[t]=i[t],e)},{})).forEach(function(t){let r=t.split(s).map(l),n=c(r.shift()),d=c(r[0]),h=u;for(;void 0!==d;){if("__proto__"===n)return;let e=Object.prototype.toString.call(h[n]),t="[object Object]"===e||"[object Array]"===e;if(!a&&!t&&void 0!==h[n])return;(!a||t)&&(a||null!=h[n])||(h[n]="number"!=typeof d||o.object?{}:[]),h=h[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}h[n]=e(i[t],o)}),u}},85743:(e,t,r)=>{"use strict";r.d(t,{I:()=>d,e:()=>f});var n=r(49336),i=r(28207),o=r(827),s=r(60077),a=r(61171),l=r(12115),u=r(95155);(0,a.hY)();var c=(0,s.d)("RichTextEditor",n.o),d=(0,l.memo)(({children:e,menu:t,readOnly:r=!1,field:n,inline:i=!1,editor:s,id:a})=>{let{initialHeight:d}=n,h=(0,o.CU)(e=>{var t;return(null==(t=e.currentRichText)?void 0:t.id)===a&&i===e.currentRichText.inline}),f=(0,o.sL)(),p=(0,l.useCallback)(e=>{var t,r;(e.metaKey||e.ctrlKey)&&"i"===e.key.toLowerCase()&&(e.stopPropagation(),e.preventDefault(),null==(r=null==s?void 0:(t=s.commands).toggleItalic)||r.call(t)),"backspace"===e.key.toLowerCase()&&e.stopPropagation()},[s]),g=(0,l.useCallback)(e=>{var t,r;let n=!!(null==(r=null==(t=e.relatedTarget)?void 0:t.closest)?void 0:r.call(t,"[data-puck-rte-menu]"));e.relatedTarget&&!n?f.setState({currentRichText:null}):e.stopPropagation()},[f]);return(0,u.jsxs)("div",{className:c({editor:!i,inline:i,isActive:h,disabled:r}),style:i?{}:{height:null!=d?d:192,overflowY:"auto"},onKeyDownCapture:p,onBlur:g,children:[!i&&(0,u.jsx)("div",{className:c("menu"),children:t}),e]})});d.displayName="EditorInner",(0,a.hY)();var h=(0,l.lazy)(()=>Promise.all([r.e(5004),r.e(277),r.e(9356),r.e(3543),r.e(7348)]).then(r.bind(r,97348)).then(e=>({default:e.LoadedRichTextMenuFull}))),f=e=>(0,u.jsx)(l.Suspense,{fallback:(0,u.jsx)(i.sc,(0,a.IA)({},e)),children:(0,u.jsx)(h,(0,a.IA)({},e))})},86210:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},86973:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(827),i=r(61171),o=r(12115);(0,i.hY)();var s={ul:{label:"Bullet list",icon:n.B8},ol:{label:"Numbered list",icon:n.cM}},a=e=>{let t=[];return(null==e?void 0:e.listItem)!==!1&&(t=["ul","ol"]),(0,o.useMemo)(()=>t.map(e=>({value:e,label:s[e].label,icon:s[e].icon})),[t])}},87628:(e,t,r)=>{var n=r(91207),i=r(38838),o=r(15898),s={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;
66s.getBCHDigit(t)-s.getBCHDigit(s.G15)>=0;)t^=s.G15<<s.getBCHDigit(t)-s.getBCHDigit(s.G15);return(e<<10|t)^s.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;s.getBCHDigit(t)-s.getBCHDigit(s.G18)>=0;)t^=s.G18<<s.getBCHDigit(t)-s.getBCHDigit(s.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return s.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case 0:return(t+r)%2==0;case 1:return t%2==0;case 2:return r%3==0;case 3:return(t+r)%3==0;case 4:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case 5:return t*r%2+t*r%3==0;case 6:return(t*r%2+t*r%3)%2==0;case 7:return(t*r%3+(t+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new i([1],0),r=0;r<e;r++)t=t.multiply(new i([1,o.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw Error("mode:"+e)}if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw Error("mode:"+e)}if(t<41)switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw Error("mode:"+e)}throw Error("type:"+t)},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var i=0;i<t;i++){for(var o=0,s=e.isDark(n,i),a=-1;a<=1;a++)if(!(n+a<0)&&!(t<=n+a))for(var l=-1;l<=1;l++)!(i+l<0)&&!(t<=i+l)&&(0!=a||0!=l)&&s==e.isDark(n+a,i+l)&&o++;o>5&&(r+=3+o-5)}for(var n=0;n<t-1;n++)for(var i=0;i<t-1;i++){var u=0;e.isDark(n,i)&&u++,e.isDark(n+1,i)&&u++,e.isDark(n,i+1)&&u++,e.isDark(n+1,i+1)&&u++,(0==u||4==u)&&(r+=3)}for(var n=0;n<t;n++)for(var i=0;i<t-6;i++)e.isDark(n,i)&&!e.isDark(n,i+1)&&e.isDark(n,i+2)&&e.isDark(n,i+3)&&e.isDark(n,i+4)&&!e.isDark(n,i+5)&&e.isDark(n,i+6)&&(r+=40);for(var i=0;i<t;i++)for(var n=0;n<t-6;n++)e.isDark(n,i)&&!e.isDark(n+1,i)&&e.isDark(n+2,i)&&e.isDark(n+3,i)&&e.isDark(n+4,i)&&!e.isDark(n+5,i)&&e.isDark(n+6,i)&&(r+=40);for(var c=0,i=0;i<t;i++)for(var n=0;n<t;n++)e.isDark(n,i)&&c++;return r+10*(Math.abs(100*c/t/t-50)/5)}};e.exports=s},89549:(e,t,r)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=c(r(14051)),o=c(r(96282)),s=c(r(61586)),a=r(12115),l=c(a),u=c(r(35410));function c(e){return e&&e.__esModule?e:{default:e}}var d={bgColor:i.default.oneOfType([i.default.object,i.default.string]),fgColor:i.default.oneOfType([i.default.object,i.default.string]),level:i.default.string,size:i.default.number,value:i.default.string.isRequired},h=(0,a.forwardRef)(function(e,t){var r=e.bgColor,i=e.fgColor,a=e.level,c=e.size,d=e.value,h=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["bgColor","fgColor","level","size","value"]),f=new s.default(-1,o.default[void 0===a?"L":a]),p=Array.from(new TextEncoder().encode(d)).map(function(e){return String.fromCharCode(255&e)}).join("");f.addData(p,"Byte"),f.make();var g=f.modules;return l.default.createElement(u.default,n({},h,{bgColor:void 0===r?"#FFFFFF":r,bgD:g.map(function(e,t){return e.map(function(e,r){return e?"":"M "+r+" "+t+" l 1 0 0 1 -1 0 Z"}).join(" ")}).join(" "),fgColor:void 0===i?"#000000":i,fgD:g.map(function(e,t){return e.map(function(e,r){return e?"M "+r+" "+t+" l 1 0 0 1 -1 0 Z":""}).join(" ")}).join(" "),ref:t,size:void 0===c?256:c,viewBoxSize:g.length}))});h.displayName="QRCode",h.propTypes=d,t.Ay=h},89971:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n,i=r(12115),o=r(66294),s=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function l(e){let[t,r]=i.useState(s());return(0,o.N)(()=>{e||r(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},91207:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},92571:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(99537).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},93107:(e,t,r)=>{"use strict";r.d(t,{Gq:()=>u,Qk:()=>l,Vg:()=>f,Yr:()=>o,fq:()=>a,vy:()=>p});var n=r(16563),i=r(61171);(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var o=(e,t,r)=>{let n=Array.from(e||[]);return n.splice(t,0,r),n};(0,i.hY)();var s=(e,t)=>{let[r]=e.split(":"),n=t.indexes.nodes[r];return((null==n?void 0:n.path)||[]).map(e=>e.split(":")[0])};(0,i.hY)();var a=(e,t,r=!1)=>{let o=(0,n.$C)(e.type);return(0,n.Ir)((0,i.ko)((0,i.IA)({},e),{props:r?(0,i.ko)((0,i.IA)({},e.props),{id:o}):(0,i.IA)({},e.props)}),t,e=>e.map(e=>{let t=(0,n.$C)(e.type);return(0,i.ko)((0,i.IA)({},e),{props:r?(0,i.ko)((0,i.IA)({},e.props),{id:t}):(0,i.IA)({id:t},e.props)})}))};function l(e,t,r){let l=t.id||(0,n.$C)(t.componentType),u=a({type:t.componentType,props:(0,i.ko)((0,i.IA)({},r.config.components[t.componentType].defaultProps||{}),{id:l})},r.config),[c]=t.destinationZone.split(":"),d=s(t.destinationZone,e);return(0,n.CS)(e,r.config,(e,r)=>r===t.destinationZone?o(e||[],t.destinationIndex,u):e,(e,r)=>e.props.id===l||e.props.id===c||d.includes(e.props.id)||r.includes(t.destinationZone)?e:null)}function u(e,t){var r,i;let o=null==(r=t.indexes.zones)?void 0:r[e.zone||n.Ln];return o?null==(i=t.indexes.nodes[o.contentIds[e.index]])?void 0:i.data:void 0}(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var c=(e,t)=>{let r=Array.from(e);return r.splice(t,1),r},d=(e,t,r)=>{if(t.sourceZone===t.destinationZone&&t.sourceIndex===t.destinationIndex)return e;let i=u({zone:t.sourceZone,index:t.sourceIndex},e);
66if(!i)return e;let a=s(t.sourceZone,e),l=s(t.destinationZone,e);return(0,n.CS)(e,r.config,(e,r)=>r===t.sourceZone&&r===t.destinationZone?o(c(e,t.sourceIndex),t.destinationIndex,i):r===t.sourceZone?c(e,t.sourceIndex):r===t.destinationZone?o(e,t.destinationIndex,i):e,(e,r)=>{let[n]=t.sourceZone.split(":"),[o]=t.destinationZone.split(":"),s=e.props.id;return n===s||o===s||i.props.id===s||a.indexOf(s)>-1||l.indexOf(s)>-1||r.includes(t.destinationZone)?e:null})};(0,i.hY)(),(0,i.hY)();var h={};(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var f=e=>{let{data:t,ui:r}=e;return{data:t,ui:r}};function p({record:e,onAction:t,appStore:r}){var a;return a=(e,t)=>{if("set"===t.type){if("object"==typeof t.state){let o=(0,i.IA)((0,i.IA)({},e),t.state);return t.state.indexes?o:(console.warn("`set` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),(0,n.CS)(o,r.config))}return(0,i.IA)((0,i.IA)({},e),t.state(e))}if("insert"===t.type)return l(e,t,r);if("replace"===t.type)return((e,t,r)=>{let[o]=t.destinationZone.split(":"),a=s(t.destinationZone,e),l=e.indexes.zones[t.destinationZone].contentIds[t.destinationIndex];if(l!==t.data.props.id)throw Error('Can\'t change the id during a replace action. Please us "remove" and "insert" to define a new node.');let u=[],c=(0,n.Ir)(t.data,r.config,(e,t)=>(u.push(`${t.parentId}:${t.propName}`),e.map(e=>{let t=(0,n.$C)(e.type);return(0,i.ko)((0,i.IA)({},e),{props:(0,i.IA)({id:t},e.props)})}))),d=(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui)});return Object.keys(e.indexes.zones).forEach(e=>{e.split(":")[0]!==l||u.includes(e)||delete d.indexes.zones[e]}),(0,n.CS)(d,r.config,(e,r)=>{let n=[...e];return r===t.destinationZone&&(n[t.destinationIndex]=c),n},(e,t)=>{let r=t.map(e=>e.split(":")[0]);return e.props.id===c.props.id?c:e.props.id===o?e:a.indexOf(e.props.id)>-1?e:r.indexOf(c.props.id)>-1?e:null})})(e,t,r);if("replaceRoot"===t.type)return(0,n.CS)(e,r.config,e=>e,e=>"root"===e.props.id?(0,i.ko)((0,i.IA)({},e),{props:(0,i.IA)((0,i.IA)({},e.props),t.root.props),readOnly:t.root.readOnly}):e);if("duplicate"===t.type){let a,l,c,d;return a=u({index:t.sourceIndex,zone:t.sourceZone},e),l=s(t.sourceZone,e),c=(0,i.ko)((0,i.IA)({},a),{props:(0,i.ko)((0,i.IA)({},a.props),{id:(0,n.$C)(a.type)})}),d=(0,n.CS)(e,r.config,(e,r)=>r===t.sourceZone?o(e,t.sourceIndex+1,a):e,(e,r,o)=>{let s=r[r.length-1];if(r.map(e=>e.split(":")[0]).indexOf(c.props.id)>-1)return(0,i.ko)((0,i.IA)({},e),{props:(0,i.ko)((0,i.IA)({},e.props),{id:(0,n.$C)(e.type)})});if(s===t.sourceZone&&o===t.sourceIndex+1)return c;let[a]=t.sourceZone.split(":");return a===e.props.id||l.indexOf(e.props.id)>-1?e:null}),(0,i.ko)((0,i.IA)({},d),{ui:(0,i.ko)((0,i.IA)({},d.ui),{itemSelector:{index:t.sourceIndex+1,zone:t.sourceZone}})})}if("reorder"===t.type)return d(e,{type:"move",sourceIndex:t.sourceIndex,sourceZone:t.destinationZone,destinationIndex:t.destinationIndex,destinationZone:t.destinationZone},r);if("move"===t.type)return d(e,t,r);if("remove"===t.type){let i,o,s;return i=u({index:t.index,zone:t.zone},e),o=Object.entries(e.indexes.nodes).reduce((e,[t,r])=>r.path.map(e=>e.split(":")[0]).includes(i.props.id)?[...e,t]:e,[i.props.id]),Object.keys((s=(0,n.CS)(e,r.config,(e,r)=>r===t.zone?c(e,t.index):e)).data.zones||{}).forEach(e=>{let t=e.split(":")[0];o.includes(t)&&s.data.zones&&delete s.data.zones[e]}),Object.keys(s.indexes.zones).forEach(e=>{let t=e.split(":")[0];o.includes(t)&&delete s.indexes.zones[e]}),o.forEach(e=>{delete s.indexes.nodes[e]}),s}if("registerZone"===t.type)return h[t.zone]?(0,i.ko)((0,i.IA)({},e),{data:(0,i.ko)((0,i.IA)({},e.data),{zones:(0,i.ko)((0,i.IA)({},e.data.zones),{[t.zone]:h[t.zone]})}),indexes:(0,i.ko)((0,i.IA)({},e.indexes),{zones:(0,i.ko)((0,i.IA)({},e.indexes.zones),{[t.zone]:(0,i.ko)((0,i.IA)({},e.indexes.zones[t.zone]),{contentIds:h[t.zone].map(e=>e.props.id),type:"dropzone"})})})}):(0,i.ko)((0,i.IA)({},e),{data:(0,n.W8)(e.data,t.zone)});if("unregisterZone"===t.type){let r,n;return r=(0,i.IA)({},e.data.zones||{}),n=(0,i.IA)({},e.indexes.zones||{}),r[t.zone]&&(h[t.zone]=r[t.zone],delete r[t.zone]),delete n[t.zone],(0,i.ko)((0,i.IA)({},e),{data:(0,i.ko)((0,i.IA)({},e.data),{zones:r}),indexes:(0,i.ko)((0,i.IA)({},e.indexes),{zones:n})})}return"setData"===t.type?"object"==typeof t.data?(console.warn("`setData` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),(0,n.CS)((0,i.ko)((0,i.IA)({},e),{data:(0,i.IA)((0,i.IA)({},e.data),t.data)}),r.config)):(0,n.CS)((0,i.ko)((0,i.IA)({},e),{data:(0,i.IA)((0,i.IA)({},e.data),t.data(e.data))}),r.config):"setUi"===t.type?"object"==typeof t.ui?(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui)}):(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui(e.ui))}):e},(r,n)=>{let i=a(r,n),o=!["registerZone","unregisterZone","setData","setUi","set"].includes(n.t
66ype);return(void 0!==n.recordHistory?n.recordHistory:o)&&e&&e(i),null==t||t(n,f(i),f(r)),i}}(0,i.hY)()},96282:e=>{e.exports={L:1,M:0,Q:3,H:2}},98454:(e,t,r)=>{"use strict";r.d(t,{qW:()=>h});var n,i=r(12115),o=r(70379),s=r(55897),a=r(47527),l=r(17347),u=r(95155),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:m,onInteractOutside:v,onDismiss:y,...b}=e,w=i.useContext(d),[k,A]=i.useState(null),E=k?.ownerDocument??globalThis?.document,[,S]=i.useState({}),O=(0,a.s)(t,e=>A(e)),C=Array.from(w.layers),[I]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),M=C.indexOf(I),j=k?C.indexOf(k):-1,_=w.layersWithOutsidePointerEventsDisabled.size>0,P=j>=M,D=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){p("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));P&&!r&&(g?.(e),v?.(e),e.defaultPrevented||y?.())},E),L=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(m?.(e),v?.(e),e.defaultPrevented||y?.())},E);return!function(e,t=globalThis?.document){let r=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{j===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},E),i.useEffect(()=>{if(k)return r&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(n=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(k)),w.layers.add(k),f(),()=>{r&&1===w.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=n)}},[k,E,r,w]),i.useEffect(()=>()=>{k&&(w.layers.delete(k),w.layersWithOutsidePointerEventsDisabled.delete(k),f())},[k,w]),i.useEffect(()=>{let e=()=>S({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(s.sG.div,{...b,ref:O,style:{pointerEvents:_?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,s.hO)(i,o):i.dispatchEvent(o)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(d),n=i.useRef(null),o=(0,a.s)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(s.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},98979:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n,i=r(12115),o=r(66294),s=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,l,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),a=i.useRef(t);return s(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[d,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else l(t)},[c,e,l,u])]}Symbol("RADIX:SYNC_STATE")},99537:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(12115);let i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.createContext)({}),l=(0,n.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:o,className:l="",children:u,iconNode:c,...d},h)=>
66{let{size:f=24,strokeWidth:p=2,absoluteStrokeWidth:g=!1,color:m="currentColor",className:v=""}=(0,n.useContext)(a)??{},y=o??g?24*Number(r??p)/Number(t??f):r??p;return(0,n.createElement)("svg",{ref:h,...s,width:t??f??s.width,height:t??f??s.height,stroke:e??m,strokeWidth:y,className:i("lucide",v,l),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(u)?u:[u]])}),u=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...s},a)=>(0,n.createElement)(l,{ref:a,iconNode:t,className:i(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=o(e),r}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.